thanhvu909x Posted February 17, 2021 Share Posted February 17, 2021 I have a list. And i want when i read end item in current view, my script will scroll next new item. I use this code: Func ControlMouseDrag($hWnd, $x1, $y1, $x2, $y2) _SendMessage($hWnd, $WM_MOUSEMOVE, 0, _WinAPI_MakeLong($x1, $y1)) _SendMessage($hWnd, $WM_LBUTTONDOWN, 1, _WinAPI_MakeLong($x1, $y1)) _SendMessage($hWnd, $WM_MOUSEMOVE, 1, _WinAPI_MakeLong($x2, $y2)) ;Sleep(5000) _SendMessage($hWnd, $WM_LBUTTONUP, 0, _WinAPI_MakeLong($x2, $y2)) EndFunc But item in list is drag to item 315, 316, .... sorry my english not well. I want 201 is first item in view but went i keep and drag list, first item is 315,.... It like you pull it so fast and it come to end of list Link to comment Share on other sites More sharing options...
thanhvu909x Posted February 19, 2021 Author Share Posted February 19, 2021 (edited) ... Edited February 20, 2021 by thanhvu909x Link to comment Share on other sites More sharing options...
Developers Jos Posted February 19, 2021 Developers Share Posted February 19, 2021 Merged: Please stick to 1 topic. So when you don't get any response you probably haven't given enough information for people to act upon. 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...
thanhvu909x Posted February 20, 2021 Author Share Posted February 20, 2021 Please help me. Help me Press and hold left mouse and move to new coordinates. I use this code: _SendMessage($hWnd, $WM_MOUSEMOVE, 0, _WinAPI_MakeLong(246, 140)) _SendMessage($hWnd, $WM_LBUTTONDOWN, 1, _WinAPI_MakeLong(246, 140)) _SendMessage($hWnd, $WM_MOUSEMOVE, 1, _WinAPI_MakeLong(247, 94)) Sleep(1000) _SendMessage($hWnd, $WM_LBUTTONUP, 0, _WinAPI_MakeLong(310, 71)) But it only drag file, not press and hold left mouse. Link to comment Share on other sites More sharing options...
Somerset Posted February 20, 2021 Share Posted February 20, 2021 MouseDown MouseMove MouseUp Link to comment Share on other sites More sharing options...
Developers Jos Posted February 20, 2021 Developers Share Posted February 20, 2021 (edited) 21 hours ago, Jos said: Merged: Please stick to 1 topic. So when you don't get any response you probably haven't given enough information for people to act upon. Jos Ok... @thanhvu909x final warning .... STOP creating new threads and stick to this one! Threads Merged. Jos Edited February 20, 2021 by 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...
thanhvu909x Posted February 20, 2021 Author Share Posted February 20, 2021 1 hour ago, Somerset said: MouseDown MouseMove MouseUp So, i want run background, It like when my is lock screen, and i will swipe to unlock. I want like that. Link to comment Share on other sites More sharing options...
Nine Posted February 20, 2021 Share Posted February 20, 2021 How do you think we can help you with this kind of information ? If you want us to help you, you will need to help us first. Make a runable script that we can actually execute. Since we do not have the application you are using, I suggest you create a snippet running PAINT (or any other app that we all have). thanhvu909x 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Developers Jos Posted February 20, 2021 Developers Share Posted February 20, 2021 @thanhvu909x, Why did you think it would be smart to report my post as SPAM and sort of ignoring it? So to be clear: You have a final warning and the next time to ignore me you will simply be removed from these forums. 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