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

Stop window.onActivate activating continually

Engaged ,
Jan 22, 2021 Jan 22, 2021

I have a dialog in which a checkbox.onClick function is called when the dialog (window) is activated, using window.onActivate.

 

The checkbox.onClick function fires File.openDlg the first time it is triggered, but returns immediately every subsequent time.

 

The window.onActivate function also returns immediately every subsequent time it is triggered.

 

The challenge is that the window.onActivate event seems to be triggered every time there is any activity in the window.  I expected it to be triggered only following the .onShow event.

 

I need the File.openDlg window to appear on the same screen (on a multiple screen system) and within the bounds of the dialog window.

 

Thoughts?

TOPICS
Actions and scripting
314
Translate
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
People's Champ ,
Jan 22, 2021 Jan 22, 2021

Without the script code, it is difficult to understand what you are doing and what is not working for you.

Unfortunately, I have no physical ability to check any scripts on several screens.

But maybe that's not the problem.

Translate
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
Engaged ,
Jan 27, 2021 Jan 27, 2021
LATEST

It's not the problem.

 

Back in teh days of punched cards and paper tape I used to diagnose problems with code over the telephone.

Translate
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