question

Tom D. avatar image
Tom D. asked ·

How can I have a script actually press the Space bar?

Hello, I have a script that I need to press the space bar in order to select what is highlighted on the screen. However, when I record pressing the space bar, it just shows up as Window.Type " "

Thanks for any help on this one,

Tom

esmscripting
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Marty C. avatar image
Marty C. answered ·

Hi Tom,

You can replace " " with "{Space}" so Window.Type "{Space}".

Regards,

Marty

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.