- Mar 16, 2010
I am making a program in applescript that opens a file. I know how to just open it:
but I want to open it with a specific program. IE:
but the above example doesn't work. PLEASE HELP!!!
set filepath to POSIX path of "Users:student:Desktop:Picture 3.png" try set command to "open " & quoted form of filepath do shell script command end try
tell application "system events" open "Users:admin:Desktop:orderform.pdf" using application "Some PDF Reader" end tell