herewasplato Posted March 22, 2006 Posted March 22, 2006 (edited) I've been pestering BigDod via PM, asking him to try some variations - but I might as well post these steps here anyway:I do not think that the steps that lead to a crash are all that clear:Enable "Show pop-up description for folder and desktop items"[via explorer > tools > folder options > view tab near the bottom]place a text file on your desktop...place the au3 script that MHz* posted on your desktopopen/edit it with SciTEselect run or beta run (both crash)select "generate report" from the GUI(a file open dialog box should open)cancel that boxselect "generate report" againnow, within the file open dialog box - mouse over a text file...when the popup from the OS attempts to come up - the AutoIt GUI crashes...*I like the OnAutoItExitEdit: Desktop Interface = Windows Classic (Modified) Edited March 27, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size]
ChrisL Posted March 23, 2006 Author Posted March 23, 2006 As a followup, this crashes in shell32.dll which means it's Microsoft's bug. I don't have the current debug symbols for shell32.dll or I could pin-point it further.Somebody should consider A) Test this on other versions of Winodws using notepad. Report to Microsoft.I've reported it [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
BigDod Posted March 23, 2006 Posted March 23, 2006 I've been pestering BigDod via PM, asking him to try some variations - but I might as well post these steps here anyway: I do not think that the steps that lead to a crash are all that clear: Enable "Show pop-up description for folder and desktop items" [via explorer > tools > folder options > view tab near the bottom] place a text file on your desktop... place the au3 script that MHz* posted on your desktop open/edit it with SciTE select run or beta run (both crash) select "generate report" from the GUI (a file open dialog box should open) cancel that box select "generate report" again now, within the file open dialog box - mouse over a text file ...when the popup form the OS attempts to come up - the AutoIt GUI crashes.. *I like the OnAutoItExitStill no crash here. BTW It was not pestering I was and am pleased to help. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Valik Posted March 23, 2006 Posted March 23, 2006 I've reported itHow? Did you find something this guy couldn't?
ChrisL Posted March 23, 2006 Author Posted March 23, 2006 How? Did you find something this guy couldn't?Emailed a contact link on the microsoft site, then later spoke to someone on the phone and just told them how to re-create it, they just said that they would look at it and may need to ring me back.Dear Chris, Thank you for contacting regarding the issues that you have encountered with your Microsoft® Windows XP software. Due to a variety of factors that could have brought this about, it would be necessary for you to speak to a Microsoft Support Technician, who would be in a position to establish if this is in fact a bug within the software and also, if it is previously known to us. I am referring you to a technician, as I am a Customer Service Representative and do not have the technical expertise to advise you on this issue. I assure you that our technicians can provide you with more appropriate information. You can contact our Technical Support Team on 0870 60 10 100. The lines are open from 8AM to 6PM, Monday to Friday excluding public holidays. You may also wish to post your opinion on our Newsgroup web site at the following website, or alternatively chat with one of our Most Valuable Professionals (MVPs): http://support.microsoft.com/newsgroup/default.aspx Thank you for getting in touch. Kind Regards, Geetha ShivakumarCustomer Service ProfessionalMicrosoft Customer Services [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
jpm Posted March 26, 2006 Posted March 26, 2006 The problem come from the fact the guimsg loop is blocked by the FileOpenDialog. No AutoIt instruction are executed until the end of the first execution. Using GUIOnEvent mode solve this issue#include <GUIConstants.au3> Opt("GUIOnEventMode",1) GUICreate("Directory Compare", 831, 569, -1, -1) GUISetOnEvent($GUI_EVENT_CLOSE,"ExitGUI") $Report = GUICtrlCreateButton("Generate Report", 510, 510, 160, 20) GUICtrlSetOnEvent($Report,"OpenDialog") GuiSetState() While 1 Sleep(10) WEnd Func ExitGUI() Exit EndFunc Func OpenDialog() FileOpenDialog ("test",-1, "(*.*)") EndFunc It is never good to block the message loop of the GUI
ChrisL Posted March 26, 2006 Author Posted March 26, 2006 JPM it is a bug in windows, I can do it with notepad like Valik said. On my laptop and on my home PC. If I turn off the discription popups then no problem [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
herewasplato Posted March 27, 2006 Posted March 27, 2006 @jpm,The XP OS crashes your script also - on my systems.To crash notepad on XPEnable "Show pop-up description for folder and desktop items"[via explorer > tools > folder options > view tab, near the bottom]place a text file on your desktop...open that file via notepadselect file > open(a file open dialog box should open)cancel that boxselect file > open againnow, within the file open dialog box - mouse over a text file...when the pop-up from the OS attempts to come up - notepad crashes on some systems...the text file must be on the desktopthe file open dialog box must start in the desktop folder"pop-ups" must be enabledDoes notepad crash for you? [size="1"][font="Arial"].[u].[/u][/font][/size]
jpm Posted March 27, 2006 Posted March 27, 2006 @jpm, The XP OS crashes your script also - on my systems. To crash notepad on XP Enable "Show pop-up description for folder and desktop items" [via explorer > tools > folder options > view tab, near the bottom] place a text file on your desktop... open that file via notepad select file > open (a file open dialog box should open) cancel that box select file > open again now, within the file open dialog box - mouse over a text file ...when the pop-up from the OS attempts to come up - notepad crashes on some systems... the text file must be on the desktop the file open dialog box must start in the desktop folder "pop-ups" must be enabled Does notepad crash for you?Thanks I agree It crash my GUIOnEvent script and also the notepad without any assistance of AutoIt script. Glad to know that I cannot do anything on this Windows Problem.
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