@malcev: I have a working example here. Cheers.
drag-and-drop programmatically by using OleDropTargetInterface - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=56720
[COM] Help with the IDropSource and IDropTarget interfaces
Re: [COM] Help with the IDropSource and IDropTarget interfaces
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: [COM] Help with the IDropSource and IDropTarget interfaces
is there a way to make the drop and drag work from apps with lower elevation to a script run as admin?
Changing the UAC filter with these has an effect on the regular GUIDropFiles, but not on drag and dropping that is registered with this class
Changing the UAC filter with these has an effect on the regular GUIDropFiles, but not on drag and dropping that is registered with this class
Code: Select all
DllCall("ChangeWindowMessageFilter", "uint", 0x233, "uint", 1) ; WM_DROPFILES
DllCall("ChangeWindowMessageFilter", "uint", 0x4A, "uint", 1) ; WM_COPYDATA
DllCall("ChangeWindowMessageFilter", "uint", 0x49, "uint", 1) ; WM_COPYGLOBALDATA
Who is online
Users browsing this forum: StupidIdiotMoron and 147 guests