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

Bring Focus back to scriptUI window

Engaged ,
Mar 28, 2018 Mar 28, 2018

Copy link to clipboard

Copied

I have a scriptUI window in Bridge that lets the user move from folder to folder using

if(pgInput.text!=""){app.document.setPresentationMode("browser",myPgLoc+pgInput.text);}

This works fine but I would like the focus to go back to the window after it's done. This event happens at

var myTxtInput=pgInput.addEventListener('change', function(){}

I am having a hard time finding a way to bring the focus back to the window. When I press tab it doesn't tab through the window it tabs in Bridge.

Any ideas on this would be greatly appreciated.

TOPICS
Scripting

Views

359

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
no replies

Have something to add?

Join the conversation