Jump to content

How to drag a folder or a file from one window to another open window?


mik
 Share

Recommended Posts

Hi All,

I want to realize this function: drag one folder or file from current active window to another inactive window using autoit. And now I just realized the dragging operation in the same window. Any help is appreciated!

Edited by mik
Link to comment
Share on other sites

AutoIt can copy/move the file/folder to anywhere without dragging and dropping.

See: FileMove(), FileCopy()

But if you want to do the drag and drop, you can simulate the mouse click and mouse movements.

See: MouseClick(), MouseClickDrag(), MouseDown(), MouseUp()

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Link to comment
Share on other sites

AutoIt can copy/move the file/folder to anywhere without dragging and dropping.

See: FileMove(), FileCopy()

But if you want to do the drag and drop, you can simulate the mouse click and mouse movements.

See: MouseClick(), MouseClickDrag(), MouseDown(), MouseUp()

yes, I need to drag and drop files and folders, thank you for your valuable advice! I will try it!

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...