Older Newer
Mon, 20 Jan 2020 03:01:31 . . . . SyneRyder [Initial constant definition]


Changes by last author:

Added:
= doingScripting =

== Syntax ==

bool doingScripting

== Definition ==

doingScripting is true if the filter is running via Photoshop's scripting mechanisms, and false if the filter is applying the effect to the image in the host program (with or without a dialog).

With the doingScripting variable you can check if the filter is running in scripting mode (ie without a UI dialog window, with parameters passed directly from Photoshop).

== Example ==

<code>

if (doingScripting) {

// get scripting parameters here

}

else {

if (doingProxy) {

// Code for managing UI dialog

}

}

// Image processing code here

</code>

== See Also ==

Constants, doingProxy