What is ^%AR_KEY% for?


Axel Berger
 

In my HTML clips autorepalce file I have the clip:

<
^!Keyboard BACKSPACE
^!InsertHtml &lt;^&

because a naked "<" is of course illegal. In certain cases I want to type
"<>" as a placeholder and marker for other clips. So I added an ^!If at the
start (the change in the last line is trying to see the error):

<
^!IfSame "^%AR_KEY%" ">" END
^!Keyboard BACKSPACE
^!InsertHtml &lt; ^%AR_KEY% ^&

The way I understand the help file on ^%AR_KEY% this should work, but it
doesn't. What does ^%AR_KEY% do exactly and why is it empty in the case
above?

Danke
Axel


--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --


Axel Berger
 

Axel Berger wrote:
The way I understand the help file on ^%AR_KEY% this should work
I've solved it. The main help says:
"Note that if the Clip contains the cursor-positioning code ^&, the
activating key is automatically discarded."
I knew that, but I had not expected that to evaluted right at the start
before the first line is run. So now this works:

<
^!IfSame "^%AR_KEY%" ">" right
^!Keyboard BACKSPACE
^!InsertHtml &lt;
^!GoTo END
:right
^!InsertHtml <

Danke
Axel

--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --