Older Newer
Sun, 08 Oct 2017 03:32:48 . . . . 107.77.92.115 [hostSig]


Changes by last author:

Added:
= 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 ==

<code>

%ffp

ForEveryTile:

{

Info("%d", hostSig);

if (hostSig == '8BIM')

Info("Host is Adobe Photoshop.");

return true;

}

</code>