Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Simulate button press in script UI

$
0
0

I have a Script UI dialog box that is displayed within my script asking for user input on what to do next (two buttons).

 

However, because it is part of a batch script I'd like the script to automatically click a default buton after a predetermined amount of time so that the script doesn't hang up waiting for user input.

 

I'm good with creating the timer, but I haven't figured out how to make it run while the dialog is still displayed. It seems like I can get it to start timing either BEFORE the dialog is displayed or AFTER the dialog is closed, but not WHILE it is displayed.

 

Edit: is there an onLoad that I could add to the window element?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>