9.11.1. Keydown Script

Keydown scripts will run when the key or key combination is pressed. This will work as long as the screen/svg with the event set is in view.

[Note] Note

This option is only available in SAGE v4.15 and above

There are extra parameters to set when using the keydown event script. The key field would have to be filled with a single key. The keys currently supported are any alphabets (A-Z), numbers (0-9), and function keys (f1-f12) . Combining the key with 'Ctrl', 'Alt', and 'Shift' key is possible by checking one or more of the respective checkboxes.

[Note] Note

Supported keys: Alphabets (A-Z), Numbers (0-9) and Function keys (f1-f12). The keys are case insensitive.

Example keydown script that will reset the value of the tag counter_1 to 0 by pressing Ctrl + Shift + R.

[Note] Note

In a single screen/svg, there should only be one object with a certain event because the newer object with the same keydown event will replace the previous one, so the first script might not run.