fit artboard to selected art in Applescript


i new applescript don't how use fit artboard selected art, can 1 me

screen shot 2016-05-30 @ 5.54.12 pm.png

screen shot 2016-05-30 @ 5.56.46 pm.png

this after, no need select items.

 

tell application "adobe illustrator"

tell document 1

set selectedart visible bounds

set artboard rectangle of artboard 1 selectedart

end tell

end tell



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

Error during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data. Support Information: SigDict /Contents illegal data

Sizing images of multiple resolutions for print on a page of one resolution