Jump to content
Sign in to follow this  
mik

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

Recommended Posts

mik

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

Share this post


Link to post
Share on other sites
aslani

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

Share this post


Link to post
Share on other sites
mik

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!

Share this post


Link to post
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
Sign in to follow this  

×