• 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: Opening documents in App via Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening documents in App via Finder?


  • Subject: Re: Opening documents in App via Finder?
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 23 Aug 2007 20:30:56 +0200


Le 23 août 07 à 19:33, Shay Telfer a écrit :

Hi...

When I do:

tell application "Finder" to open file "Macintosh HD:Users:blah:Scans:2007_08_22_00_20_27.pdf" using file "Macintosh HD:Applications:Readiris Pro 11.5"

I get:

Finder got an error: Can't get file "Macintosh HD:Users:blah:Scans: 2007_08_22_00_20_27.pdf"

Any ideas? Yes, the file exists at that location (telling the Finder to just open it works, but not if I specify the application)

Telling Readiris to open the file results in an open Readiris, but it does not open the file. Dragging the file onto Readiris on the Dock works, but I'm unsure how to emulate that from AppleScript :(

Any suggestions appreciated.

I assumes that


tell application "Readiris Pro 11.5" activate open file "Macintosh HD:Users:blah:Scans:2007_08_22_00_20_27.pdf" end tell

may do the trick

Yvan KOENIG _______________________________________________
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: 
 >Opening documents in App via Finder? (From: Shay Telfer <email@hidden>)

  • Prev by Date: Opening documents in App via Finder?
  • Next by Date: Re: author and filetype
  • Previous by thread: Opening documents in App via Finder?
  • Next by thread: Re: Opening documents in App via Finder?
  • Index(es):
    • Date
    • Thread