Sign in to follow this  
Followers 0
Danyiel92

How to make it works

14 posts in this topic

How can make this works WinKill("[CLASS:#32770]")

Share this post


Link to post
Share on other sites



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!"

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!"

Share this post


Link to post
Share on other sites

I mean.

How to kill all CLASS:#32770 without knowing the tittle.

Share this post


Link to post
Share on other sites

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!"

Share this post


Link to post
Share on other sites

Nothing happen.

Share this post


Link to post
Share on other sites

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!"

Share this post


Link to post
Share on other sites

#11 ·  Posted (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 by Danyiel92

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

I got the solution.

Close it

Thx

Edited by Danyiel92

Share this post


Link to post
Share on other sites

I got the solution.

Close it

Thx

That'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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0