FAQ 2
=====

---> Question

Kann RK ber Short-cuts gestartet werden und die Buttons per Shortcut
aktiviert/gestartet werden?

E.S.

---> Answer

Shortcuts werden von RK nicht untersttzt.
Ich habe zwar auch schon darber nachgedacht,
ich wei aber nicht, ob ich es einrichten werde.
Denn schlielich steht es ein wenig im Widerspruch
zu der Phylosophy von RK: "weg von der Tastatur
und hin zur Maus".
(Anm.1/01: Umfangreiche Shortcuts-Funktion verfgbar unter "Ereignisse > Tasten")

--------------------------------------------------------------------

---> Question

So far, I have mainly tried the RemoteKeys for "Special chars".  It works flawlessly with
WordPerfect 8, Quattro Pro 8, WordPad, Notepad, WordTabs and NoteTab Light, but I
have not been able to get it work at all with Outlook Express 5.  Thus, in writing this e-mail,
I produced the the "" character in your last name using <ALT><132> rather than using
RemoteKeys. Can you advise what I should do to activate RemoteKeys under Outlook
Express 5?

As a secondary question, I experience quite a few display problems with RemoteKeys --
in the sense that buttons and text areas are too small to display their associated text. I can
probably fix this by varying font size under "Display Properties", "Settings", but this would
be unfortunate, so I thought I should first mention this to you just in case you are aware of
something else that can help.

R.G.

---> Answer

I am sorry that I dont know enough about Outlook because I use Netspace for email. 
But I have an installation on my system (from Office 2k) and so I choosed "new email" 
and had no problems to send some characters to the client.
(Anm.1/01: Send problems to Outlook Express fixed now)
But sometimes there are application which use hidden windows in a big window (MDI-type). 
So normaly it is not possible to fill an internet form with Netscape or IExplorer because RK gets
a wrong information which window it has to give back the focus. Therefore I designed the
function "Form Activator" you can reach in the systray menu. Maybe this could help if you
switch this function on?
(Anm.1/01: These problems are fixed now)

I hope to can help you for your 2nd problem. It is possible to change the displayed font. 
There is a change font command. You can design an own button with it but first I would 
try this: Switch to Standard profile. In the right bottom corner you see a button called "font". 

--------------------------------------------------------------------

---> Question

Mein Ziel: Makros, um meinen Drucker auf Probeausdruck bzw. HighQuality 
umzustellen.
Es geht leider schon das einfachste nicht.
Beispiel: 
Start, Einstellungen, Drucker
kann man ja mit den Tasten machen:
Windowstaste (die rechts neben ALT GR)
E (fr Einstellungen)
D (fr Drucker)
macht man das per Hand, ist dann das Druckerfenster offen.
Zeichne ich ein Makro auf und spiele es ab, passiert alles mgliche (nicht immer 
das gleiche) nur nicht das gewollt.

Wenn ich fr die Menuwahl "Einstellungen" und "Drucker" statt der Buchstaben 
Pfeiltasten zum hincursorn und Enter verwende, fhrt dies leider auch nicht zum 
Ziel.

W.S.

---> Answer

Funktionen, die in Kombinationen mit der Windows-Taste laufen, sind in der
Tat nicht durchfhrbar, da Krzel-Tasten dazwischenhauen.
Also Window+E soll ja den Explorer starten, statt dessen wird der Men-
Punkt "E" (fr Einstellungen) im Startmen angewhlt. Allerdings nur unter
einer Voraussetzung, und zwar mu die automatische Aktivierung der Anwendung,
von der man kommt, ausgeschaltet werden. Der Befehl dafr ist auch gleich der
erste in der Befehlsliste und lautet
{/APP.ACTIVATION.OFF}
Dieser Befehl ist nur gltig fr diese Knopfbelegung, in der er definiert wurde  und
mu nicht wieder separat eingeschaltet werden (es sei denn zu einem spteren
Zeitpunkt auf dem selben Knopf).
Nun funktioniert auch die hincursorn-Sache, geht aber auch krzer mit folgender
Sequenz:
{/APP.ACTIVATION.OFF}{/SEND.KEY 91}ed
Ich wei nun nicht, wie Du ab jetzt weiter vorgehen willst, aber ich glaube, Dein
Hauptproblem sollte damit behoben sein.

--------------------------------------------------------------------

---> Question

