Re: Opening documents in App via Finder?
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