Difference between revisions of "SetClient"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function SetClient(const Client: TSCARClient): TSCARClient; </source> ==Availability== SCAR Divi 3.35 > Current ==Descripti...")
(No difference)

Revision as of 02:56, 25 July 2012

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