Re: Mavericks Printer Selection
Re: Mavericks Printer Selection
- Subject: Re: Mavericks Printer Selection
- From: Bruce Robertson <email@hidden>
- Date: Tue, 26 Aug 2014 23:15:34 -0700
On Aug 26, 2014, at 9:59 PM, Shane Stanley <email@hidden> wrote:
> 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
>
Thanks.
Close.
This give me Name; and Kind.
{"Dymo LabelWriter 330", "Dymo Label Printer"}
But what I am looking for is Device Name, which in my case is:
Dymo_LabelWriter_330___miniserver
Bruce
_______________________________________________
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