Last active
April 3, 2018 19:46
-
-
Save undavide/505fa755d2b40b75743466c914cb73f2 to your computer and use it in GitHub Desktop.
Interpolating parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JS file (panel) | |
var sharpeningStrength = 225, | |
highlightsProtection = 50, | |
midtonesProtection = 15, | |
shadowsProtection = 0, | |
oldAlgorithm = false, | |
copyrightString = "© John Doe 2018" | |
csInterface.evalScript('addSharpeningForWeb(' + | |
sharpeningStrength + ', ' + | |
highlightsProtection + ', ' + | |
midtonesProtection + ', ' + | |
shadowsProtection + ', ' + | |
oldAlgorithm + ', ' + | |
copyrightString + ')'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment