This project is read-only.
1
Vote

Alt+Tab is doesn't work On win8 OS

description

Alt+Tab is work on win7 but didn’t works on win8. code as below:
Microsoft.Test.Input.Keyboard.Press(Microsoft.Test.Input.Key.LeftAlt);
Microsoft.Test.Input.Keyboard.Press(Microsoft.Test.Input.Key.Tab);
DispatcherOperations.WaitFor(DispatcherPriority.ApplicationIdle);
Microsoft.Test.Input.Keyboard.Release(Microsoft.Test.Input.Key.Tab);
Microsoft.Test.Input.Keyboard.Release(Microsoft.Test.Input.Key.LeftAlt);

file attachments

comments

xiaxing86 wrote Sep 25, 2012 at 8:14 AM

Alt+Tab is work on win7 but didn’t works on win8. code as below:
Microsoft.Test.Input.Keyboard.Press(Microsoft.Test.Input.Key.LeftAlt);
Microsoft.Test.Input.Keyboard.Press(Microsoft.Test.Input.Key.Tab);
DispatcherOperations.WaitFor(DispatcherPriority.ApplicationIdle);
Microsoft.Test.Input.Keyboard.Release(Microsoft.Test.Input.Key.Tab);
Microsoft.Test.Input.Keyboard.Release(Microsoft.Test.Input.Key.LeftAlt);

wrote Feb 14, 2013 at 9:08 PM