Danyiel92 Posted March 30, 2010 Share Posted March 30, 2010 How can make this works WinKill("[CLASS:#32770]") Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 30, 2010 Share Posted March 30, 2010 Please don't double post. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
GEOSoft Posted March 30, 2010 Share Posted March 30, 2010 Please don't double post.I agree but in all fairness, judging by the post times, it looks like he clicked the Post button twice. New poster and I'm sure he will take greater care in the future. If not then we know what to do. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 31, 2010 Share Posted March 31, 2010 Well, don't act like I bit his head off. I helped him in the other topic. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
GEOSoft Posted March 31, 2010 Share Posted March 31, 2010 Well, don't act like I bit his head off. I helped him in the other topic. Now would I do that to you?? <mumble> Just give me the chance.</mumble> And I had read the other thread first BTW, so I was just being kind to a new poster, just like I may even be nice to you someday. <mumble don't hold your breath.</mumble> George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 31, 2010 Share Posted March 31, 2010 Is it that time of month, Georgette? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Danyiel92 Posted April 1, 2010 Author Share Posted April 1, 2010 I mean. How to kill all CLASS:#32770 without knowing the tittle. Link to comment Share on other sites More sharing options...
GEOSoft Posted April 1, 2010 Share Posted April 1, 2010 Start with $aArray = WinList("[class:32770]") That should return an array of all the existing Dialog Windows and their handles. You should be able to process them from there. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Danyiel92 Posted April 1, 2010 Author Share Posted April 1, 2010 Nothing happen. Link to comment Share on other sites More sharing options...
GEOSoft Posted April 1, 2010 Share Posted April 1, 2010 Nothing happen.Did yu have any dialo windows open? Did you test $aArray with _ArrayDisplay() to see if any Dialog windows showed up? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Danyiel92 Posted April 1, 2010 Author Share Posted April 1, 2010 (edited) Did you mean #include <Array.au3> $avArray = WinList("[CLASS:#32770]") _ArrayDisplay($avArray, "$avArray as a list classes in window") It show classes in window. And how to ProcessClose them with Winkill function? Edited April 1, 2010 by Danyiel92 Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 1, 2010 Share Posted April 1, 2010 Step through the array with a For/Next loop to operate on each one by window handle: For $n = 1 To $avArray[0][0] WinKill($avArray[$n][1], "") Next Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Danyiel92 Posted April 9, 2010 Author Share Posted April 9, 2010 (edited) I got the solution. Close it Thx Edited April 9, 2010 by Danyiel92 Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 10, 2010 Share Posted April 10, 2010 I got the solution.Close itThxThat's not the most polite method to end a topic, as we want the topics to be useful for future searching:What solution worked for you? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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