Search the Community
Showing results for tags 'drag and drop'.
Found 6 results
I saw few UDFs related to IE and Firefox to automate tasks related to these browsers. But is it possible to automate tasks like drag and drop in the website.? Like in the below video. If not can you tell me some alternatives, as it is not possible in selenium as I heard. drag_and_drop.mp4
Hello, I found a good drag and drop example here: https://www.autoitscript.com/forum/topic/28062-drop-multiple-files-on-any-control/ I have been searching but not finding a way to do a variant of this example. I want to have a form with 2 or more list box controls on the form that have $GUI_DROPACCEPTED enabled. I then want to be able to drop separate groups of files on each list box so that I have 2 separate list of dropped items that I can act upon independently rather than this example which only has one target. I have modified the example to add the 2nd list box but I am
Solved [What am I doing wrong with Drag & Drop?]
Mbee posted a topic in AutoIt GUI Help and Support(Nevermind, I solved it)
[Solved] Drag and Drop with UAC
Trong posted a topic in AutoIt General Help and Support#RequireAdmin #include <WinAPISys.au3> #include <WindowsConstants.au3> _WinAPI_ChangeWindowMessageFilterEx ( $hWnd, $iMsg, $iAction ) ;_WinAPI_ChangeWindowMessageFilterEx( $hWnd, $WM_DROPFILES, $MSGFLT_ALLOW) ;_WinAPI_ChangeWindowMessageFilterEx( $hWnd, $WM_COPYDATA, $MSGFLT_ALLOW) ;_WinAPI_ChangeWindowMessageFilterEx( $hWnd, $WM_COPYGLOBALDATA, $MSGFLT_ALLOW) ; $WM_COPYDATA = 0x004A - $WM_DROPFILES = 0x0233 - $WM_COPYGLOBALDATA = 0x0049 - $MSGFLT_ALLOW = 1 - $MSGFLT_DISALLOW = 2Example: #RequireAdmin Opt("TrayAutoPause", 0) #include <WinAPISys.au3>
Feeling like I am doing this wrong...
JakeJohnson74 posted a topic in AutoIt GUI Help and SupportOk, so I feel as though I am programming myself into a corner here. The code is a mess currently (but it runs) First problem: my _ScreenOffset() is basically being call in line: 189 once. This takes one of my many listviews and establishes its position relative to the client. I then use $aLV_Offset in the message loop on the $GUI_EVENT_MOUSEMOVE in an if statement. This was the only way I could figure out how to make an imaginary boundary to capture the listview I was dragging from. (any advice here would be much appreciated) Fixed Second related issue: If the user drags the whole
drag and drop to explorer except itself?
flashlab posted a topic in AutoIt General Help and SupportThanks to ProgAndy's udf it's really amazing. But here is the problem. When I drag an item from a listview and release the left mouse button within the listview control(or within the app's main window), a message says 'Copy'. Now I would like the progress cancel the dragdrop action if the drop location is the app itself,or just shield the COPY message since it's obviously wrong. I've tried to add a function ,which make sure the window under the cursor is not the app itself, before the message shows. Func _WindowGetHovered() Local $h_Struct = DllStructCreate($tagPoint) DllStructSetData($h_S