home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-01-11 | 3.8 KB | 93 lines | [TEXT/KAHL] |
- /*
-
- FunKey 0.1
-
- by Alex D. Chaffee
- chaffee@reed.uucp
- Compuserve: 71210,1117
- Reed College Box 259, Portland, OR 97202
-
- Copyright © 1990. All Rights Reserved. Permission is granted to
- distribute freely, as long as this document and copyright information
- remain intact and are distributed along with the program.
-
- FunKey is a replacement for Carlos Weber's old (but excellent) Pop-Keys
- INIT. Like Pop-Keys, it allows you to pull up a popup menu from which
- you can select any installed FKEYs. Unlike Pop-Keys, the menu is not
- selected by moving to a part of the screen. Instead, when you hold down
- the familiar Command and Shift keys, FunKeys changes the pointer to its
- own "F" cursor. The menu pops up when you click the mouse button. FunKey
- also overcomes some bugs and shortcomings of Pop-Keys.
-
- Installation:
- FunKey is a standard INIT, complete with startup icon. To install it,
- simply drag it into the system folder and reboot. If you hold down
- the mouse button during startup, FunKey will not install.
-
- Usage:
- Like the man said - hold down Command and Shift at any point after
- startup, and you will see the Funky Cursor. You can then select a
- function key the normal way - by pressing a number from zero to nine -
- or the Funky way - by holding down the mouse button. A menu will
- appear, containing the names and ID#s of all FKEYs in the system
- folder, installed with Suitcase or the like, and in any open files.
- Selecting an FKEY from the menu will activate it, just as if you had
- pressed the associated key. The FKEYs which are installed on the
- keyboard are denoted by command-key equivalents (although pressing
- these keys while the menu is up won't do anything). FKEYs with no
- name are named "Untitled."
- In the "About Box" is a checkbox allowing you to select whether or
- not you'd like to see the ID numbers in the menu. Untitled FKEYs will
- always show their numbers, so that you can tell them apart. (It's
- not a bug...)
-
- Known Bugs and Limitations:
-
- • FunKey doesn't work quite right under MultiFinder: if you click above
- a window that's not in the current layer, the menu will work all
- right, but before it comes up or after it goes away, MultiFinder will
- *sometimes* switch layers. (Note that normally, the mouse clicks are
- invisible to the current application -- but keystrokes are revceived
- by the application, to accomodate the Cmd-Shift menu items of
- some applications.)
-
- • If you have a lot of FKEYs installed, it may take a second or two
- for the menu to come up after you click the mouse. I'm working on
- a way to make it faster, but it may be more trouble than it's worth...
- If you find that it's unusable at its present speed, let me know
- and I'll be more motivated to fix it.
-
- Wish List:
-
- • Make it a CDEV, or at least add a better "Configure" item
- • Allow for user-configurable "hot" keys (other than Command-Shift)
- • "Open" command
- • Sort by name or number
- • Add a "hot rect" feature like Pop-Keys
- • "Where Is" function - to show the file a given FKEY is from
- • ...Suggestions?
-
- Technical Info:
-
- FunKey patches the low-memory global jGNEFilter to install its own
- GetNextEvent filtering routine. This routine checks GetKeys to set the
- cursor, then if the event is a mouseDown, pops the menu. FunKey also
- patches SetCursor and InitCursor so that the Funky Cursor isn't changed
- while Command and Shift are down.
-
- A Request:
-
- I am not asking for any remuneration for FunKey, other than the
- following: if you like it, if you find a bug, if you have any
- suggestions or gripes, or if you want to say "Hi," please let me know.
- I'm not in this for the money (at least not yet), only for the
- satisfaction of knowing that my (enjoyable) efforts have also been
- enjoyed by others.
-
- Version History:
-
- 10/89 Prototype written
- 1/90 After finals and break, version 0.1 is ready to roll
-
- */
-