Mich wrden  Variablen interessieren (/A1$,A2$.... /A1,A2...> ) welche schnell
gespeichert werden knnen und im Text mitgesendet werden.
Evtl noch Stringverarbeitung (LEFT$,RIGHT$,MID$)

T.R.

---> Answer

Die Idee ist nicht schlecht und ich werde mir mal Gedanken
ber eine Realisierung machen.
Z.Z. ist folgendes mglich:
Es gibt eine Zahlenvariable mit diversen Operationen, die mit
dieser Variable arbeiten /VAR.SET, /VAR.ADD u.s.w.
Damit lieen sich z.B. Whrungsumrechnungen in Excel
realisieren u.a.
Fr Textangelegenheiten gibt es einen Input-Requester:
/SEND.TXT.ASK. Damit knnen Sie quasi in einen
vordefinieren Textblock Textvariablen unterbringen,
die dann whrend des Sendens der Knopfbelegung
mit einem Inhalt belegt werden knnen. Im Store-Profile
gibt es ein Demo mit der Beschriftung "Input".

---> Answer II

Es gibt jetzt 10 String Variablen: /STR.SET.0 bis /STR.SET.9 zum
Definieren und entsprechend /STR.CALL.0 bis /STR.CALL.9 zum
Abruf. Der Befehl /STR.CLR lscht alle 10 Variablen.
Im Store-Profile ist ein Andendungsbeispiel (Str Set und Str Call).
(Anm.1/01: Systax inzwischen gendert)

--------------------------------------------------------------------

---> Question

Ich brauche folgende Datum/Zeit Formate:

TIME=02-07-09  (2 uhr- 7 Minuten- 9 sekunden)
DATE=00-04-19

T.R.

---> Answer

Die DAT-Anweisung richtet sich nach Ihren
Windows-Einstellungen. Unter Lndereinst/Datum
knnen Sie das Format bestimmen. Bei mir ist es
auf TT.MM.JJ gestellt.
(Anm.1/01: Man kann sich heute spezielle Formate durch
Einzel-Anweisungen zusammensetzen)

---> Reply

Mit den Lndereinstellungen geht es, damit ist mein
Problem erledigt.

T.R.

--------------------------------------------------------------------

---> Question

I want to place a button on my webpage, that will copy the selected text to
the clipboard. I was wondering if you could tell me if this is possible, and
if so, how I may go about doing it.

J.W.

---> Answer

In most of all applications the selections can
be copied into the clipboard by CTRL+c.
This can be stored on a RK button like
{HOLD.CONTROL}c
Normally this works very fine.
But to offer this button or function on a
webpage is very much complicated and can
only be done (so far I know) by using JAVA
(browser handling) or Perl (server handling, cgi).
...

--------------------------------------------------------------------

---> Question

1. How can I discern the source code in the "edit 
keys" window? I have recorded a fairly long macro, and 
it needs to be edited for some keystroke mistakes I 
made. However, I can't read how the keyboard is mapped 
to the source code. Can you help me on this? 

