Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I determine the path and name of the script, which now execute?

Community Beginner ,
Dec 08, 2010 Dec 08, 2010

How do I determine the path and name of the script, which now holds?

TOPICS
Scripting
902
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2010 Dec 08, 2010

Try this:

unescape($.fileName)

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 08, 2010 Dec 08, 2010

Thanks, but as a path to convert in Windows-path?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2010 Dec 08, 2010

Assuming you're on a Windows machine,

  var myFile = File($.fileName);
  alert(myFile.fsName);

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 08, 2010 Dec 08, 2010
LATEST

Thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines