Jump to content
Sign in to follow this  
Kaspar

ControlClick / ControlSend > Mousedown

Recommended Posts

Kaspar

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.

Share this post


Link to post
Share on other sites
ileandros

While 1
...blah blah blah...
WEnd

If you would like to build a reproducer then maybe u could get some more help...

Edited by ileandros

I feel nothing.It feels great.

Share this post


Link to post
Share on other sites
Kaspar

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

Share this post


Link to post
Share on other sites
Kaspar

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.

Share this post


Link to post
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
Sign in to follow this  

×