Changing fill color in AppleScript action
I'm trying to figure out how to change the fill color of a clicked-on object in OmniGraffle by means of an AppleScript run as the action for the object. Can someone give me a simple example. I've sort of half-guessed the following, but it doesn't work:
[CODE]set the fill color of self to "red"[/CODE] I love AppleScript, but AppleScript dictionaries sure are hard to decipher. |
Well, I figured it out. You have to give the color as a set of RGB values like so:
[CODE]set the fill color of self to {65535, 0, 0}[/CODE] |
All times are GMT -8. The time now is 06:10 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.