Your T.S. Menu looks like this (note there are only two lines; your browser may wrap long lines):
/b
nr :outp "Thanks for your input.[]The ''Hofstadter-Moebius loop'' is actually very common in that type of computer.[][]R. Chandra"
But you might also want to run your macros from the TSM as well; not a problem. Let's say, you want to trigger your macro "Date-Time" with the trigger dt; here's how you would do that. dt :mac "Date-Time"
Now, when you invoke the TSM and hit 'dt', your macro runs instead of outputting text. But here's a nice little trick that you can do in QM. If you don't want to create a new macro, just code it in the TSM.
In QM you can run all the lines together by separating them with a semi-colon ';' instead of carriage-returns. Take your Date-Time macro for example. Here's your code:
str a
a.time("%c")
outp a
str a;a.time("%c");outp a
Now put that into your trigger line in your TSM like this:
dt :str a;a.time("%c");outp a
So have at it and I'll see you next time cause the hook always brings you back.
Lesson 1: The Text Sensitive Menu
No comments:
Post a Comment