Re: Container of running background app
Re: Container of running background app
- Subject: Re: Container of running background app
- From: Mr Tea <email@hidden>
- Date: Thu, 13 Sep 2001 13:37:38 +0100
This from Joseph A. Weaks - dated 13/9/01 9.29 am:
>
How might I get the path to the folder that contains a running app as
>
string?
The magic words are 'application file'. This will identify the app
responsible for the process.
tell application "Finder"
set folderPath to container of application file of process"CoolApp" as
string --no wrap
end tell
Mr Tea
--
Brew of the day: Lapsang Souchong
Visit the Tea Room at:
http://homepage.mac.com/mrtea/tearoom.html