Jump to content

ControlClick / ControlSend > Mousedown


Recommended Posts

I've searched through the forums and haven't found the answer I need for this so:

How can I controlsend or controlclick a mousedown (left) with no end? What code do I need? I can get it to work with just a mousedown (left), but that requires the screen to be active, and I want to be able to do other things on my computer while it's being held down.

Link to comment
Share on other sites

local $i = 0
Do
ControlSend("Window Name", "", "", "{-}")
Until $i = 1

Is what I've got right now, But I need it to be a controlclick but when I run the window info tool, no controlID's come up. I've messed w/ this stuff a tiny bit in the past but I'd figure that it shouldn't be that hard to say I want a mousedown left in this window while it's the inactive window.

The code works when I swap the key that I use from my mouse to be -

Edited by Kaspar
Link to comment
Share on other sites

local $i = 0
Do
ControlClick("Window Name", "", "", "")
Until $i = 1

Seemed to finally work even though I've tried it who knows how many times... -.- Don't know what changed from all the times previous.

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...