Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

Applescript "Open without dialogs" still showing certain dialogs

$
0
0

I'm opening, running a script, and saving a long series of files via an applescript. (see the important part of the script below) Works great, but I'm still getting the occasional dialog when a file is missing an linked image or if I get an error "not enough memory to open illustration."

 

Is it possible to add a timer to any dialogs that do pop up, so they automatically cancel themselves.

Is it possible to suppress errors (if they aren't considered dialogs)??

 

Thanks,

Alex

 

 

 

tell application "Adobe Illustrator"

     try

          open (fileToOpen as alias) without dialogs

          on error error_string number error_number

     end try --end try to open in illustrator

                       

     try

          do javascript alias scriptJS -- runs the JS from the script file

          set returnedFullText to the result

          end try

     end tell


Viewing all articles
Browse latest Browse all 290743

Trending Articles



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