Jump to content

Recommended Posts

here's a script by sumtingwong and modified by zedna (thanks fellas!)

http://www.autoitscript.com/forum/index.php?showtopic=11888&st=0&p=527284&#entry527284

works great - trying to detect if the user hits cancel

theres a section at the bottom that attempts to do just that but it doesnt work

; test if button Abort was pressed

If DllStructGetData($SHFILEOPSTRUCT, "fAnyOperationsAborted") Then $nError = -1

zedna says he was unable to get it working

can anyone help???

many thanks

Link to post
Share on other sites

zedna says he was unable to get it working

can anyone help???

many thanks

Try to search (by Google for example) for

SHFileOperation and SHFILEOPSTRUCT and fAnyOperationsAborted to see how it is used in another languages/examples shared on the internet and also look at MSDN for details about this SHFileOperation API.

Edited by Zedna
Link to post
Share on other sites
  • 2 weeks later...

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...