masayume Posted September 29, 2021 Share Posted September 29, 2021 i am currently using a python autoit lib from this https://pypi.org/project/autoit/ currently i manage to use controlclick using that to send mouse click without interfering the cursor as i still need to use my mouse while the script is running. But there is some part where i need to use my mouse scroll but i dont see any type of controlclick way for mouse scroll that does not use the mouse cursor to scroll. just wondering is there anything like this? i tried to find some solution in python but most of them need to use the mouse cursor to scroll Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 An alternative solution could be to use the SEND command {PGUP}, {PGDN}, {HOME} or {END}. It might work? Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 Depending on the type of window you may also use the {UP} and {DOWN} arrows to scroll Link to comment Share on other sites More sharing options...
masayume Posted September 29, 2021 Author Share Posted September 29, 2021 i tried, page up and down and arrow key as well does not work on scrolling. i am using this on an emulator for an messaging application Link to comment Share on other sites More sharing options...
junkew Posted September 29, 2021 Share Posted September 29, 2021 https://www.autoitscript.com/autoit3/docs/functions/MouseWheel.htm FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
masayume Posted September 29, 2021 Author Share Posted September 29, 2021 30 minutes ago, junkew said: https://www.autoitscript.com/autoit3/docs/functions/MouseWheel.htm does this send mousewheel function without moving the cursor mouse like controlclick? Link to comment Share on other sites More sharing options...
junkew Posted September 29, 2021 Share Posted September 29, 2021 did you try? FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
masayume Posted September 29, 2021 Author Share Posted September 29, 2021 45 minutes ago, junkew said: did you try? yes i did and is still using mouse cursor to scroll instead. Link to comment Share on other sites More sharing options...
junkew Posted September 29, 2021 Share Posted September 29, 2021 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
masayume Posted September 30, 2021 Author Share Posted September 30, 2021 10 hours ago, junkew said: i wonder if this can be use in python? Link to comment Share on other sites More sharing options...
junkew Posted September 30, 2021 Share Posted September 30, 2021 https://stackoverflow.com/questions/62189991/how-to-wrap-the-sendinput-function-to-python-using-ctypes search for sendinput, sendmessage, keybd_event win32api.sendmessage is for python https://sourceforge.net/p/pywinauto/mailman/message/688899/ FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
ad777 Posted December 4, 2021 Share Posted December 4, 2021 On 9/29/2021 at 1:02 PM, masayume said: i am currently using a python autoit lib from this https://pypi.org/project/autoit/ currently i manage to use controlclick using that to send mouse click without interfering the cursor as i still need to use my mouse while the script is running. But there is some part where i need to use my mouse scroll but i dont see any type of controlclick way for mouse scroll that does not use the mouse cursor to scroll. just wondering is there anything like this? i tried to find some solution in python but most of them need to use the mouse cursor to scroll https://www.autoitscript.com/autoit3/docs/functions/MouseWheel.htm iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 4, 2021 Developers Share Posted December 4, 2021 @ad777, Appreciate the help you are giving, but please don't go back too far in time as that just brings all these old thread back alive while the OP probably moved on already. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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