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

Popular posts from this blog

r - geom_bar tied exactly to x and y axis (without aggregating) -

php - Is there a way to specify only some optional function args? -

java - Spring-boot using RestTemplate -