uvmac/docs/extras/dafkey/index.html

1 line
6.0 KiB
HTML
Raw Permalink Normal View History

2020-03-14 19:28:01 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title> DAFKEY </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="canonical" href="index.html"> </head> <body> <div> <i> <a href="https://www.gryphel.com/index.html">www.gryphel.com</a>/c/<a href="../../index.html">minivmac</a>/<a href="../index.html">extras</a>/dafkey - <a href="https://www.gryphel.com/c/feedback.html">feedback</a> </i> </div> <hr> <h2 align=center> DAFKEY </h2> <hr> <p> Download </p> <blockquote> <p> <a href="https://www.gryphel.com/d/minivmac/extras/dafkey/dafkey-1.0.0b.zip">dafkey-1.0.0b.zip</a> (<a href="https://www.gryphel.com/d/minivmac/extras/dafkey/dafkey-1.0.0b.inf.txt">info</a>) a zipped hfs disk image and checksum file. The disk image can be mounted with Mini vMac. Includes source code. </p> <p> (There is also an Alpha version in development, see <a href="index.html#alpha">below</a>.) </p> </blockquote> <p> DAFKEY is a set of simple FKEYs to open items in the Apple menu. </p> <p> It includes 5 FKEY resources. If they are installed in a Macintosh system, then Command-Shift-5 will open the first Desk Accessory item from the Apple menu (not including the initial "About" item or other items provided by the application), Command-Shift-6 will open the second item, and so on up to Command-Shift-9 which opens the fifth item. (Command-Shift-1 through Command-Shift-4 are already used by Apple.) </p> <p> You can rename the Desk Accessories you wish to use with DAFKEY, so that they start with '5-', '6-', and so on. This puts them in order in front of all the Desk Accessories whose names start with letters, and provides a reminder of how to open them with DAFKEY. </p> <p> <a href="../clipout/index.html">ClipOut</a> and <a href="../clipin/index.html">ClipIn</a> are provided already named this way, as '5-ClipOut' and '6-ClipIn'. I normally use Command-Shift-5 for ClipOut, and Command-Shift-6 for ClipIn, and so have those as items one and two in the Apple menu. </p> <p> DAFKEY works in System 6 and earlier, and also works fine in System 7, where it can be used to open things in the "Apple Menu Items" folder besides Desk Accessories. </p> <p> DAFKEY may be installed using ResEdit (listed on my "<a href="https://www.gryphel.com/c/sw/progtool/index.html">Programming Tools</a>" page). Open the DAFKEY file with ResEdit, then select the FKEYs and choose "Copy". Next, while still in ResEdit, open the "System" file in the "System Folder" of a bootable disk. Then choose "Paste". (If the "System" file is on the disk you are currently booted from, ResEdit will give a warning, but the above still seems to work.) </p> <p> You don't need to install all five of the FKEYs, just install as many as you want to use. </p> <p> You can also renumber them if you want. For example, if I want to use <a href="../daopener/index.html">DAOpener</a>, which launches the first item, and still have ClipOut and ClipIn available with the usual keys, but as items two and three, then I could discard FKEY-5, renumber FKEY 6 to FKEY 5, and FKEY 7 to FKEY 6. </p> <p> DAFKEY works by creating a private copy of the Apple menu with AddResMenu, then getting the name of the appropriate menu item, and using that to call OpenDeskAcc (which normally is called by the application in response to the user choosing an item in the Apple menu). </p> <p> Warning: DAFKEY is not compatible with all applications. Some applications may get confused when Desk Accessories open in this unexpected fashion, and not properly copy their private clipboard to or from the global clipboard, for example. </p> <p> Warning: you should only invoke DAFKEY in situations where Desk Accessories can be chosen from the Apple menu, otherwise unpleasant things might happen. </p> <p> <a name="alpha"> <b>Alpha version</b> in development </a> </p> <p> The binary of the Alpha version is so far identical to the stable version above, but the source code is different, being ported t