Re: GraphicConverter 'open file'
Re: GraphicConverter 'open file'
- Subject: Re: GraphicConverter 'open file'
- From: Shane Stanley <email@hidden>
- Date: Fri, 09 Aug 2013 09:07:59 +1000
On 09/08/2013, at 8:19 AM, Gil Dawson <email@hidden> wrote:
> Evidently, GraphicConverter interprets "open" differently from "open file".
>
> I didn't see this in GraphicConverter's dictionary.
What you're seeing is really nothing to do with GraphicConverter.
When you ask the Finder for "every file of...", it returns a list of Finder references to the files. When you pass those references to GraphicConverter, it doesn't know what to do with them -- only the Finder does -- so they are opened by the Finder, in the equivalent of double-clicking on them.
When you add "as text", the Finder coerces them to text, and GraphicConverter does the rest.
Your best option is to use "set theFiles to ... as alias list". Any app should know what to do with aliases.
--
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