Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| transform [2017/12/17 04:07] – [How does it work] o2admin | transform [2023/10/28 23:50] (current) – [Release Notes] o2admin | ||
|---|---|---|---|
| Line 110: | Line 110: | ||
| * To eliminate any colour under 1% C:[ max(1, C) ] - Using ' | * To eliminate any colour under 1% C:[ max(1, C) ] - Using ' | ||
| * To gamma adjust an RGB color R:[ 255 * (R / 255) ^ gamma ] or R:[ 255 * (R / 255) ^ (1/gamma) ] | * To gamma adjust an RGB color R:[ 255 * (R / 255) ^ gamma ] or R:[ 255 * (R / 255) ^ (1/gamma) ] | ||
| - | | + | |
| + | === Extendscript === | ||
| + | {{:: | ||
| + | This will run Javascript code on each shape being transformed, | ||
| + | |||
| + | These are the variables passed to the code | ||
| + | | ||
| + | * previousShape {null|object}: | ||
| + | * index {number}: current selection index | ||
| + | * values {object}: object containing the values | ||
| + | * source {null|object} : source shape if duplicating | ||
| + | * copyCount {number}: copy count if duplicated or 0 | ||
| + | * copies {number}: Number to be duplicated | ||
| === Delete === | === Delete === | ||
| {{:: | {{:: | ||
| Line 258: | Line 271: | ||
| ==== Release Notes ==== | ==== Release Notes ==== | ||
| + | * **1.4.0** - October 2023 | ||
| + | * Added Extendscript code | ||
| + | |||
| * **1.3.1** - 17 December 2017 | * **1.3.1** - 17 December 2017 | ||
| * Requires PowerScripts 3.4.2 | * Requires PowerScripts 3.4.2 | ||