FOM Posted September 11, 2016 Share Posted September 11, 2016 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 Link to comment Share on other sites More sharing options...
InunoTaishou Posted September 11, 2016 Share Posted September 11, 2016 Depends on the application you're trying to automate. You can use ControlClick Link to comment Share on other sites More sharing options...
AutoBert Posted September 11, 2016 Share Posted September 11, 2016 Make script without mousemove and mouseclick. Try ControlClick instead. Link to comment Share on other sites More sharing options...
FOM Posted September 11, 2016 Author Share Posted September 11, 2016 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 Link to comment Share on other sites More sharing options...
FOM Posted September 11, 2016 Author Share Posted September 11, 2016 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 Link to comment Share on other sites More sharing options...
AutoBert Posted September 11, 2016 Share Posted September 11, 2016 Have a look in the helpfile, the parameter for mousebutton is the 4. param. Link to comment Share on other sites More sharing options...
FOM Posted September 11, 2016 Author Share Posted September 11, 2016 I think I will just stick with MouseClick, because everything what I found and tried just doesnt worked. But thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now