2. At a later date I tried re-writing the macro, using 
a different key assignment and the macro recorder. For 
some reason the macro recorder inaccurately records the 
keystrokes resulting in ineffective commands sent the 
to the program I am using (Finale 2000). Earlier, the 
recorder accurately recorded all keystrokes and 
combinations, but now it records inconsistently. Could 
I have activated some protocol that I am unaware of?
I have an idea that there are a number of Finale users 
who would like your program very much. Finale is a very 
command-intensive scoring program for composers and 
musicians. Finale has many deep functions in which a 
macro program can be useful. The software is produced 
by CODA ( http://www.codamusic.com ) 

L.G.

---> Answer

1. RK works with ascii codes and key codes, but
the macro recorder use the key codes only.
It is a standard like ascii and ansi but not far away.
If you need single values you can use the Help and
check.exe (in the same folder as RK) but for a
complete list I think you will find a freeware appl.
which produces a complete map.

2. I am sorry but I dont know the reason for the
2nd problem. The question is if all keystrokes and
mouse-clicks are well recorded or the playback
result is incorrect. If there is a playback problem
maybe the form activator selection could be a
reason.

---> Reply

Thanks for the tip. I was able to type the offending 
keystrokes in the help.exe box to see the key code, 
>From there I could trace the problem and correct it. 
Thank again.

--------------------------------------------------------------------

---> Question

Nach mancher Makros verliert der Num-Block
seine Funktion (Es funktionieren nur noch die Cursor-Funktionen
und es kann nicht mehr auf die Nummerntasten umgeschaltet werden.
Manchmal hebt sich dieser Fehler bei erneutem durchlaufen des
Makros wieder auf.

Wir arbeiten bei uns mit Windows-NT.

H.S.

---> Answer

Das Num-Lock-Problem unter NT ist mir bekannt, denn ich habe
es selbst bei mir in der Firma, und zwar ausschlielich, wenn ich
unter Rumba auf unsere AS400 zugreife.
Auf den PCs sollen demnchst BIOS-Updates stattfinden, so da
sich die Num-Lock-Taste nach dem Boot-Vorgang (und der
Intranet-Verbindung) nicht mehr ausschaltet. Vielleicht wirkt sich das
ja auch auf RK positiv aus.

--------------------------------------------------------------------

---> Question

I need a program to take and send a text file of numbers
into a windows application.
Can Remote Keys be configured to do this?  The text file is
a sequence of numbers, each on a separate line and the
keystrokes that need to be sent are the digits followed by
the carriage return or Enter key.

---> Answer

I dont know exactly what you need but I think that
RK can make the job for you.
You can "take" something by using the integrated macro
recorder and you can "sent" anything which is pre-defined in
one of the 5000 RK-memories or to "sent" something what
is written in a text file or to "sent" something what is been in
the clipboard or to "sent" something what is been in a variable
of RK or to "sent" a lot of numbers which are generated by
RK. Puh, I think this is a lot of possibilities.

It is possible to generate something like that:

1:
2:
3:
4:
5:

The collection of RK-commands for this job is like this:
{/VAR.SET 0}{/LOOP.START.VAL 5}{/VAR.ADD
1}{/VAR.SEND}:{KEY.ENTER}{/LOOP.END}
(Anm1/01: still works but use topical commands instead)

That meens:

VAR=0
DO WHILE VAR<5
    VAR=VAR+1
    PRINT VAR + ": " + CR  (PRINT meens SEND to any application)
LOOP

---> Reply

The example you gave is great - just not what I need.
I am a schoolteacher who has to use a program that the school has
for me.  We just got a new test scanning machine which can read
answer sheets and generate a text file with the scores in them - a
column of numbers in a text file.  The grading program has no import
ability so I am looking for ways to read the text file in and then
mimic pushing the keyboard keys to fool the grading program that I
am sitting there hitting the keys on the keyboard.  I have been able
to open the file and read it into the clip and strip off the ASCII
code 10 (linefeed???) as in the examples in the buttons.  I even
used the trim command to eliminate extra spaces and junk.  When I
send the data to the program there are a whole lot of leading things
coming into the program.  I tried writing it to a notepad document
and I get a blank line as the first thing rather than the first
character of the file (I think the notepad program is ignoring the
non-ascii characters it gets).  The /clip.text.send is adding a
number of extra characters that are killing my effort.

The project is read in a score from the text file - write it to the
window followed by <cr> till no more scores remain in the text file.

any ideas?

---> Answer

Yes I think to know what a kind of application you use.
It seems to be a test program like using in driving schools,
the studend has to choose one answer of three and maybe he is
right or not. The output is written in a textfile and the programm
which checks the answers to find out the addition of correct/wrong
answers has no import option so you have to simulate the input
like using a keyboard. I hope this is what you meen.
I dont know if I have an interessting idea for you but I will write
down some ideas I had when I think about your problem.
- I think it should be a good idea to find a hexcode viewer.
I use Hex Workshop from
http://www.bpsoft.com/
This software gives you the ability to analyse all characters of
a file to check if there are ascii codes 0 or 10... included.
I dont know if RK generates any "leading things" (you talk about)
or if the problem comes in an earlier moment when you copy something
into the clip?
- Did you find the clip history function of RemoteKeys?
Click with the right button on RK icon in systray. If there are
any ascii codes in the clip which are not real characters they are
shown as black beams. You are able to cut them manually because
the clip interface is edit-able.
- Did you check to send the clip by CTRL-v? (Also possible with RK).
Maybe the result is better?
- Maybe you are missing a converter in RK which changes "ab" to
the RK-commands {/SEND.KEY 65}{/SEND.KEY 66}? This would
be real key-press-simulation but RK sends it as a text - sorry.

--------------------------------------------------------------------

---> Question

1. Could you provide a command to STOP all macro execution?  I use
Remote Keys to automate scanning 10 pages at a time - my scanner
takes about 25 seconds per scan.  If I want to stop the looped macro
code, I have to use Control-Alt-Delete and choose Remote Keys.  This
is an extreme situation!

2. Is it possible to direct keystrokes towards a window with a
specific title?  This would allow macros which jump from application
to application and would also avoid other problems.

3. Could you provide an {/STR.SET.0 ask} type command.  If I had
this, I could pop up a dialogue asking me how many scans I want to
make in the session and then run exactly that number of loops to
make this happen.

One question - could you explain in more detail how the
{/APP.ACTIVATION.OFF} and {/APP.ACTIVATION.ON}commands work - I
assume they make Remote Keys jump to the previous window before
clicking on the Remote Key button.

---> Answer

1.
The only one I can offer is the /ME.STOP command which is already
available. This command is not able to stop a Windows procedure
which was sent by RK. But it offers a button to be able to leave a
loop to stop future commands. The Stop-command should be the first
one including a button assign. After RK sents something to an
application it is not interessted to have control about the result because
there are millions of possibilities. This must be in responsibility of the user.
(Anm.1/01: today /BTCH.STOP)

2.
There is a command called "/APP.TOFRONT name". This command
offers the possibility to switch a window "name" to front before sending
the keys. Maybe this could help?

3.
This is a good idea. In this moment I can offer only this:
{/VAR.FROM.CLIP}{/LOOP.START.VAR 10}x{/VAR.ADD 1}{/LOOP.END}
To handle this make following steps:
Open the module "Clip History" (right mouse click on RK icon in systray)
(Anm.1/01: VAR.ASK command available now)

Type "4" into the edit line and [Enter]  (Maybe CLR x2 if it is not
empty).
Then start the script with Notepad.
You will get "xxxxxx". Yes these are 6 loops. You have to calculate
yourself the difference to 10 (10-4).
Maybe I get a better possibility in a future version of RK.

--------------------------------------------------------------------

---> Question

I have an idea about create/assign keys which can be used to swap the
DEFAULT PRINTER in Windows NT desktop.
The case is: I have 3 network printers (A,B,C), they are well setup. Would
you help me or advice me how to make a key while I need to switch default
printer from A to B, or, A to C..etc?

J.N.

---> Answer

I have executed your request on my w98 installation. 
I think it is the same procedure. 
2nd small problem is that i  use a german installation. 
Maybe we have to change some characters. 

First we have to simulate your job on the keyboard 
without using the mouse! It is possible.If we finished 
we will adapt this job for RK. 
Press the left Windows key (between ctrl and alt). 
It will open the Windows Start-menu. 
Than on my inst. I have to step 6x crsr up to select the 
Control center (dont no english name). Maybe you can 
select it with one key, on my inst. it is "e" for "Einstellungen". 
Next 1 step crsr right. 
Next 1 step crsr down to select "Printer". 
Maybe you can alternate select this point with "p" (?). 
Then press Enter. 
You see the printer setting window now (I hope). 
Now press 2x the TAB key to go into the form. 
If your 3 printer names begins with different characters, 
it is easy to select one by pressing this key. I.e. "h" for HP. 
If not you must select them with the crsr right/down keys. 
Then press the menu key. This is one of the keys nobody 
use. It is between the right ctrl key and the right Windows 
key (I hope you have it on your keyboard). 
It will open the popup menu for the selected printer. 
Then press 3x crsr down (on my inst.) to select the point 
"Default Printer" (of course on my inst. there is another text). 
Last of all press Enter. 
Now you have selected a default printer without using the mouse. 
The only one we have to do is the little job to rebuild this 
procedure in RK. 

Everytime if you send something to Windows, the first command 
should be {/APP.ACTIVATION.OFF}. Otherwise the Start- 
menu will close automaticly when RK tries to activate the last 
window which had the focus. 
Now we need a lot of key commands. 
You can use the "Help and check.exe" in the RK-mainfolder 
to find keynumbers. 
To simulate a Windows keystroke it is key number 91. 
So we have to add the command {/SEND.KEY 91}. 
If you can use keys to select the printer setting, add the keys 
to the code "cp" ? (in german "ed" for "Einstellungen" & "Drucker"). 
The code looks like that: 
{/APP.ACTIVATION.OFF}{/SEND.KEY 91}cp 
Alternate if you can not use keys: 
{/APP.ACTIVATION.OFF}{/SEND.KEY 91}{KEY.UP}{KEY.UP} 
{KEY.UP}{KEY.UP}{KEY.UP}{KEY.UP}{KEY.RIGHT}{KEY.DOWN} 
{KEY.ENTER} 
On this point if you have opend the printer settings with RK you can change 
the button. You can merge them later if you want. 
To get into the printer form code must be look like that: 
{KEY.TAB}{KEY.TAB} 
Now select your printer. Maybe like this? 
{KEY.TAB}{KEY.TAB}h 
or like this? 
{KEY.TAB}{KEY.TAB}{KEY.RIGHT}{KEY.RIGHT} 
Then send the key for the popup menu 
{/SEND.KEY 93} 
And move to the "Default" point 
{KEY.DOWN}{KEY.DOWN}{KEY.DOWN}{KEY.ENTER} 
This shoud select the wanted printer as default. 
After all the printer setting window should be closed again.
{HOLD.ALT}{KEY.F4} 

At last I want to show you my complete code: 
{/APP.ACTIVATION.OFF}{/SEND.KEY 91}ed{/BTCH.DELAY 1.5} 
{KEY.TAB}{KEY.TAB}h{/SEND.KEY 93}{KEY.DOWN}{KEY.DOWN} 
{KEY.DOWN}{KEY.ENTER}{HOLD.ALT}{KEY.F4}
Oh, there is a new command. When I merged the buttons I included a delay because 
RK sends the stuff faster than Windows can process them. Maybe change the value 
for <sec> from 1.5 to ?? 

Thats all. Maybe there are little difference between our keys we have to use but I 
think it shows how to realize it generelly. 
A litte tip: It is faster to use the "Key to Command" converter in Keys Edit. Than you 
can enter keys like {KEY.ENTER} by pressing the key directly on your keyboard. 
To enter the tab key it is required to press the key "^" which is left of the key "1". 

--------------------------------------------------------------------

---> Question

I would like to learn how to use the functions of Events > Keys,
Events>Time, Events>Other, Events>Windows in RemoteKeys.
I really cannot understand how they can apply or join together?
Please explain AND would you please show me some examples?

J.N.

---> Answer

I try to explain it in this way.
You use one event function all the time but it seems not to be in
your consciousness. Its called  "mouse click" event.
This is the standard event function and can not switched on/off.
If you make a click on a RK-button to send something to an
application, you release the mouse click event in this moment.
This will order RK to execute the button script.
A keystroke is another kind of event.
The user can arrange RK to execute a button when he makes
a special keystroke.
If you open the event > keys dialog you will see 2 comboboxes
in the right top corner. Here you can select the button to execute
if you press a key (the plain which will normally executed with the
left mouse button click)
The function must be generelly switched on in the left top corner.
Than Memory 1 must be switched on ("on"-switch in the "Key
assign for this memory" frame). Now you can select the key
(-combination) which will execute the button. For the first try
click into the line under the tab button and press the space key.
Now you will read the text "SPACE" in this line.
Finally you have to choose the RK-button which will be executed
when you press the space key. I.e. switch upper combo to "Store"
and lower combo to "TimMsg".
Click "OK".
Now if you press the space key on your keyboard you must see
a time window, you will hear a song and your scroll lamp on your
keyboard is flashing.
You get the same result if you select the Store profile and makes a
mouseclick on the "TimMsg" button.
All other event functions (time, window, other) works in the same
way. I.e. with the time event you can make RK to execute a button
at a predefined date/time.

--------------------------------------------------------------------

---> Question

Ist es mglich den Macrorecorder so einzusetzen, dass die
Macroaufzeichnung relativ zu dem Programmfenster erfolgt, in dem ich
das Macro in Zukunft ausfhren will...

Mein Problem ist, dass ich die Programmfenster fters verschiebe und
beim nchsten Start dann die aufgezeichneten Mausaktionen nicht mehr
richtig plaziert werden, sondern nur dann, wenn das entsprechende
Programmfenster an genau der gleichen Position sitzt wie bei der
Aufzeichnung des Macros.

M.S-T.

---> Answer

Ihre Anregung ist durchaus sehr interessant und eine berlegung
wert. Mir fehlt allerdings noch etwas die Idee zur Umsetzung.
Sicher wre es ein Leichtes, z.B. mit dem allerersten Mausklick
nach dem Rekorder-Start den Null-Punkt zu initalisieren, ich
wei nur nicht so recht, ob das schon eine Hilfe darstellt. Fr die
Programmumschaltungen via Taskleiste hilft es nichts, wenn
Windows beim nchsten Systemstart die Reihenfolge verndert.

Aber bis es mglicherweise soweit ist, mchte ich Ihnen noch
folgenden Tip auf den Weg geben (sofern sie dies nicht bereits
wissen).
Wenn Sie lnger mit RK arbeiten, werden Sie vermutlich den
Rekorder immer seltener einsetzen, denn die manuellen
Zuweisungen via Tastatur sind im Laufe der Zeit sehr schnell
gemacht (bedingt auch durch den Key to Command Converter)
und arbeiten immer 100% sicher.
Windows und alle MS-Produkte haben (bei aller anderen berechtigten
Kritik) einen groen Pluspunkt. Sie knnen komplett ohne Maus
bedient werden, sollte mal keine zur Verfgung stehen. Die
meisten anderen Anwendungen schlieen sich dem an. Es gibt aber
auch ein paar Ausnahmen, zu denen z.B. Lotus Notes gehrt. Ohne
Maus ist Notes praktisch nicht bedienbar.
Der Umstand des mglichen Mausverzichts bietet doch ungeahnten
Bedienkomfort, von dem RK im hohen Mae profitiert.
Denn RK kann (fast) alle Keyboard-Aktivitten nachbilden.
Wuten Sie z.B., da Sie mit F10 fast immer in ein Pull-Down-Men
einer Anwendung gelangen? Auch die Kontext-Men-Taste erhlt
pltzlich ihren Sinn. Wie, sie kennen sie garnicht? Ich vor RK auch
nicht. Sie befindet sich zwischen der rechten Windows und der Strg-
Taste. Sollten Sie diese nicht haben, dann gehts auch mit SH+F10.
Den Rest erledigt man mit Tab und den Cursor-Tasten, um sich in
Mens und Dialog-Fenstern zu bewegen, Enter natrlich fr die
Auswahl und die Leertaste um Checkboxen ein-/auszuschalten.
In dem RK beiliegendem Hilfstext "F-Tasten" habe ich einmal eine
Zusammenstellung vorgenommen. Mit dem beiliegenden Programm
Help+Check.exe knnen Sie alle Tasten- und ASCII-Codes er-
mitteln.
Und sollte doch einmal ein Mausklick unverzichtbar sein, so kann man
ihn mit dem Command /MOUSE.CLICK.LEFT x,y einfgen, wobei
das Bearbeiten > Knpfe -Fenster links-oben die Maus-Koordinaten
anzeigt, die dann fr x/y eingesetzt werden knnen.

---> Reply

Vielen Dank fr Ihre prompte und ausfhrliche Antwort. Ich habe Ihre
Ratschlge direkt ausprobiert und mein Problem ist damit gelst. Es
bestand darin, dass ich ein Makro aufzeichnen wollte, das eine Datei
in der Textverarbeitung immer zuerst im Originalformat und dann als
Sicherung im RTF-Format abspeichert und ich nicht wute, wie per
Tastatur im Speichern unter Dialog das entsprechende Format jeweils
ausgewhlt wird. Nach Ihren Ratschlgen und ein paar Experimenten
klappt  es jetzt einwandfrei.

--------------------------------------------------------------------

---> Question

I think I'm in over my head.  I believe seeing some working macros
would help. Even if the sample just opens an app like Notepad and
does something.
Are there any sample macros for RemoteKeys available?

T.P.

---> Answer

Click on "Profiles" (left/top) and select "Store".
Open Wordpad to check (RTF sample included).
If you want to see the scripts itsself than make a
left mouse button click with pressed Ctrl key.

--------------------------------------------------------------------

---> Question

I would like a popup screen witch ask me for a value and put this in a
variable. Then I would like to use this variable to execute that many
times. How can I do this?

---> Answer

I ve two examples you should try.

First open the clip history dialog (for both samples), i.e.
from systray popmenu.

1.
Make a button with following script:
{/VAR.FROM.CLIP}{/VAR.ADD 1}{/VAR.TO.CLIP}
Whrite a number into the line of clip history and press [ENTER].
Click the new button and watch what happens in Clip History.

2.
Make a button with following script:
{/VAR.ASK}{/VAR.TO.CLIP}
Click the new button and watch what happens in Clip History.

I hope this shows what is possible. A variable is valid for the
session only and can not be saved. If you need a constant all
the time you must arrange a button like this:
{/VAR.SET 5}

---> Question

I managed to make a button witch does what I want....
but is a not easy way to do.

What did I do? Try the following:

1    {/VAR.ASK}{/VAR.MUL -1}{/VAR.TO.CLIP}
2    {/BTCH.LOOP.START.VAR -1}
3    Test,
4    {/VAR.FROM.CLIP}{/VAR.ADD 1}{/VAR.TO.CLIP}
5    {/BTCH.LOOP.END}

line 1:   Ask for an number, example 3. Multiplies it with -1, var becomes -3.
	Store var into clip
line 2:   Repeats the batch until var = -1
line 3:   the thing that should be repeated for example.
line 4:   gets var from clip= -3. Adds 1= -2. Stores var to clip
line 5:   marks the end of the batch.

line 3 is now repeated for 3 times.
Is there a simple way to have the above effect?

---> Answer

The MUL command is a very nice idea!
But you dont need the clipboard for all the stuff.
Try this:

1. {/VAR.ASK}{/VAR.MUL -1}
2 .{/BTCH.LOOP.START.VAR 0}
3. Test,
4. {/VAR.ADD 1}
5 .{/BTCH.LOOP.END}


Think this is the best possibility.

---> Question

When I record a macro for my e-mail address, the @-sign makes
strange effects. Instead of showing it deletes some of the
other letters. I'm running Win-98 with a swedish keyboard.

---> Answer

You are right, I checked it and the recorder 
has problems when more then 2 keys has to be 
recorded at the same time. The AltGr. key 
seems to be one key but in reality it replaces 
Ctrl + Alt. To generate @ character it can be 
done with Ctrl + Alt + q or alternate AltGr + q 
(on german keyboard). 
But anyway. There is no problem to use the @ 
character with RemoteKeys. The best way is to 
insert the real character @ into your (recorded) 
code. 
If you only want an email address on a RK 
button it is not neccessary to use the recorder. 
Simple write the email address into the assign 
area of the button in real words like 
abc@def.se 
If you want to use the recorder, I would press 
[x] key instead of [@] during recording. If the 
macro is recorded, go into the macro code and 
simple change the command {/SEND.KEY 88} to "@".
Thats all.

Example.
You want to record "a@b".
Then please record "axb" instead.
The result will be as follow:
{/SEND.KEY 65}{/SEND.KEY 88}{/SEND.KEY 66}
Then replace the 2nd command with @.
The result will be
{/SEND.KEY 65}@{/SEND.KEY 66}
Thats all.
But of course it is more easy to write all in
ascii like a@b.

--------------------------------------------------------------------

---> Question

(1) If in loop and I want to interrupt, how do I stop this? I try
ctrl_alt_del but mouse is flying all over and it is hard to select
RemoteKeys application and "end process" because muose flying all over.

(2) Can you please explain how /app.activation.off and .on work? The
explanation "To stop the automatic window activation (useful for macro
recording) does not do it for me. Sorry. I'm just ignorant. Please explain
use of "automatic window activation". Does this mean when macro starts,
certain window usually activated? Is it window of RK or window of whatever
other app is in task bar?

S.S.

---> Answer

1. After RK sends anything to anywhere it lost the control about it.
But you can interrupt a script (with a loop included) with the command
{/BTCH.STOP}
This command must be the first in a script and offers a Stop-requester.

2. APP.ACTIVATION.ON is the default setting of RK.
That meens after you have clicked RK button, the RK window has the focus
in this moment (thats Windows). Before sending the stuff to another window
it must give the focus back to the window where you came from.
This is a central ability of RK. Without this ability RK would be "nothing".
In most of all cases this is the wanted effect. But try to open the Start-menu
of Windows with this default setting. It dont works. It will close the menu in
the
next moment. But if you includes APP.ACTIVATION.OFF in your script,
it is easy to open the Start menu.
Try the following script with and without the activation command.
{/APP.ACTIVATION.OFF}{/SEND.KEY 91}{KEY.DOWN}
