Re: Tex-Edit: What OSAX is this using?
Re: Tex-Edit: What OSAX is this using?
- Subject: Re: Tex-Edit: What OSAX is this using?
- From: JJ <email@hidden>
- Date: Wed, 20 Nov 2002 11:55:55 +0200
>
This ran well in 9.2, but not in X. The problem line is:
>
set color of style run n to "#FF33DD"
>
So I need to know:
>
1) Does this script run vanilla in 9.2? I tried it in 9 and no go.
>
2) If not, which addition is it using? And is it available for X?
>
>
Try this:
>
>
tell application "Tex-Edit Plus"
>
activate
>
tell front window
>
repeat with n from 1 to count of style runs
>
set color of style run n to "#FF33DD"
>
end repeat
>
end tell
>
end tell
>
>
Tom Bender of Tex-Edit has assured me this uses an OSAX, but I did not know
>
it at the time.
>
>
Hope that makes sense . . .
There is not osax in this code. Also, works rigth here (OS 9.2.2, AS 1.8.3,
Tex-Edit 4.1.3).
Dictionary says: "or use RGB color"... Did you tried this (rgb, not hex)?
set color of style run n to {65535, 13107, 56797}
Anyway, it works fine here for both hex & rgb colors...
JJ
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.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.