SetClient

From SCAR Divi Manual
Revision as of 02:56, 25 July 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function SetClient(const Client: TSCARClient): TSCARClient; </source> ==Availability== SCAR Divi 3.35 > Current ==Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function SetClient(const Client: TSCARClient): TSCARClient;

Availability

SCAR Divi 3.35 > Current

Description

Sets a given TSCARClient Client as the currently active target client for the script's execution. The previously active client is returned.

Example

begin
  SetClient(TSCARWindowClient.Create(GetDesktopWindow)).Free;
end.

See Also