Copy link to clipboard
Copied
C:\Users\dublove\AppData\Roaming\Adobe\InDesign\Version 19.0-J\zh_CN\Find-Change Queries\Text
C:\Program Files\Adobe\Adobe InDesign 2024\Scripts\Scripts Panel\Samples
Here only “Version 19.0-J” and “Adobe InDesign 2024” are changing.
It would be good to get the version number of the currently open version.
I've seen a posting that gets the version number, but it seems to be all installed versions.
Thank you.
Copy link to clipboard
Copied
Suggestion from Peter doesn't work / isn't enough for you?
Copy link to clipboard
Copied
How do I get the version number of the current open, and 2024?
Copy link to clipboard
Copied
Have you checked link I've provided?
Copy link to clipboard
Copied
You provided the same link I was talking about.
I just want 19
and 2024
Copy link to clipboard
Copied
var appFolder = Folder.startup;
var scriptPath=appFolder+"/"+"Scripts"+"/"+"Script%20Panel"+"/"+"Samples"+"/";
alert(scriptPath);
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Awesome ......
How to get the path of the regular?
C:\Users\adm\AppData\Roaming\Adobe\InDesign\Version 19.0-J\zh_CN\Find-Change Queries\Text
There are also shortcuts stored in the path
C:\Users\adm\AppData\Roaming\Adobe\InDesign\Version 19.0-J\zh_CN\InDesign Shortcut Sets
Workspace Path
C:\Users\adm\AppData\Roaming\Adobe\InDesign\Version 19.0-J\zh_CN\Workspaces
PDF Export Template Path
C:\Users\adm\AppData\Roaming\Adobe\Adobe PDF\Settings
Thank you.
Copy link to clipboard
Copied
I saw this.
alert(app.scriptPreferences.version);
Returns 19.5
Maybe there's no way to get “Version 19.0-J” directly.
Copy link to clipboard
Copied
I saw this.
alert(app.scriptPreferences.version);
Returns 19.5Maybe there's no way to get “Version 19.0-J” directly.
By @dublove
Why do you want to know - from within currently run version - what other versions are installed?
Copy link to clipboard
Copied
I don't want to talk about other versions, I just want to know some paths to the current version.
Copy link to clipboard
Copied
I'm pretty sure, that path to scripts panel should return "19.0-J" - as long as you're running your script from this version.
Copy link to clipboard
Copied
yea
It should all be reachable now.
The PDF Export Template Path is unchanged.
Copy link to clipboard
Copied
Next, how to find
Whether the scripts'filename contain [Ctrl+Alt+W] that the directory by "C:\Program Files\Adobe\Adobe InDesign 2024\Scripts\Scripts Panel\Samples\JS.lnk" pointed to .
Copy link to clipboard
Copied
That is rather defined in the preferences - keyboard shortcuts file.
Copy link to clipboard
Copied
I want to read the script's name(Vertion【Ctrl+Alt+Q】.jsx) .
If it contains【.+】 , and then go and modify the keyboard shortcuts file(ID_shortcut_CC.indk).
<shortcut>
<action-id value="0xff000000 + 54" name="脚本:应用程序:Samples:JST.lnk:Vertion【Ctrl+Alt+Q】.jsx"></action-id>
<context>DefaultContext</context>
<string>Ctrl+Alt+Q</string>
</shortcut>
What's 54 here, the 54th script? What's the order of precedence it's based on?
I counted, and I only have 47 scripts, too.
That's strange.
Copy link to clipboard
Copied
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more