Bru Posted March 1, 2009 Share Posted March 1, 2009 So for example. In my notepad. It is called oPad. Ctrl V is paste. But if i go to firefox for example, and click ctrl v, it doesn't work. It is still on oPad. Soo, my question is, how do i get hotkeys only to set when oPad is in use, etc. Thanks. [right][/right] Link to comment Share on other sites More sharing options...
Drew Posted March 1, 2009 Share Posted March 1, 2009 Use a If statement along with Winactive() Link to comment Share on other sites More sharing options...
Bru Posted March 1, 2009 Author Share Posted March 1, 2009 I tried that within the While loop, but didn't work. Was still the same for some odd reason. [right][/right] Link to comment Share on other sites More sharing options...
FireFox Posted March 1, 2009 Share Posted March 1, 2009 @bru try WinGetState() and note number according to the window state with ConsoleWrite and use it like this : If WinGetState('notepad') = number Then Cheers, FireFox. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now