Re: applescript-users digest, Vol 3 #190 - 16 msgs
Re: applescript-users digest, Vol 3 #190 - 16 msgs
- Subject: Re: applescript-users digest, Vol 3 #190 - 16 msgs
- From: email@hidden
- Date: Wed, 27 Feb 2002 00:41:59 EST
fearghal:
Assuming that your script is saved as an application, "path to me" will
return its path as an alias. And the Finder has a handy "container" object
that returns the path to the containing directory. Thus:
tell application "Finder" to open container of (path to me)
Ought to do the trick...
Robert Kyle
Star Tribune
Minneapolis
<< i have a folder called "INSTALLER" and inside that i have a folder called
"SCRIPTS", inside scripts i need to have an applescript that will open the
folder "INSTALLER"... to make matters complicated, the folder will not
always be called "INSTALLER" - it may have a different name and also the
location of the folder may vary.. this means that i have to get the path and
the name of the folder dynamically at the start of the script and then use
them to open the folder.>>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.