Re: Opening documents in App via Finder?
Re: Opening documents in App via Finder?
- Subject: Re: Opening documents in App via Finder?
- From: Joe <email@hidden>
- Date: Fri, 24 Aug 2007 10:37:29 -0700
Hello Shay,
On my machine, ReadIris installed into a folder named "Readiris Pro
11.5"
The Application itself is named "Readiris" or "Readiris.app" in a
"Get Info" box.
It appears that you are trying to call the folder of the app rather
than the app itself.
On this machine the path to the application is: "Macintosh
HD:Applications:Readiris Pro 11.5:Readiris.app"
I tested this script and it works here.
tell application "Finder"
set x to get every file of folder ((path to desktop folder as
string) & "Scans Folder:")
end tell
tell application "Readiris"
repeat with y in x
open (y as alias)
end repeat
end tell
Joe
On Aug 23, 2007, at 10:33 AM, Shay Telfer wrote:
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.
_______________________________________________
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