It seems to me that there is a subtle difference in terminology, too.
What I think I'm really doing is running a script rather than re-mapping a
key.
Re-mapping a key, to me, is like changing [F8] with [F1] or whatever whilst
your example (and what I can now do again) is more of a script.
Whatever it's called I like to be able to use [Alt]A to go back to my app
without having to close and re-run.
Regards,
Alastair.
----- Original Message -----
From: "MikeB" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Friday, May 16, 2008 12:38 PM
Subject: [RBASE-L] - Re: Running a form with keystrokes?
Likely that the issue is just the "tightening up" of RBase as time has
passed.
I am pretty sure that KEYMAP is closely related to PLAYBACK if you think
about it.
----- Original Message -----
From: "Alastair Burr" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Friday, May 16, 2008 4:25 AM
Subject: [RBASE-L] - Re: Running a form with keystrokes?
It was too late last night to try this but, this morning, just to prove
myself right, I copied and pasted Mike's example.
Of course it worked.
It is nice to be wrong sometimes but I thought that I had better test
some of my old keymaps as they were the things I had been unable to get
to work many months, even years, ago now.
Of course they worked, too.
I seem to remember that the problem I had was with spaces in the
"command" so, using Mike's example, I would have expected just to get
"pause" written at the R:>.
Now I need to go back and reinstate the keymaps that would still be
useful for me so thank you Mike for tempting me and thank you and
apologies to RBTI for doubting that the problem - if there ever was one -
had been fixed.
Regards,
Alastair.
----- Original Message -----
From: "MikeB" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, May 15, 2008 8:33 PM
Subject: [RBASE-L] - Re: Running a form with keystrokes?
try this:
from the R >
SET KEYMAP [ALT]M = 'Pause 2 using ''Keymap''[enter]'
then press [ALT]M
You have to remember that the result of a programatic action has to be
used where appropriate. For example if you press [ALT]M while in a text
field, the text field will receive 'Pause 2 using 'Keymap' and the
[ENTER] key will be executed. Probably not appropriate for that
location, so there is no indication that KEYMAP doesn't work, it is just
usually used in the R> environment where all our legacy code resided.
Now our forms respond to events and a keymap setup isn't tied to those
events AFAICT.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, May 15, 2008 2:31 PM
Subject: [RBASE-L] - Re: Running a form with keystrokes?
I was never one to make much use of keymaps, but are keymaps still valid
in
7.6 where you could define them to a phrase? Like mapping the [F11]
key to
"run rbase.dat" or something like that? In that case the user could be
at the R>
prompt and just hit [F11] to bring up the app.
Karen
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1433 -
Release Date: 14/05/2008 16:44
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1445 -
Release Date: 15/05/2008 19:25