UI & UX for the scripter

Standard
Screenshot 2016-02-08 13.43.08

This post is for my macad.uk talk: UI & UX for the scripter. It contains various links to things I discussed & (when available), I will update with the sessions video.

OSX Human Interface Guidelines

OSX Human Interface Guidelines, there’s a lot of good stuff in there. But the sections discussed are as in the following:

osascript

Screenshot 2016-02-07 08.49.03
Screenshot 2016-02-07 08.49.35

osascript, this is also available within it’s man page.

AppleScript UI elements

Below is each of the AppleScript UI elements shown, with links to their documentation. These are mostly from this reference.

Display Dialog

Screenshot 2016-02-07 08.15.44
Screenshot 2016-02-06 22.41.04

Documentation available here.

Display Alert

Screenshot 2016-02-07 15.40.08
Screenshot 2016-02-08 12.20.44

Documentation available here.

Answer & Hidden Answer

Screenshot 2016-02-06 23.22.30
Screenshot 2016-02-06 23.22.55

These are both using display dialog, with documentation available here.

Choose From List

Screenshot 2016-02-06 23.49.05

Documentation available here.

Choose URL

Screenshot 2016-02-07 15.22.04

Documentation available here.

Choose Folder

Screenshot 2016-02-07 00.03.50

Documentation available here.

Choose File

Screenshot 2016-02-07 00.06.05

Documentation available here.

Display Notification

Screenshot 2016-02-08 12.30.25

Documentation available here.

Progress Reporting

Documentation available here.

Other Links

yo

https://github.com/sheagcraig/yo A swift app for notifications.

CocoaDialog

https://github.com/cocoadialog/cocoadialog Link to the main project. If but advised to use that for documentation & the below for running on 10.9+

Loceee’s fork of CocaDialog

https://github.com/loceee/cocoadialog

Pashua

 https://www.bluem.net/en/mac/pashua/ GUI app for creating custom UI

JAMFHelper

If you’re a JAMF customer, then JAMFHelper can also be employed. Below command is how to get the documentation for JAMFHelper.

/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper -help

Examples

Below are some examples I showed with links to those that exist here currently, with the rest coming:

Video

2 thoughts on “UI & UX for the scripter

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.