Copy link to clipboard
Copied
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.
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
Copy link to clipboard
Copied
Nope,
but documents Adobe Scripts Folder is trusted
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thanks for the help. Figuring out the path for Folder.myDocuments and placing the script there worked and the warning message is suppressed.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more