• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Why the PSEventAdapter do not work?

Community Beginner ,
Jun 03, 2017 Jun 03, 2017

Copy link to clipboard

Copied

QQ截图20170603192800.pngQQ截图20170603192835.png

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

TOPICS
Actions and scripting

Views

911

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jun 03, 2017 Jun 03, 2017

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

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 03, 2017 Jun 03, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2017 Jun 03, 2017

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 03, 2017 Jun 03, 2017

Copy link to clipboard

Copied

LATEST

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines