Paradoxium Posted May 27, 2012 Share Posted May 27, 2012 Is there a way to switch between active clients without having to do a keydown alt tab? I found procedure SetClientWindowHandle and GetClientWindowHandle but am not sure how to use them.. Thanks! Quote Link to comment Share on other sites More sharing options...
FHannes Posted May 27, 2012 Share Posted May 27, 2012 I'm not sure how you think Alt-Tab relates to SCAR... Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted May 28, 2012 Share Posted May 28, 2012 The Keyboard function of Alt+Tab does not have anything to do with scar. That keyboard function is from the operating system you are using probably called Windows. That function is in Windows operating system and not scar. So yaa there is nothing much to do on that sorry bud:/ Quote Link to comment Share on other sites More sharing options...
Sequence Posted May 29, 2012 Share Posted May 29, 2012 What about something like (I have no clue if this will work, or if I'm doing it right) [scar] program ClientSwitching; var w, h : Integer; procedure Client1; begin FindWindowTitlePart('RuneScape', true); ActivateClient; GetClientDimensions(w, h); WriteLn('Client1 has been opened...'); end; procedure Client2; begin FindWindowTitlePart('Google', true); ActivateClient; GetClientDimensions(w, h); WriteLn('Client2 has been opened...'); end; begin Client1; Wait(1000) Client2; end. [/scar] Quote Link to comment Share on other sites More sharing options...