Jump to content

using shift + win + left for moving the compiled exe from one desktop to another.


vstream
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...