Scripting commands

The following is an alphabetical list of all scripting commands supported by Fotografix, along with their parameters (if any) and menu equivalent. Command names are case-sensitive and do not contain any spaces. Words in bold are parameters; acceptable values for these are listed in the Parameters column.

CommandParametersMenu equivalent / description
AddLayerMaskNoneLayer > Add Layer Mask
AddNoise amountamount = number (0 to 100)Filter > Miscellaneous > Add Noise
BlackWhite red green bluered, green, blue = number (0 to 100)Adjustments > Black & White
Blur radiusradius = numberFilter > Blur > Blur
BrightnessContrast brightness contrastbrightness, contrast = number (-255 to 255)Adjustments > Brightness/Contrast
ClearNoneEdit > Clear
ColourBalance red green bluered, green, blue = number (-255 to 255)Adjustments > Colour Balance
CopyNoneEdit > Copy
CutNoneEdit > Cut
DeleteLayerNoneLayer > Delete Layer
DesaturateNoneAdjustments > Desaturate
DeselectNoneSelect > Deselect
DiffuseNoneFilter > Stylize > Diffuse
DuplicateLayerNoneLayer > Duplicate Layer
EdgesAllNoneFilter > Find Edges > All
EdgesHorzNoneFilter > Find Edges > Horizontal
EdgesVertNoneFilter > Find Edges > Vertical
EdgesDiagNoneFilter > Find Edges > Diagonal
EmbossNoneFilter > Stylize > Emboss
FillFGNoneNo menu equivalent (Fills the selected region with the foreground colour)
FillBGNoneNo menu equivalent (Fills the selected region with the background colour)
FlipHNoneImage > Flip > Horizontal
FlipVNoneImage > Flip > Vertical
GradientMapNoneAdjustments > Gradient Map
Halftone radiusradius = number (1 to 100)Filter > Miscellaneous > Halftone
HideLayerNoneNo menu equivalent (Makes the active layer hidden)
InvertNoneAdjustments > Invert
Levels shadows midtones highlightsshadows, highlights = number (0 to 255)
midtones = number (75 to 125)
Adjustments > Levels
MotionBlur distancedistance = numberFilter > Blur > Motion Blur
MoveLayerDownNoneNo menu equivalent (Moves the active layer down in the layer stack)
MoveLayerUpNoneNo menu equivalent (Moves the active layer up in the layer stack)
NewLayerNoneLayer > New > Layer
NewLayerCopyNoneLayer > New > Layer via Copy
NewLayerCutNoneLayer > New > Layer via Cut
NightVisionNoneFilter > Stylize > Night Vision
Offset x yx, y = numberFilter > Miscellaneous > Offset
PasteNoneEdit > Paste
Pixelate levellevel = number (1 to 31)Filter > Miscellaneous > Pixelate
Posterize levelslevels = number (3 to 7)Adjustments > Posterize
RasterizeLayerNoneLayer > Rasterize Layer
RemoveLayerMask:Apply
RemoveLayerMask:Discard
NoneLayer > Remove Layer Mask
RevealAllNoneImage > Reveal All
SelectAllNoneSelect > All
SelectContract distancedistance = numberSelect > Modify > Contract
SelectEllipse x1 y1 x2 y2
SelectEllipse:Add x1 y1 x2 y2
SelectEllipse:Subtract x1 y1 x2 y2
(x1, y1) - (x2, y2) = numbers (bounding rectangle)No menu equivalent (Equivalent to the Elliptical Marquee tool)
SelectExpand distancedistance = numberSelect > Modify > Expand
SelectFeather radiusradius = numberSelect > Modify > Feather
SelectInverseNoneSelect > Inverse
SelectRectangle x1 y1 x2 y2
SelectRectangle:Add x1 y1 x2 y2
SelectRectangle:Subtract x1 y1 x2 y2
(x1, y1) - (x2, y2) = numbers (bounding rectangle)No menu equivalent (Equivalent to the Rectangular Marquee tool)
SelectTransparencyNoneSelect > Layer Transparency
SetLayerOpacity opacityopacity = number (0 to 100)
SharpenNoneFilter > Sharpen > Sharpen
ShowLayerNoneNo menu equivalent (Makes the active layer visible)
SolarizeNoneFilter > Stylize > Solarize
Threshold thresholdthreshold = number (0 to 255)Adjustments > Threshold
UnsharpMask amountamount = number (1 to 100)Filter > Sharpen > Unsharp Mask