Re: Tex-Edit: what's wrong with this variable?
Re: Tex-Edit: what's wrong with this variable?
- Subject: Re: Tex-Edit: what's wrong with this variable?
- From: John Stewart <email@hidden>
- Date: Sat, 15 Feb 2003 17:12:16 -0500
On Saturday, February 15, 2003, at 01:32 PM, Gnarlodious wrote:
Can someone tell my why this won't work? Is there some "variable
conversion"
trick I need to turn Tex-Edit's internal color "black" into the
results of
the variable "backgroundColor"?
set backgroundColor to "black"
tell application "Tex-Edit"
activate
tell the front window
set background color to black -- this is OK
set background color to backgroundColor -- this is unOK
End tell
-- Rachel
http://www.Spectrumology.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.
In this case "black" is a string not a color, using an RGB color
specification works just fine.
set backgroundColor to {0, 0, 0}
tell application "Tex-Edit Plus"
activate
tell the front window to set background color to backgroundColor
end tell
john
_______________________________________________
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.