windows - Using Sendkeys to press a space in Jscript -


i have line in batch file:

kbd(['{right}','{right}', '{tab}', '{enter}','{space}', '%s']); 

it runs fine until end. not press space button. need press space button uncheck checkbox.

i found answer. if using kbd command want press space not use {space} use ' '. this:

kbd(['{right}','{right}', '{tab}', '{enter}','{space}', '%s']); 

to

kbd(['{right}','{right}', '{tab}', '{enter}',' ', '%s']); 

Comments