Use keypress to trigger script
Posted: Thu Apr 17, 2014 9:28 am
I have created a form with multiple PowerShell scripts available to the user (primarily searches for AD objects). Each of these has the option to run and display on screen or export to file via buttons.
I would like to improve this by allowing users the option to hit a key (enter for example) to run the script. Is there a way I can do this? I know it is possible to use this option if there is a single button, but I can't work out how to do this for multiple options.
Is there a way to do this
I would like to improve this by allowing users the option to hit a key (enter for example) to run the script. Is there a way I can do this? I know it is possible to use this option if there is a single button, but I can't work out how to do this for multiple options.
Is there a way to do this