VicTT Posted July 5, 2006 Share Posted July 5, 2006 (edited) How can you simulate a file drag&drop operation on a control in a window?That is to say, how do I simulate a drag&drop of a file with a given $path, on a control with a given control ID: $cID in a window with a given title: $title? Edited July 5, 2006 by VicTT Quote Together we might liveDivided we must fall Link to comment Share on other sites More sharing options...
Nomad Posted July 5, 2006 Share Posted July 5, 2006 How can you simulate a file drag&drop operation on a control in a window?That is to say, how do I simulate a drag&drop of a file with a given $path, on a control with a given control ID: $cID in a window with a given title: $title? I'm not sure what you mean. Have you looked into MouseClickDrag()?Nomad Link to comment Share on other sites More sharing options...
Paulie Posted July 5, 2006 Share Posted July 5, 2006 I'm not sure what you mean. Have you looked into MouseClickDrag()?Nomad I think he wants something that would act like a "ControlClickDrag" which to the best of my knoweldge doesn't exist Link to comment Share on other sites More sharing options...
VicTT Posted July 6, 2006 Author Share Posted July 6, 2006 I am pretty sure it can be simulated via a "SendMessageA"...Since mouse clicks and things like that can...It's only that some tech has to do a little research on what happens when you click and hold your mouse on a certain file...and what the drag&drop mechanism is.. I'm pretty sure this can be achieved via DllCall...Anyone else? Quote Together we might liveDivided we must fall Link to comment Share on other sites More sharing options...
VicTT Posted July 16, 2006 Author Share Posted July 16, 2006 *BUMP Quote Together we might liveDivided we must fall Link to comment Share on other sites More sharing options...
creeping Posted July 24, 2006 Share Posted July 24, 2006 *BUMPI asked this same question a while back.this may helphttp://www.autoitscript.com/forum/index.ph...l=simulate+draghttp://www.autoitscript.com/forum/index.ph...l=simulate+drag Link to comment Share on other sites More sharing options...
/dev/null Posted July 24, 2006 Share Posted July 24, 2006 I asked this same question a while back.this may helphttp://www.autoitscript.com/forum/index.ph...l=simulate+dragFunny.. You link him back to his own posts CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
creeping Posted July 25, 2006 Share Posted July 25, 2006 Funny.. You link him back to his own posts CheersKurt sorry Stupidjust search the forums for "simulating drag" by "creeping" anyway, someone suggested the way to do it, but was a bit out of my depth 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