Skip to main content
dublove
Legend
Aug 31, 2025 7:34 AM UTC
Answered

Is there a script that can set a specified hotkey as the default?

Is there a script that can set a specified hotkey as the default?

leo.r
leo.rCorrect answer
Community Expert
Aug 31, 2025 4:10 PM UTC

There's applyShortcutSet:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Application.html#d1e42291__d1e45383

 

also keyboardShortcutSet in general prefs:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#GeneralPreference.html

 

Don't know if any of those will do what you need.

2 replies

leo.r
Community Expert
leo.rCommunity ExpertCorrect answer
Community Expert
Aug 31, 2025 4:10 PM UTC

There's applyShortcutSet:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Application.html#d1e42291__d1e45383

 

also keyboardShortcutSet in general prefs:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#GeneralPreference.html

 

Don't know if any of those will do what you need.

Translate
dublove
dubloveAuthor
Legend
Aug 31, 2025 5:02 PM UTC

Hi leo.r.

Awesome!
That's fantastic.

 

Are there any application examples for “keyboardShortcutSet”?
Thank you so much.

 

 

Translate