|
miegorengman Wanderer
Joined: 05 Sep 2008 Posts: 51
|
Posted: Sun Jul 10, 2022 3:52 am
is it possible to execute keyboard commands? |
I am using #input and it is really helpful to be prompted with the needed commands, but there are also occasions where the prompt turns out to be the wrong thing...
is there a way to effectively ctrl+a or select all the command line following an input trigger? this would allow the user to immediately type over the #input
Thank you for reading |
|
|
|
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Sun Jul 10, 2022 5:56 am |
#input has a second optional parameter.
#input "this sample will be highlighted"
will put that text in the box but not select it
#input "this sample will be highlighted" 1
will put that text in the box and select all of it (so pressing any key overwrites/deletes it) |
|
|
|
miegorengman Wanderer
Joined: 05 Sep 2008 Posts: 51
|
Posted: Sun Jul 10, 2022 4:46 pm |
thank you Tarn :)
aaaand its in the manual.... |
|
|
|
|
|