Adobe 26001360 Scripting Guide - Page 133
make new text frame in layer nVPL of document 1 with properties, contents:Non-Visible
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 133 highlights
Adobe Illustrator CS Scripting Guide 133 -- Make new text frame in the new layer (non-visible) -- Make the new layer non visible -- Print all layers -- Print only visible layers -- Print only visible and printable layer to file -- set theDesktop to (path to desktop as string) tell application "Illustrator CS" activate make new document set the name of current layer of document 1 to "VPL" make new text frame in document 1 with properties {contents:"Visible and Printable", position:{200, 600}} make new layer in document 1 with properties {name:"VnPL", printable:false} make new text frame in layer "VnPL" of document 1 with properties {contents:"Visible and Non-Printable", position:{200, 500}} make new layer in document 1 with properties {name:"nVPL"} make new text frame in layer "nVPL" of document 1 with properties {contents:"Non-Visible", position:{200, 400}} set visible of layer "nVPL" of document 1 to false set printOptions to {class:print options, job settings:{class:job options, designation:all layers, reverse pages:true}} print document 1 options printOptions set printOptions to {class:print options, job settings:{class:job options, designation:visible layers, reverse pages:true}} print document 1 options printOptions set printOptions to {class:print options, job settings:{class:job options, file path:(theDesktop & "printfile.ps" as string), designation:visible printable layers, reverse pages:true}} print document 1 options printOptions end tell 12 Aug 03