Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
graphic:javascript:photoshop [2021/12/11 13:50] – [My Photoshop Script] ying | graphic:javascript:photoshop [2022/09/26 15:11] – [Basic Javascript syntax] ying | ||
---|---|---|---|
Line 3: | Line 3: | ||
* JS ES3 (1999): photoshop js based on. | * JS ES3 (1999): photoshop js based on. | ||
* JS ES4 | * JS ES4 | ||
- | * JS ES5 | + | * JS ES5: .trim() |
* JS ES6 (2015): let const, arrow | * JS ES6 (2015): let const, arrow | ||
* JS 2016: array.includes() | * JS 2016: array.includes() | ||
Line 19: | Line 19: | ||
* check JS version: $.about() | * check JS version: $.about() | ||
- | * ref: https:// | + | * ref: |
+ | * https:// | ||
+ | * https:// | ||
====== My Photoshop Script ====== | ====== My Photoshop Script ====== | ||
Line 94: | Line 96: | ||
} | } | ||
</ | </ | ||
- | * after CS5 <code javascript> | + | * after CS5 <code javascript> |
+ | activeDocument.guides.removeAll() | ||
+ | </ | ||
Line 890: | Line 894: | ||
* so conclusion, if you are not stuck with old technology, and you willing to move to adobe CC version, HTML5 is the way to go for all new techs instead of Python fighting into adobe apps. | * so conclusion, if you are not stuck with old technology, and you willing to move to adobe CC version, HTML5 is the way to go for all new techs instead of Python fighting into adobe apps. | ||
+ | |||
+ | Update 2022: | ||
+ | * PS automation tech age: | ||
+ | * oldest: Actions (since v4) - macros by record and playback but no logic and no interface | ||
+ | * older: ExtendScript (AppleScript/ | ||
+ | * jsx - (js v3) | ||
+ | * old: CEP panel (Common Extensibility Platform) https:// | ||
+ | * html5 | ||
+ | * new and fresh: UXP (Unified Extensibility Platform) for PS 2021+ (v22) | ||
+ | * new js support | ||
+ | * ref: https:// | ||
+ | * https:// | ||
+ | * Building Plugins for Adobe Photoshop and XD using UXP: https:// | ||
+ | * Rundown of the UXP Announcement at MAX 2020: https:// | ||
+ | |||
+ | UXP feature: | ||
+ | * modern JS, new File API |