5 Replies Latest reply on Nov 13, 2017 1:09 AM by Doug A Roberts

    Scripts in actions with no open documents

    Doug A Roberts Adobe Community Professional & MVP

      hello all,


      Might be rather a niche question but hopefully someone's in the same boat. I use a script every day that opens an AI file and embeds JPEGs in it, so i was rather hopeful that when Adobe announced they'd fixed the bug involving scripts in actions surviving restarts I'd be able to use an f-key for this.


      when i access the script from the file menu it doesn't matter if any files are open or none, the script runs as expected. however, recorded as an action (with Insert Menu Item) I get the message:


      'The object "ScriptName" is not currently available.'


      unless there is already an open document.


      Does anyone use this method to run scripts that either open documents or otherwise shouldn't require an open document? Have they worked or generated errors?