Community

Keyboard shortcut for custom action script

Is there a keyboard shortcut for executing a field's custom action script? The idea is to avoid operators using the mouse to click the custom action button in the field.
Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

3 comments

  • Avatar
    Permanently deleted user
    You can assign a shortcut to "Execute Custom Action" in the verification Station.
    In the Menu go to Tools -> Options -> Keyboard Shortcuts

    0
  • Avatar
    Permanently deleted user
    Hello

    Assigning a keyboard shortcut to a field's custom action directly is probably not possible. As a workaround you can add a custom button in verification stageroject setup station-project properties-stage tools-verification-edit skin-commands. Refer to help scripts for customizing interface-On user commands for more information regarding custom buttons.

    Then you can implement needed functioality in this user command and assign a shortcut to it.



    0
  • Avatar
    Alberto Torino
    Thanks Timur and Willem. I guess assigning a keybord shorcut in the verification station the on user command and writing code to find out which field had focus and then execute the corresponding custom action script for that field will work.
    0

Please sign in to leave a comment.