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

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"