Copy link to clipboard
Copied
PSEventAdapter.getInstance().addEventListener(PSEvent.QUIT,PSCallback);
function PSCallback(csEvent) {
alert("quit")
}
<script src="js/jQuery v3.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/ps_host_adapter-2.0.js"></script>
<script src="js/CSInterface.js"></script>
<script src="js/main.js"></script>
IT CAN'T ALERT("QUIT")
Copy link to clipboard
Copied
The folder "C:\Program Files\Adobe\Adobe Photoshop CC 2017\Plug-ins" is where third Party Plug-ins are installed. What can you tell us about the PS Host Adapter plug-in? What is it part of its not a standard Adobe Photoshop plug-in? What kind of extension is it.
I see this reported HTML5 Extension that responds to application events?
https://forums.adobe.com/search.jspa?q=pshostadapter
Copy link to clipboard
Copied
Thank U。 I don't wanna deeper into this plugin, because I can also regist methods use the traditional registration. But I have a new question, how to capture that I removed a guide line from the document?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I am afraid You cannot see the guide changes from either .jpx or from .js. Seems like their exists on another ethereal plane.
But laugh on me and reveal the secret please!