FOM

running scipt with nto moving the mouse

7 posts in this topic

Hello :)

I'm new to autoit and started to create my first script.

for a couple of days now I'm looking for an answer, right now when I run the script it always moves my mouse and I cant do anything else on my pc.

Is there any option to handle that different? sorry for the maybe stupid question but I couldnt find an answer and before I search again for a week I thought just to stop by here and ask.

Thank you so much

Share this post


Link to post
Share on other sites



Depends on the application you're trying to automate. You can use ControlClick

Share this post


Link to post
Share on other sites

Make script without mousemove and mouseclick. Try ControlClick instead.

Share this post


Link to post
Share on other sites

thanks for the hint. 

For testing I tried to change that MouseClick 

MouseClick("left",719, 312)

in ControlClick

 ControlClick ( "BlueStacks", "BlueStacks App Player", WindowsForms10.Window.8.app.0.3e799b_r10_ad1 [, button = "left" [, clicks = 1 [, 719 [, 312]]]] )

with no luck, I thought I add the right information

test.au3" (11) : ==> Unknown function name.:
ControlClick ( "BlueStacks", "BlueStacks App Player", WindowsForms10.Window.8.app.0.3e799b_r10_ad1 [, button = "left" [, clicks = 1 [, 719 [, 312]]]] )
ControlClick ( "BlueStacks", "BlueStacks App Player", ^ ERROR

Share this post


Link to post
Share on other sites

I'm sorry for the silly question, I'm in the learning progress :>
I tried as well

 ControlClick ( "BlueStacks", "BlueStacks App Player", "left" ,719 , 312 )

no error this time, but no click

Share this post


Link to post
Share on other sites

Have a look in the helpfile, the parameter for mousebutton is the 4. param.

Share this post


Link to post
Share on other sites

I think I will just stick with MouseClick, because everything what I found and tried just doesnt worked.

But thanks.

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