How do you press hot keys like alt+f? I noticed a post that mentioned you could use {ALTDOWN} to hole the alt key down, but that doesn't seem to work in version 2. Any suggestions?
Thanks.
Keyboard.Press("{Alt down}{fkey}{Alt up}");
// or
Keyboard.Down(Keys.LMenu);
Keyboard.Press(Keys.F);
Keyboard.Up(Keys.LMenu);Keyboard.Press("{ALT}fo");textBox.EnsureVisible();
Keyboard.Press("{Alt down}{fkey}{Alt up}");
Ciege wrote:Are you suggesting that what I am using should not work? It does...
- Code: Select all
Keyboard.Press("{ALT}fo");
Support Team wrote:Your code means:
- press the ALT key
- release the ALT key
- press and release the F key
- press and release the O key
omayer wrote:what will be the shortcut key for {TAB}
Thank you
Beginner
{TAB}Users browsing this forum: No registered users and 1 guest