Namespace: DuPSF

DuPSF

The Duduf Photoshop ExtendScript Framework.
by RxLaboratory and Duduf.
Version:
  • 0.0.1
Author:
  • Nicolas Dufresne and contributors
License:
  • GPL-3.0
    DuPSF is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    DuPSF is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with DuPSF. If not, see http://www.gnu.org/licenses/.

Example

// Encapsulate everything to avoid global variables!
(function()
{
     // Include the framework
     #include "DuPSF.jsxinc";
		DuPSF.init("The Script Name", "1.0.0", "RxLab");
})(this);

Members

static,readonlyDuPSF.versionstring

The Current DuPSF Version

Methods

staticDuPSF.init(scriptName, scriptVersion)

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14004
This method has to be called once at the very beginning of the script, just after the inclusion of DuPSF #include DuPSF.jsxinc
Name Type Default Description
scriptName string "DuAEF" optional The name of your script, as it has to be displayed in the UI and the filesystem
scriptVersion string "0.0.0" optional The version of your script, in the form "XX.XX.XX-Comment", for example "1.0.12-Beta". The "-Comment" part is optional.

staticDuPSF.setProgressMode(inProgress, showProgressBar)

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14023
Hides the layer and properties panel and other tweaks to make scripts run faster.
Name Type Default Description
inProgress Boolean true optional True to activate, false to deactivate progress mode
showProgressBar Boolean true optional Will show a nice progress bar if true