stev379 Posted October 4, 2005 Share Posted October 4, 2005 Isn't there a way to get the Window copy progress dialogue to pop up? I thought I saw a way to this (maybe with VBS) a while back, but I can't find a references to it now. Thanks! Link to comment Share on other sites More sharing options...
Valuater Posted October 4, 2005 Share Posted October 4, 2005 Isn't there a way to get the Window copy progress dialogue to pop up? I thought I saw a way to this (maybe with VBS) a while back, but I can't find a references to it now.Thanks!maybe take a look at thishttp://www.autoitscript.com/forum/index.ph...opic=11888&hl=#hope it helps8) Link to comment Share on other sites More sharing options...
mr_unreliable Posted October 5, 2005 Share Posted October 5, 2005 Isn't there a way to get the Window copy progress dialogue to pop up? I thought I saw a way to this (maybe with VBS) a while back, but I can't find a references to it now.Thanks!My browser could not follow the link above, and so here is another reply.Sorry if it duplicates already available material.There is a vbs script attached which does what you want. It will copysome files to a diskette, using the "shell.application" object, and willshow a progress dialog.NOTA BENE: the underlying api apparently does not show the progressdialog for short file copies. So if you use it for a small file, the file willget copied, but no dialog will be shown. That is the reason that the demo script is copying to a diskette -- diskettes are always slow. There is a second attachment, with is just the vbs script converted toautoIt (requires the beta version).Finally, if you really have a taste for the "real geek" stuff, then takea look at the SHFileOperation API function, with its accompanyingSHFILEOPSTRUCT typedef. That api is what "shell.application" uses,and the api code is what is showing the filecopy progress dialog.If you look up the api, you will find that it has four basic functions,move, copy, rename and delete. plus a number of options toonumerous to repeat. Here is a link to SHFileOperation documentation:http://msdn.microsoft.com/library/default....leoperation.aspcheers, jwp.s. the attachments have a "txt" extension, because of the propensityof some AV apps to deny vbs downloads.testShellAppCopy.vbs.txttestShellAppCopy.au3.txt Link to comment Share on other sites More sharing options...
MrSpacely Posted October 5, 2005 Share Posted October 5, 2005 Why use the ugly windows copy dialog;) Just make more pretty one with no trowing of paper Link to comment Share on other sites More sharing options...
SumTingWong Posted October 5, 2005 Share Posted October 5, 2005 Here you go:#82020 Link to comment Share on other sites More sharing options...
stev379 Posted October 12, 2005 Author Share Posted October 12, 2005 Sweet!! Thanks all for the information. Each piece of info is helpful and the link from SumTingWong is very educational for me in regard to AutoIT and DLL references. THANKS!!! 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