Sign in to follow this  
Followers 0
q1880025

Mouse use while script is running

4 posts in this topic

Is it possible to use my macro/script while I click with my mouse (human) ?

 

Macro:

HotKeySet("{1}", "playpause")

$go = 1

While 1
$pxs = PixelSearch(1680,1050,760,830,0xBBF8FE)
If isArray($pxs) then
Sleep(400)
Send("{D}")
EndIf
WEnd

Func playpause()
    $go = $go  -1 + 1
 EndFunc

 

As you can see my script is running in a loop. So is it possible to use my mouse while this? 

 

Thanks for help!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@q1880025 MouseClicks and Sends are very elementary functions; they do what they're designed to do regardless of what else might be going on. If you need to perform actions on a window while maintaining your mouse and keyboard abilities you should look into the Control* functions in the help file.

Also, if you give us a clearer picture of what you're trying to accomplish we can offer better suggestions.

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
1 hour ago, JLogan3o13 said:

@q1880025 MouseClicks and Sends are very elementary functions; they do what they're designed to do regardless of what else might be going on. If you need to perform actions on a window while maintaining your mouse and keyboard abilities you should look into the Control* functions in the help file.

Also, if you give us a clearer picture of what you're trying to accomplish we can offer better suggestions.

I play a game by pressing a button at a certain moment (Loading Bar pops up for Reloading - I need to press it after 50%). My script/macro works fine, but I can't click during the script. I want the script to run continuously in the loop and I want to be able to click randomly during the loop with the mouse. So I can move my character and he always reloads - without me having to do anything -

Share this post


Link to post
Share on other sites

Unfortunately you seem to have walked right by the forum rules on your way in. Please read them now, especially the part on game automation, and you will see why this thread is locked. That is not a subject we will assist with.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0