Skip to main content
YaoyongYu
Known Participant
June 3, 2017
Question

Why the PSEventAdapter do not work?

  • June 3, 2017
  • 1 reply
  • 954 views

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")

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
June 3, 2017

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

JJMack
YaoyongYu
YaoyongYuAuthor
Known Participant
June 3, 2017

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?

JJMack
Community Expert
Community Expert
June 3, 2017