InDesign scripting (a bug?)
InDesign scripting (a bug?)
- Subject: InDesign scripting (a bug?)
- From: David Lloyd <email@hidden>
- Date: Wed, 10 Apr 2002 19:05:31 +1000
InDesign scripters;
Has anyone successfully set a page item to a color swatch in InDesign 2.0
for OSX? I have a script that works fine on OS 9.2.2, but crashes the
Indesign application in OSX 10.1.3:
tell application "InDesign 2.0"
tell document 1
set theRectangle1 to {make rectangle at end with properties {visible
bounds:{10, 10, 60, 60}, fill color:swatch "Box Color", fill tint:100}}
end tell
end tell
It seems that InDesign doesn't know about the swatch "Box Color", but it's
there. Or might there be a work around for this, i.e can the fill color that
shows on the tool bar be scripted?
Cheers,
David Lloyd
---------------------------------
email: email@hidden
web:
http://www.kanzu.com
---------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.