I frequently record Illustrator Actions. My actions are quite long, but they all involve three common steps:
I often need to re-record my actions to repeat all the steps, but to change the notes/swatches that are selected/assigned during the action.
Illustrator has a re-record command. This command is great for changing the value of the note in number 3 of my list. However, it does not work for items 1 & 2 in my list. For these items I have to delete the old step in the action and then record a new step with the new swatch/note.
This is quite cumbersome and I was wondering if there was a better way.
I know macros in Microsoft Office have an editor which allow you to change values in actions. Is there anything similar for Illustrator actions?
You can save an Illustrator action and open it in Text Edit. However, all the attribute/swatch values are saved as weird strings, so I don't know how to change them.
The reason you have not gotten many replies is because this is a scripting forum not an "actions" forum. Actions and Scripts are very different. I know to most they seem similar (as most people I work with make the same distiction).
If you want to dynamically assign notes and swatches to shapes the best way is through scripting. So, unfortunately, unless you want to learn to script there is no better way than to re-record that I am aware of.
If your interested in learning you can always invest some time into it. Here is a good place to start http://forums.adobe.com/message/4698555#4698555.
Thanks for taking the time to reply. Is there away to move this thread to the correct forum?
Thanks for the links. Do you know if there is a GUI like tool for creating scripts (wehre you can drag and drop functions)?
Do you know if there is a GUI like tool for creating scripts (wehre you can drag and drop functions)?
Oh that would be nice but Im affaid the answer is NO… Photoshop can output scriptlistener code from an optional plug-in ( action manager syntax ) you can read and edit parameters in that but there is NO such thing for AI unfortunatly… Big pitty as it allows much wider access for scripters… Here you have to learn and write it yourself… I have looked at the syntax of saved actions and there are a lot of things that are just not human readable and it would IMO be harder to edit than just re-record…
If you explain your routine further then may be someone here could help with a script for you? It don't sonud too difficult…