• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
InDesign scripting (a bug?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: InDesign scripting (a bug?)
      • From: Peter Boctor <email@hidden>
  • Prev by Date: Re: Unique Items in a text file
  • Next by Date: Re: Activating applet or app?
  • Previous by thread: Re: Scripting Palm Desktop
  • Next by thread: Re: InDesign scripting (a bug?)
  • Index(es):
    • Date
    • Thread