How can I script the [cmd + A] (select all) shortcut?

Asked by JohnRoux on 2010-01-29

Hello all,

Guess the topic title says it all...

Thanks in advance for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Tim Kwa
Solved:
2010-01-30
Last query:
2010-01-30
Last reply:
2010-01-29
Best Tim Kwa (christianmartyr) said : #1

 type("a", KEY_CTRL)

For future reference, type("<letter>", KEY_<command>) is really useful. See <http://sikuli.org/doc/pythondoc-python.edu.mit.csail.uid.Sikuli.html#python.edu.mit.csail.uid.Sikuli.KEY_ALT-variable> for more information.

JohnRoux (john-roux-gmail) said : #2

Thanks!