color property of a shape or a font object

V

vdoser

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Power PC

hello,
I use applescript to change the color property, it looks like
"set fore color of line format of myshape to {100,0,0} as RGB color"
and worked ok in Word 2004 but fails in 2007. Although 2007 dictionary shows no difference to 2004's as for this property in Word model.
The same applies to the color of font...
What might be wrong?

Thanks in advance,
Serguei
 
J

JE McGimpsey

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Power PC

hello,
I use applescript to change the color property, it looks like
"set fore color of line format of myshape to {100,0,0} as RGB color"
and worked ok in Word 2004 but fails in 2007. Although 2007 dictionary shows
no difference to 2004's as for this property in Word model.
The same applies to the color of font...
What might be wrong?

No idea - it works fine for me in Word 2008 (not WinWord 2007).

Do you get any error messages? Are you sure you're defining "myshape"
properly?

Note that you've posted your message in a Macintosh Excel newsgroup.
 
V

vdoser

since i'm an applescript newbie I'd appreciate if you post a sample code that works for color property on both excels (2004 and 2007).

Serguei
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top