how to retrieve the script path ?
Posted: Thu Apr 25, 2013 10:11 pm
Hi folks,
I wish retrieve the path of my file.livecode in a global variable with a function.
When I worked with vbscript, I had a property of wscript object which allowed to retrieve the path of the script, like this :
Is it exists something like this in Livecode?
Thx by advance for your feedback
I wish retrieve the path of my file.livecode in a global variable with a function.
When I worked with vbscript, I had a property of wscript object which allowed to retrieve the path of the script, like this :
Code: Select all
Path = Left(WScript.ScriptFullName, InStr(WScript.ScriptFullName, WScript.ScriptName)-1)
Thx by advance for your feedback
