Jump to content

Numbering instances


Recommended Posts

Hey, I'm using WinGetClassList() to retrieve the controls from a window, but I can't seem to number them by their instances.

Any ideas how I can do this? I'm thinking I can just use something to count all the times "Button" or something occurs in the list will do, but I don't know how to do that either, lol

Edited by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Link to comment
Share on other sites

  • Moderators

Hey, I'm using WinGetClassList() to retrieve the controls from a window, but I can't seem to number them by their instances.

Any ideas how I can do this? I'm thinking I can just use something to count all the times "Button" or something occurs in the list will do, but I don't know how to do that either, lol

http://www.autoitscript.com/forum/index.ph...c=32781&hl=

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...