Jump to content

Simulating drag&drop


Recommended Posts

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 by VicTT
Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

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 :D

Link to comment
Share on other sites

I'm not sure what you mean. Have you looked into MouseClickDrag()?

Nomad :D

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

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

  • 2 weeks later...

I asked this same question a while back.

this may help

http://www.autoitscript.com/forum/index.ph...l=simulate+drag

Funny.. You link him back to his own posts :whistle:

Cheers

Kurt

__________________________________________________________(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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...