Skip to main content
dublove
Legend
August 31, 2025
Answered

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

  • August 31, 2025
  • 1 reply
  • 142 views

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

Correct answer leo.r

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.

1 reply

leo.r
Community Expert
leo.rCommunity ExpertCorrect answer
Community Expert
August 31, 2025

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.

dublove
dubloveAuthor
Legend
August 31, 2025

Hi leo.r.

Awesome!
That's fantastic.

 

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