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

GraphicConverter 'open file'


  • Subject: GraphicConverter 'open file'
  • From: Gil Dawson <email@hidden>
  • Date: Thu, 08 Aug 2013 15:19:14 -0700

A folder contains a few .jpg files.  The default "open with" parameter for each file is "Preview".

With GraphicConverter (V 8.7.1) already launched (to sidestep a timing issue), the following script:

tell application "Finder" to ¬

set theFiles to every file ¬

of folder (POSIX file "/Users/gil/Desktop/Picture Comparison/" as text)


repeat with aFile in theFiles

tell application "GraphicConverter (1154)" to open aFile

end repeat


Opens all the files in Preview, not GraphicConverter.  It also makes Preview frontmost.

However, changing one line as follows:

tell application "GraphicConverter (1154)" to open file (aFile as text)

Opens the files in GraphicConverter and does not make GraphicConverter frontmost.

Evidently, GraphicConverter interprets "open" differently from "open file".  

I didn't see this in GraphicConverter's dictionary.

--Gil
 _______________________________________________
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: Shane Stanley <email@hidden>
  • Prev by Date: Re: Delete Mail Script
  • Next by Date: Re: GraphicConverter 'open file'
  • Previous by thread: Re: Disk drive exerciser?
  • Next by thread: Re: GraphicConverter 'open file'
  • Index(es):
    • Date
    • Thread