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: Philippe GRUCHET <email@hidden>
- Date: Sun, 16 Feb 2003 15:54:41 +0100
From: Gnarlodious <email@hidden>
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
If this routine if for Tex-Edit Plus, then try:
tell window 1 of application "Tex-Edit Plus"
activate
set background color to black
set backgroundColor to background color
end tell
You cal also put colors properties in a list:
tell application "Tex-Edit Plus"'s window 1
set backgroundColor to {black, red}
set background color to backgroundColor's item 1
end tell
And so on...
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.