• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mavericks Printer Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Mavericks Printer Selection
      • From: Bruce Robertson <email@hidden>
References: 
 >Mavericks Printer Selection (From: Bruce Robertson <email@hidden>)
 >Re: Mavericks Printer Selection (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Mavericks Printer Selection
  • Next by Date: Re: Mavericks Printer Selection
  • Previous by thread: Re: Mavericks Printer Selection
  • Next by thread: Re: Mavericks Printer Selection
  • Index(es):
    • Date
    • Thread