coo
#1
Hallo,
how can I get the path of the script that is running?
I have a script “immag.scpt” (that is executed by a cocoa application).
I want retrieve the path of this script in my computer.
I’m trying with;
set my_name to path to me
or
set posizione to position of "immag.scpt"
but it doesn’t work!
Someone can help me???
Thanks
Do a search on “Path to me” on this board for extensive discussion. The script has to be compiled as an app for this to work.
kel
#3
Hi,
If you’re running a compiled script, then there is a different way to get its path. How are you running the script from the AppleScript Studio app?
gl,
coo
#4
I want use this script in a cocoa-obj-c application.
I’ll search on the forum…
thanks