Illustrator - Check if Action is loaded, if not, load it.

Hi there

I’d like to know, how to check, if an Action-Set in Adobe Illustraotr (CC, or CC2014) is loaded, if not, load the “.aia” file.

Here is what I got so far:

tell application "Adobe Illustrator"
	load action "/Users/mac50/Desktop/VectorAction.aia"
end tell

But I get an error:

“Illegal argument - argument 1 - Required value is missing”

Is this even possible?

Thank you in advance



according the dictionary the syntax is

load action action file path "/Users/mac50/Desktop/VectorAction.aia"

Thank you very much, works great!

Is there a way to check if an action is loaded?