Screen Properties - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide

screen properties

Screen information
Table 4.81 screen properties — Properties
Property
angle
default screen
frequency
Example 58.1
-- PPD Screens
--
-- Make a new document
-- Get the PPDs
-- Get the name, and screens of the first PPD
-- For each screen, get the name, angle, and frequency
-- Display the results of the PPD info in a text frame
--
tell application "Illustrator CS"
activate
make new document
set PPDFiles to PPDs
set PPDName to name of item 1 of PPDFiles
set PPDProperties to get properties of item 1 of PPDFiles
set PPDScreens to screens of PPDProperties
set screensText to "Screens" & return
repeat with PPDScreen in PPDScreens
set PPDScreenName to name of PPDScreen
set PPDScreenAngle to angle of properties of PPDScreen
set PPFScreenFrequency to frequency of properties of PPDScreen
set screensText to screensText & tab & PPDScreenName & " - Angle: " &
PPDScreenAngle & ", Frequency: " & PPFScreenFrequency & return as string
end repeat
set textContents to PPDName & return & screensText
make new text frame in document 1 with properties {contents:textContents,
position:{20, 600}}
end tell
R/O
Value Type
real
boolean
real
12 Aug 03
What it is
The screen's angle
If true, it is the default screen
The screen's frequency
213

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents