hostSig

Syntax

int hostSig

Description

The host application provides its signature in this variable. Adobe Photoshop’s signature is '8BIM' (0x3842494D, or 943868237). In theory, you can check for Photoshop as the host application with the following code; however, some other ill-behaved hosts also set hostSig to '8BIM'.

Example

%ffp

ForEveryTile:
{

  Info("%d", hostSig);

  if (hostSig == '8BIM')
    Info("Host is Adobe Photoshop.");

  return true;
	
}