Jump to content
Sign in to follow this  
TheFrozenOne

Drag & Drop multiple folders from one window to another

Recommended Posts

TheFrozenOne

Hey guys,

sorry if I repost this topic, but I have not found it yet.

I need to move multiple folders from the explorer in a tree view of another program which is not my script.

How do I do this?

Thanks in advance.

~ TheFrozenOne ~

Edited by TheFrozenOne

Share this post


Link to post
Share on other sites
Melba23

TheFrozenOne,

Welcome to the AutoIt forum. :)

This thread looks as if it might be close to what you are looking for. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
TheFrozenOne

Thank you Melba23, but I already knew this thread. The problem with it is, that the URL to the File is faulty. :)

Also, I would be glad, if it would be possible to use only the basic functions of autoit an no UDFs. :)

Edited by TheFrozenOne

Share this post


Link to post
Share on other sites
Melba23

TheFrozenOne,

ProgAndy changed his domain - the download is now here. :)

And as for not using UDFs, why on earth not? Many of them expand the language far beyond what was initially conceived. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
TheFrozenOne

To be honest,

I don't know how to use these UDFs and because of that, I try to avoid the use of it. :)

And in particular, I also don't know how to use his UDF. ;)

Edited by TheFrozenOne

Share this post


Link to post
Share on other sites
Melba23

TheFrozenOne,

Then you only needed to ask. :)

Basically a UDF (User Defined Function) is a piece of AutoIt code that someone has written to expand the capabilities of the language - some of mine are in my sig below. You need to download the UDF and place it in the same folder as your script - you can then use it as you would any other #include file. In fact a lot of the standard #include files that come with AutoIt started life at UDFs. ;)

If you use a lot of UDFs, then the Adding UDFs to AutoIt and SciTE tutorial in the Wiki shows how you can make them available to all your scripts and even become syntax highlighted and tooltipped in SciTE when you use them. Does that explain them a little better? You really would be missing out on a lot of added functionality if you completely ignored UDFs. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
TheFrozenOne

Okay. And where do I get help for this particular UDF?

I mean, how do I use this UDF to solve my problem? :)

Edited by TheFrozenOne

Share this post


Link to post
Share on other sites
Melba23

TheFrozenOne,

Have you downloaded it yet? :huh:

If not then do so. If you have then run DoDragDropGUI.au3 (as I have just done) and you can see it working. If you need more help I suggest you post in the original UDF thread so that author can reply - not all UDFs are widely used and so we cannot really offer detailed help on those with which we are unfamilar. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
TheFrozenOne

Yes, I downloaded it. Sorry for not mentioning it. :)

Is it right, that I included all files I got from the download?

#include <DoDragDrop.au3>
#include <DoDragDropGUI.au3>
#include <MemArray.au3>
#include <objbase.au3>
Edited by TheFrozenOne

Share this post


Link to post
Share on other sites
Melba23

TheFrozenOne,

All the files are #included automatically if you just run the DoDragDropGUI.au3 file. ;)

From a quick glance, you would only need to #include "DoDragDrop.au3" in your own script - although you would also need a fair amount of the code from DoDragDropGUI.au3 as well. This is definitely not a UDF for beginners - there is a lot of very advanced code in there as you would expect from ProgAndy. :o

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
TheFrozenOne

Well, thank you for your great help. :)

I've already asked a question in his thread a few minutes ago.

Thank you again. :)

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  

×