Launch vs. Open
Launch vs. Open
- Subject: Launch vs. Open
- From: Craig Sutherland <email@hidden>
- Date: Thu, 15 Mar 2001 07:05:03 -0600
->snip<-
Is there any way (via applescript) to detected the launch of a file? I want
>
>> an applescript to do something only if a certain file type is launched.
>
>
>
>Hi Phil,
>
>
>
>In the future, it would help avoid confusion if you would use the correct
>
>terminology. You don't "launch" files, you "open" them. Also, you should
>
>refer to applications as "applications" or "application files", not "files".
>
>
"Launching" is NOT an uncommon term for starting an application--but
>
I agree it is unclear if Phil want's to monitor an application or a
>
specific file type. (I suspect the latter).
>
--
->snip<-
Dale-
Does not
Tell app "Finder"
Open Application File "Foo"
end tell
bring the application process "foo" frontmost with a new blank document as well as open it, while
Tell app "Finder"
Launch Application "Foo"
end tell
opens "Foo" but leaves the application process in the background?
Craig