$.fileName will not work in script in OS X
I'm using a script which stores its Prefs in the script folder. But it does not work in my case, the file will not be created. It does not get a path where to build it, so no file is being stored.
I gave Illustrator full hard drive privileges already, but the script will not throw the script path.
var scriptPath = (new File($.fileName)).path will throw "", with alert just an empty field
var scriptName = (new File($.fileName))will throw /3 with alert (scriptName)
Any idea, why the script will not get it's path?
app.path will throw the rigth path to the app ...


