Skip to main content
dublove
Legend
September 30, 2025
Question

Use script, How to set a shortcut key for an object style?

  • September 30, 2025
  • 2 replies
  • 439 views

When creating a new object style, I want to simultaneously assign a shortcut key for it.
However, I haven't found the corresponding properties. Please advise.

 

I currently want to set the shortcut key to: Ctrl+Alt+Num2 

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

 

 

2 replies

Participating Frequently
October 1, 2025

Something very similar has been discussed fairly recently. There is a way to do it, that involves using InDesign Snippets:
https://community.adobe.com/t5/indesign-discussions/specifying-shortcut-in-extendscript/m-p/15347700

—————————————————————————————Krommatine Systems — Makers of InDesign plugins, tools, and automations.
dublove
dubloveAuthor
Legend
October 1, 2025

Thank you very much.
But it's still too complicated and difficult to use.
I've given up.

dublove
dubloveAuthor
Legend
September 30, 2025

Setting the paragraph style seems to have worked.
But I don't know how to set a shortcut key.

leo.r
Community Expert
Community Expert
September 30, 2025
dublove
dubloveAuthor
Legend
September 30, 2025

HI @leo.r 

The following URL is no longer accessible:
https://forums.adobe.com/message/3798401