JavaScript Operation

This document operation contains a JavaScript code that is executed when the operation is run. The code can access the active document and multiple of global objects.

The actual global objects and interfaces accessible from the JavaScript code may depend on the application you are using and the current document.

Also check out the video tutorial related to scripting.

Global objects

Common

These global objects are likely to be available regardless the application used.

Raster Image

Internals

GUID: AC42806D-4914-42B8-B321-B77D5039B01C

Parameter nameTypeDefaultValueNote
ScriptstringJavaScript code performing the operation
CfgScriptstringJavaScript code initializing configuration dialog

speech bubble iconRecent comments

user iconAnonymous on May 7th 2011 0

I am Sloan Gardner. I thought I would have to do the blending myself, but it can be done for me! 😊

user iconPacManSikaT on November 24th 2011 0

? :-O

user iconAnonymous on November 4th 2013 0

I'm a big NOOB, aparently. How do I run a script?

user iconThe_Creator on November 27th 2016 0

What command do I put in to make something move.

user iconAnonymous on August 8th 2018 0

Any example to use JS in modify style??

user iconnibbler on February 6th 2019 0

How do you add the script to the toolbar? I don't see any button to do that.

user iconnibbler on February 8th 2019 0

nevermind

user icon