Hi,
I'm trying to use a menu built in Adobe Flash to open a powerpoint file by calling an executable which I'm trying to write in applescript.
I've no idea how to do it, and I can't find any tutorials because it's probably such a simple command. When I have tried it with the following line of code:
tell application "Finder"
activate
select file "flyer2.ppt"
open selection
end tell
it brings up a message saying "Finder cannot get file". I've tried being more specific as to the location of the file, but it's pretty much stabbing in the dark.
If you could tell me how to write this simple function which allows an executable file to open another file in its native software then I'd be most grateful.
Thanks,
Ewar
I'm trying to use a menu built in Adobe Flash to open a powerpoint file by calling an executable which I'm trying to write in applescript.
I've no idea how to do it, and I can't find any tutorials because it's probably such a simple command. When I have tried it with the following line of code:
tell application "Finder"
activate
select file "flyer2.ppt"
open selection
end tell
it brings up a message saying "Finder cannot get file". I've tried being more specific as to the location of the file, but it's pretty much stabbing in the dark.
If you could tell me how to write this simple function which allows an executable file to open another file in its native software then I'd be most grateful.
Thanks,
Ewar