Flyboy
2012-02-14 23:27:50
As I have been gone from SRL for a long time, it is taking me a bit to wrap my head around Simba in some key areas. Any chance one of you could point me in the right direction.
I am currently writing a script that plays a Facebook game but got stuck trying to figure out how to play multiple players at the same time using either a tab or separate window for each player, then letting the script switch between windows to play each player.
I can't find the client controls in Simba that were in old SCAR. Some of the commands I'm thinking of are:
Ideally I would love to see someones existing script that handles the issues of using multiple fb accounts, as I suspect I will need to link the game with a specific cookie to log in as different people.
I am currently writing a script that plays a Facebook game but got stuck trying to figure out how to play multiple players at the same time using either a tab or separate window for each player, then letting the script switch between windows to play each player.
I can't find the client controls in Simba that were in old SCAR. Some of the commands I'm thinking of are:
FindWindow(Title: string);
function FindWindowTitlePart(Title: string; CaseSensitive: Boolean): Boolean;
function FindWindowBySize(Width, Height: Integer): Boolean;
procedure ActivateClient; - This one is still there.
function GetClientWindowHandle : Integer;
procedure SetClientWindowHandle(H: Integer);Does Simba have other commands that replace these? An example script would rock to learn from… Ideally I would love to see someones existing script that handles the issues of using multiple fb accounts, as I suspect I will need to link the game with a specific cookie to log in as different people.