Thanks Terry, and thanks Bernd!
Bernd, that one works pretty slick! If I use the word Applications and
also do one for Utilities it would cover the majority of apps. Might
be a winner for my intended use.
Nice.
sims
On Mar 31, 2009, at 1:20 PM, BNig wrote:
not very nice but works for mail.
tell application "Finder"
set x to path to applications folder
set y to every application file in x whose name contains "mail"
if number of items of y = 1 then
-- just variations of the format
set z to y as alias
set z1 to z as text
set z2 to POSIX path of z
else
-- tell me to scratch my head
end if
end tell
if you want to do it for apps that are in subfolders of the
application
folder like iWork etc. you have to adapt it further. If you dont
know where
to look for an app this script is out of luck.
regards
Bernd
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