Hi Sims,
If you know the creator type of the application, you can use the
AppleScript syntax:
set thePath to application file id "RSED" as text
An example, which I used in the days of HyperCard, can be found at <http://runrev.info/ResEdits%20location%20AS.htm
>.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum
Snapper Screen Recorder is now available for Windows! Download it at <http://snapper.economy-x-talk.com
>.
On 31 mrt 2009, at 10:49, Jim Sims wrote:
On OS X the applescript:
tell application "System Events" to (get path to application "Mail")
will get the path to an application (in this case "Mail.app").
However, it seems to need to open that app before it can get the path.
Is there an applescript or shell script that will tell me the path
to an application without opening it first?
I do understand that on can use answer file - but I'd like an
alternative.
sims
[email protected]
Skype: sims.jim
iChat: techietours
______________________
Opportunity by Design
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution