Applescript, XMP, and custom namespaces


having had switch gears js solve database integration problem, use getting specific xmp out of ai files via applescript. extracted indesign forums... doesn't work illustrator (gives error "expected expression found property")

 

tell links

            set inhouseclient property link xmp namespace "http://ns.inhouse.com/inhouse" path "client"

end tell

 

i know can dump whole xmp string with:

 

set xmpstringdata (get xmp string of current document)

 

but i'd rather first example. if in js, i'd use

var property = myxmp.getproperty(propertyuri, propertyname, xmpconst.string);

the syntax looks pretty close first applescript, why choking on "property" when inside "tell illustrator" when works inside "tell indesign"?

have looked @ possibility of using "do javascript" command?  manual

 

do javascript

executes javascript script , returns result of execution.



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support