Re: Mavericks Printer Selection
Re: Mavericks Printer Selection
- Subject: Re: Mavericks Printer Selection
- From: Shane Stanley <email@hidden>
- Date: Wed, 27 Aug 2014 14:59:28 +1000
On 27 Aug 2014, at 2:53 pm, Bruce Robertson <email@hidden> wrote:
> But then - not having fiddled much with ASObjC - how should I attempt to run it.
You need to save it as a script library:
* Make a folder in ~/Library called Script Libraries if there isn't one already.
* Save the script into the new folder as a Script Bundle.
* After saving, click the Bundle Contents button on the toolbar.
* In the drawer that appears, check the 'AppleScriptObjective-C Library' checkbox.
* Save, then close.
To call it from your script:
tell script "<the name of your script file>"
set theResult to testIt()
end tell
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden