The problem is centered around a macro I am trying to create for game play.
The initial game window itself does have a name, when I try and find it using "view system window" it is listed under (number) - "IME Default". To get the macro to find the initial game window I use:
Remark>Get Window
GetActiveWindow>window_title,x,y
Add>x,1
Add>y,1
MouseMove>%x%,%y%
LClick
This works and I get the initial game window. However, that only gets me the main window, if I open pack or want to use a toolbar, which I beleive to be a child window it does not work.
I have tried sending ASCII, charater/text, Send>, movemouse>...none of which seems to work in the "other" windows.
I have also tried to use "code" from this site to get the chicl window but the message that gets returned is 0,0 and no child window name.
Any suggestions?
Thanks in advance.
Problem gettting child window names.
Moderators: JRL, Dorian (MJT support)
OK, remember
a) you've meet a group of girls last night
b) but you can't remember your favourites name.
How would you descripe her?
Buddy, I've meet a girl without a name ...
Guess no.
Buddy I've meet a girl with nice blonde/brown/black hair and a tiny little nose.
That's the way it is with windows!
No name to detect, but their appearance should be different enough to descripe/handle them with GetPixelColor>, WaitPixelColor>
Just an assumption
a) you've meet a group of girls last night
b) but you can't remember your favourites name.
How would you descripe her?
Buddy, I've meet a girl without a name ...

Guess no.
Buddy I've meet a girl with nice blonde/brown/black hair and a tiny little nose.

That's the way it is with windows!
No name to detect, but their appearance should be different enough to descripe/handle them with GetPixelColor>, WaitPixelColor>
Just an assumption

Re: Problem gettting child window names.
Set GAW_TYPE to 1.
The help file says:
"If GAW_TYPE is set to 1 (default is 0) this command will retrieve information about the active child window of the active foreground window. For default behaviour set GAW_TYPE back to 0."
Remark>Get Window
Let>GAW_TYPE=1
GetActiveWindow>window_title,x,y
Let>GAW_TYPE=0
Add>x,1
Add>y,1
MouseMove>%x%,%y%
LClick
The help file says:
"If GAW_TYPE is set to 1 (default is 0) this command will retrieve information about the active child window of the active foreground window. For default behaviour set GAW_TYPE back to 0."
Remark>Get Window
Let>GAW_TYPE=1
GetActiveWindow>window_title,x,y
Let>GAW_TYPE=0
Add>x,1
Add>y,1
MouseMove>%x%,%y%
LClick