The Desktop Automation step "Press Key" has the option to add modifiers but this only works when pressing combinations of two keys. How to configure the step to press more (e.g. Windows+Ctrl+F) ?
Use the virtual key codes from here to build a step to press multiple keys then release them.
Modify the Press key step as follows:
- for "Key" select "Calculated key"
- In the "Key Code" field, enter the sequence of keys to be pressed and released, using their virtual codes and separated with space.
To press a key, enter the virtual code for it preceeded by "v" (e.g. v0x11 for Ctrl) To release it, enter the same virtual code, followed by ",fu" (e.g. v0x11,fu for releasing Ctrl key).
v0x5b v0x11 v0x46 v0x5b,fu v0x11,fu v0x46,fu
Presses Windows+CTRL+F (so opens "Find Computers") as: 0x5b = Left Windows Key, 0x11 = CTRL key, 0x46 = F key
Press Key step:
Whole Key Code (using a value in this example, but can be set to use an Expression:)
Level of Complexity
Article # 3035684