• 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: GraphicConverter 'open file'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: GraphicConverter 'open file'
      • From: Gil Dawson <email@hidden>
References: 
 >GraphicConverter 'open file' (From: Gil Dawson <email@hidden>)

  • Prev by Date: GraphicConverter 'open file'
  • Next by Date: Re: GraphicConverter 'open file'
  • Previous by thread: GraphicConverter 'open file'
  • Next by thread: Re: GraphicConverter 'open file'
  • Index(es):
    • Date
    • Thread