vstream Posted April 23, 2020 Share Posted April 23, 2020 Hi, By using the key combination Shift+Windows+LEFT (or right) you can move an exe gui from desktop 1 to desktop 2 or more. I was wondering if it would be possible to send the keystroke to your own autoit gui so your compiled exe moves from desktop 1 to desktop 2 by the press of a button This is the idea.(not the complete code) $buttonwleft = GUICtrlCreateButton("<<", "1700", "990", "100", "50") Case $buttonwleft WinActivate("[CLASS:AutoIt v3 GUI]") SendKeepActive("[CLASS:AutoIt v3 GUI]") Send('+{LWin}{LEFT}') I even tried a separate exe with the send key using runwait but still it doesn't work. Any ideas? Thank you. 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