MerlijnWajer/Simba — pull request #322 by Olly- (2014-11-15 03:54:33+00:00)
Title: Simba next fixed

These changes are for Lape:

Export TRadioButton (forms).

Added TPABorder (Thanks to Slacky), which is quite simple as it returns the border of a TPointArray.

Added GetChildWindows, this returns all child windows on a window this means we can now target much more from a script. This is a nice example on how you could use it.

```
var
Arr: TSysProcArr;
Childs: TChildWindowArr;
hwnd: PtrUInt;
begin
Arr := GetProcesses();
for i := 0 to High(Arr) do
if (SameText('Firefox', Arr[i].Title)) then
begin
hwnd := Arr[i].Handle;
break();
end;

Childs := GetChildWindows(hwnd);
for i := 0 to High(Childs) do
if (Childs[i].Width = 600) and (Childs[i].Height = 800) then // rs dimensions
begin
Writeln('found RS');
SetTarget(Childs[i].Handle);
Break;
end;
end;
```