fit artboard to selected art in Applescript
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
Post a Comment