From: | Patrick Roberts |
Date: | 21 Sep 2000 at 06:39:53 |
Subject: | Re: AMIOPEN: Hotkey Config/Need suggestions |
Static simply means it can't be changed. The number/index/label is used for
identity so can't be changed.
This approach is clever in that the label is an index into the hotkey array
so it is effecient, however has a couple of drawbacks. If the programmer
changes the array, or if the array is in any way dynamic it has problems.
I may have come up with a different solution though that uses checksums in
the config file so the amount of memory used stays the same and lines can be in
any order, plus have any sort of descriptor. I'm testing it now.
:)
Pat
Jesse McClusky wrote:
>
> > From: "Patrick Roberts" <artix@pacbell.net>
> >
> > Jesse McClusky wrote:
> > >
> > > > From: "Jim Peters" <jim@aguazul.demon.co.uk>
> > > >
> > > > 000 = Alt-X # Execute macro
> > > > 002 = Alt-O # Other function
> > > > 001 = Alt-Z # Go to sleep
> > > > 003 = Alt-S # Show status bar
> > >
> > > I like this one better than the two proposed by Pat (sorry Pat!) (:
> > > Gives you the ability to describe, while also allowing changes.
>
> >
> > This is basically the same as static label only using numbers instead of a
> > text.
>
> Actually, no. It uses numbers, which mean it can be an index or table
> within the program, instead of trying to match a text string. Second,
> it allows for the descriptive text to still exist, simply by defining
> "descriptive text" to be "Any comment on the same line."
>
> Jesse
>
> Subscribe/Unsubscribe: open-request@amiga.com
> Amiga FAQ: http://www.amiga.com/faq.html
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html