This may be a long shot. But I have a script that is called from each number key (0-9). The script is identical for each call except for the key that called it. I simply need to know which key was pressed to invoke the script. Right now, I have 10 copies of the script with a line or two changed in each one, i.e. a '1-key' script, a 2-key script. This is hugely inefficient with a lot of overhead to manage 10 scripts. I know I can have a common class and 10 different 1-line script projects passing a '1', '2', '3'. Alternatively, is the calling mapped key passed anywhere or available anywhere from inside the script? Thx.
Determining Mapped Key that Called Script?
Jerry-Malcolm
wrote on 12/16/2024, 8:31 AM