Get pressed key name.

Next
 From:  vector illustrator (QUARITEXA)
9657.1 
Hi, Michael.

How inside script, binded on hotkey determine which key was pressed for calling this script?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9657.2 In reply to 9657.1 
Hi Quaritexa, I guess the script could look through the shortcut key list. On MoI v4 that can be accessed by moi.shortcutKeys.getShortcuts(). On MoI v3 you could try parsing the moi.ini file. You can get the path to moi.ini by moi.settings.getIniPath();

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All