Set theResult to showDialog(dialogConfiguration, customLocation) Set dialogConfiguration to my getDialogConfiguration(pashuaLocation) Set pashuaLocation to getPashuaPath(customLocation) Set thePath to alias (thisFolder & "Pashua.scpt") Search for Pashua in the standard locations Looks like the Pashua disk image is mounted. Set thisFolder to (container of (path to me)) as string Get the path to the folder containing this script Or use the "load script" approach used in this file. ![]() You can either take the handlers out of Pashua.scpt and use them inline whenever you writeĪ script which uses Pashua, use Pashua.scpt as an AppleScript Library (OS X 10.9 or newer) ![]() Pashua.scpt handles the communcation with Pashua.app. This example loads script "Pashua.scpt" (to be compiled from "Pashua.applescript") from the Note: This script is modified from the original example by the user. One option is to use Carsten Blüm's Pashua with AppleScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |