• 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: openPanel using Automator Runner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openPanel using Automator Runner


  • Subject: Re: openPanel using Automator Runner
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 19 Jun 2013 09:20:28 +1000

Jim,

That isn't really AppleScript Obj-C stuff, but rather using AppleScript Studio-style commands in Automator Runner. Automator Runner no longer supports that, so if you upgrade systems you're likely to be caught out (although it might keep working, and just be uneditable). Just so you know...

Anyway, I the problem line might be this:

call method "setDirectoryURL:" of openPanel with parameters {"/Users/jim/Documents/eBooks/"}

You're passing a path where a URL is required. I know this used to mostly work with a path, but it's also incorrect.

-- 
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <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

References: 
 >openPanel using Automator Runner (From: Jim Skibbie <email@hidden>)

  • Prev by Date: openPanel using Automator Runner
  • Next by Date: Re: openPanel using Automator Runner
  • Previous by thread: openPanel using Automator Runner
  • Next by thread: Re: openPanel using Automator Runner
  • Index(es):
    • Date
    • Thread