Setting a trigger to do underline or italics from a script

Posted by Sil on Sun 21 Dec 2003 04:26 PM — 5 posts, 17,775 views.

Poland #0
I know I can just check appropriate boxes in the triggers configuration window, but I want my script to do that.
There are no such options in SetTriggerOption and the only method I found is writing the trigger in the script with ImportXML function with "... make_underline="y" ..." in it.
Does anybody know any other way of setting on/off the underline and italics trigger options from a script?
Australia Forum Administrator #1
You are right, that seems to be the only way.

However it isn't that hard to do. You can make an example trigger in the GUI interface, click the "copy" button to get a template on the clipboard, and use that as an example of what to use in the ImportXML function.
Poland #2
Thanks for the info.
I know it isn't that hard, it's just kind of inconvenient because it involves a lot of typing.
Wouldn't it be nice if you add SetTriggerOption - make underline/italics to your "to do in the next version" list? :)
Amended on Mon 22 Dec 2003 12:19 AM by Sil
Australia Forum Administrator #3
Added as suggestion #504.
Poland #4
Thanks a lot :)