Read very detailed events from Photoshop on the fly in human friendly format
- place all file inside one folder on your disk
- open "File > Scripts > Script Event Manager" in Photoshop
- Enable events
- Select Photoshop Event everything
- Select "Browse" in combobox for script and pick EventAnalyser.jsx
- Click add
- Click done
Now you should have ScriptListenerJSON.json file on your desktop about everthing what can Script Listener see plus something more.
You also can modify event analyser and trigger function if event fulfills some conditions. E.g. after you will create text layer with Comic Sans font you can trigger action
var isComicSans;
try{
isComicSans = descObject.make.using.textStyleRange[0].textStyleRange.textStyle.fontName == "Comic Sans MS";
}
catch(ignore){
isComicSans = false
}
if(isComicSans){
var result = confirm("Comic Sans? Rly?", false);
if (result == false) {
alert(":-)");
}else{
alert(":-(");
}
}