Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

path to application

 
   Macintosh computer (Home) -> Apple Scripts RSS
Next:  string editing in applescript  
Author Message
Ronald Florence

External


Since: Feb 06, 2004
Posts: 86



(Msg. 1) Posted: Wed Nov 26, 2003 5:46 pm
Post subject: path to application
Archived from groups: alt>comp>lang>applescript (more info?)

Is there a simple technique in applescript to get the path to an
application, even when it is not running?

If I do

set the_app to (path to application "Bogus") as string
set bogus_path to POSIX path of the_app

it launches Bogus in order to get the path. I could live with that,
but the code doesn't seem to work unless Bogus is in /Applications.
What can I do to find the path to an application that might be in
/Applications/subdir?

Thanks,
--

Ronald Florence www.18james.com

 >> Stay informed about: path to application 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Apple Scripts All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]