

- #PASHUA MAC TUTORIAL UPDATE#
- #PASHUA MAC TUTORIAL MANUAL#
- #PASHUA MAC TUTORIAL ANDROID#
- #PASHUA MAC TUTORIAL PRO#
Then click the X that appears on the left upper corner of Pashua 0.10.1 to perform the uninstall. Click and hold Pashua 0.10.1 icon with your mouse button until it starts to wiggle. A beginner' s guide to javascript JXA scriptingįrom the Script Editor.app you can also convert your script (applescript or javascript) into a native MacOS application by selecting File > Export > File format: Application so you'll be able to run the script as a regular mac app. Open up Launchpad, and type Pashua 0.10.1 in the search box on the top.Tutorials and example of using Javascript JXA

Using Javascript instead of AppleScriptĪs of Yosemite instead of AppleScript you can also use Javascript (JXA). To see the built-in API documentation for AppleScript/Javascript(JSX) start Script Editor.app, pick File > Open Dictionary and then select StandardAdditions.osax in the dropdown.
#PASHUA MAC TUTORIAL ANDROID#
As an extra check it also tests if the record doesn’t exist as this is most likely a brand new device and should be able to straight into a DEP build.Not a drop-in replacement and not directly compatible with bash/zenity, but if you are ok with a non-portable native Mac OOTB solution with no extra dependencies then consider AppleScript (or, as of Yosemite, Javascript JXA).īelow is a typical scenario of an AppleScript that builds a dialog from the output of a shell command ( emulator -list-avds which lists android emulator images), and then executes another command based on the selected item ( emulator -avd which launches the selected emulator image): set avds to paragraphs of (do shell script "~/Library/Android/sdk/emulator/emulator -list-avds")

To get this info into the script it has a generic pashua/cocoadialog login to jamf for the support person that then curls down the computer record. This means that if this has a value it falls into category 4. We have populated all the devices that have been DEP registered with the vendor ID.
#PASHUA MAC TUTORIAL MANUAL#
I work in a jamf house and unfortunately there are currently no api calls to check the DEP status of a device or add it to a pre-stage so as much as this is automated there is still a manual popup choice to allow the initial selection of a pre-stage to cover category 4.
#PASHUA MAC TUTORIAL PRO#
#PASHUA MAC TUTORIAL UPDATE#
