• 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
Re: Tex-Edit: what's wrong with this variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Tex-Edit: what's wrong with this variable?
  • Next by Date: How to get Zero (0) before Month ?
  • Previous by thread: Re: Tex-Edit: what's wrong with this variable?
  • Next by thread: a little puzzled, quark script
  • Index(es):
    • Date
    • Thread