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 message "an output module failed. The file may be damaged or corrupted" when I try and export to external hard drive.