Is it possible to set a shortcut key by reading the script name?
I often change my script names, which causes the shortcut keys to stop working.
However, the part of the script name that contains the shortcut key is fixed, for example:
001-get Actual image width【Ctrl+Alt+O】.jsx
【Ctrl+Alt+O】 represents the suggested shortcut key, and this part generally doesn’t change.
Is it possible to ignore this part and modify the shortcut file (e.g., myShortCut.indk) to generate code like the following:
<shortcut>
<action-id value="0xff000000 + 11" name="Script:Application:C Common.lnk:001-get Actual image width【Ctrl+Alt+O】.jsx"></action-id>
<context>DefaultContext</context>
<string>Ctrl+Alt+O</string>
</shortcut>It seems the shortcut stops working because it gets automatically cleaned up.
