前のページ
Navigation
次のページ
Class Photoshop export options:
Photoshop5ファイルとして、文書をエクスポートする
複数形
エレメント

プロパティ
color space Gray
RGB
CMYK
 
ファイルのカラー・スペース
resolution real  
ファイルの解像度
anti aliasing boolean  
アンチエイリアス使用(デフォルト: true)
write layers boolean  
レイヤーを保つ(デフォルト: true)
nested layers boolean  
ネスト・レイヤーを保つ(デフォルト: false)
hidden layers boolean  
隠れたレイヤーをエクスポートする(デフォルト: false)
embed ICC profile boolean  
ICCプロフィールを埋め込む(default: false)
サンプルスクリプト
property obj : {}
property pr : {}
property exfile : ""
property exportFileName : "export Photoshop file"

tell application "Adobe Illustrator 9.0.2"

make new document

set obj to make new star in document 1 with properties ツ
{center point:{100, 400}, radius:100, inner radius:39, point count:5}
set fill color of obj to {cyan:0, magenta:0, yellow:100, black:0}

end tell
tell application "Finder"


if not (exists (file exportFileName of desktop of startup disk)) then

set exfile to (((make new file with properties {name:exportFileName, file creator:"8BIM"} at desktop) as alias) as string)
update alias exfile
else
display dialog "既存ファイルがあるので書き出せません。終了します。"

end if

end tell

--準備おわり


tell application "Adobe Illustrator 9.0.2"
export document 1 to (alias exfile) as Photoshop ツ
with options {class:Photoshop export options ツ
, color space:CMYK ツ
, resolution:350 ツ
, anti aliasing:true ツ
, write layers:true ツ
, nested layers:true ツ
, hidden layers:true ツ
, embed ICC profile:false}
close document 1 saving no

end tell


クラスマップ


用語集目次
Adobe_Illustrator_9.0目次
ApppleScriptリンク
修正日 2001.6.4