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

Running ExtendScript Toolkit in command line - Trusted location message

New Here ,
Jun 20, 2016 Jun 20, 2016

I am running the following in a Windows 7 command line:

"C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\ExtendScript Toolkit.exe" -run "C:\Users\john\AppData\Roaming\Adobe\InDesign\Version 11.0\en_US\Scripts\Scripts Panel\example.jsx"

However, I get the message "You are about to run a script in Adobe InDesign CC 2015. You should only run scripts from a trusted source. Do you want to run the script", with yes/no options.

I was wondering if there is a way to supress this message from showing up. According to Indesign Java Script running error​this message is suppressed if the jsx script is located in a trusted location. I thought that C:\Users\john\AppData\Roaming\Adobe\InDesign\Version 11.0\en_US\Scripts\Scripts Panel is a trusted location.

TOPICS
Scripting
2.3K
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

correct answers 1 Correct answer

Mentor , Jun 21, 2016 Jun 21, 2016

In my documents

Folder.myDocuments; // which is ~/Documents

Do Folder.myDocuments.execute();

Should see a folder there called Adobe Scripts.

If it's not there create it.

HTH

Trevor

Translate
Mentor ,
Jun 21, 2016 Jun 21, 2016

Nope,

but documents Adobe Scripts Folder is trusted

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
New Here ,
Jun 21, 2016 Jun 21, 2016

Where would the Adobe Script folder be on Windows 7? User documents are stored in c:\users, and I assumed C:\Users\john\AppData\Roaming\Adobe\InDesign\Version 11.0\en_US\Scripts\Scripts Panel is the correct location

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
Mentor ,
Jun 21, 2016 Jun 21, 2016

In my documents

Folder.myDocuments; // which is ~/Documents

Do Folder.myDocuments.execute();

Should see a folder there called Adobe Scripts.

If it's not there create it.

HTH

Trevor

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
New Here ,
Jun 21, 2016 Jun 21, 2016
LATEST

Thanks for the help. Figuring out the path for Folder.myDocuments and placing the script there worked and the warning message is suppressed.

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