Skip to main content
bagonterman
Inspiring
March 28, 2018
Question

Bring Focus back to scriptUI window

  • March 28, 2018
  • 0 replies
  • 411 views

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.

This topic has been closed for replies.