masayume Posted September 29, 2021 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
AlessandroAvolio Posted September 29, 2021 Posted September 29, 2021 An alternative solution could be to use the SEND command {PGUP}, {PGDN}, {HOME} or {END}. It might work?
AlessandroAvolio Posted September 29, 2021 Posted September 29, 2021 Depending on the type of window you may also use the {UP} and {DOWN} arrows to scroll
masayume Posted September 29, 2021 Author 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
junkew Posted September 29, 2021 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
masayume Posted September 29, 2021 Author 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?
junkew Posted September 29, 2021 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
masayume Posted September 29, 2021 Author Posted September 29, 2021 45 minutes ago, junkew said: did you try? yes i did and is still using mouse cursor to scroll instead.
junkew Posted September 29, 2021 Posted September 29, 2021 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
masayume Posted September 30, 2021 Author Posted September 30, 2021 10 hours ago, junkew said: i wonder if this can be use in python?
junkew Posted September 30, 2021 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
ad777 Posted December 4, 2021 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 none
Developers Jos Posted December 4, 2021 Developers 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.
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