Language-independent way to find Applications
Language-independent way to find Applications
- Subject: Language-independent way to find Applications
- From: Thomas Summerall <email@hidden>
- Date: Mon, 17 Mar 2008 11:40:08 -0400
I have a script that needs to find an application (Photoshop) by looking in all the user's application folders.
I'm assuming:
1. There can be two relevant applications folders on any volume (volume/applications and user/applications)
2. Those two folders can exist on multiple mounted volumes
3. These folders are not called "Applications" on non-English systems
If those are true, is there a way to tell the Finder to direct me to the various applications folders that will cover all these contingencies?
It would be most convenient to be a able to say "applications folder of curDisk" but that won't compile.
I can do this on the system disk as follows:
set sysApps to applications folder from system domain
set userApps to applications folder from user domain
But I can't figure out how to do this on other volumes.
Thanks,
Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden