> I have always used an AutoIt script to handle confirmation dialogs > such as > "are you sure you want to permanently delete all the items and > subfolders in the Junk E-mail folder?" by automatically sending > the "Yes" response. > > It seems that this is now doable in PowerPro via the > HookWindowEvents technique, but after quite a bit of plowing through > the manual, I am not sure how to set it up. I know the window > caption when it pops up, and the window text and that I want to send > the keys "Alt-y" (the key sending part of PowerPro I understand fine > and use in other scripts). So, could someone please explain how I > would set up the HookWindowEvents command list (or even better a > free standing script, as I can then use that as a template for a > whole bunch of other confirmation dialogs I wish to deal with > automatically) so that when the confirmation dialog pops up, PPro > sees it and dispenses with it without any intervention on my part?
Unless this is just an exercise in HookWindowEvents, have you ever right-clicked the Recycle bin, and chosen properties? There's options in there for handling deletion of files... David Troesch | Atlanta, GA | ICQ# 2333123 Treat each day as your last; One day you will be right. Funstuff: * Lottery: A tax on people who are bad at math. ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
