home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsf / funckeys / !FuncKeys / !Help next >
Encoding:
Text File  |  1995-05-01  |  13.5 KB  |  287 lines

  1. Help for FuncKeys: The PD demo version
  2.  
  3. Introduction
  4. ¨¨¨¨¨¨¨¨¨¨¨¨
  5. FuncKeys is a function keystrip manager for the RISC OS desktop. It allows
  6. you to save and load various sets of key definitions for use with RISC OS
  7. applications. Once loaded, you simply need to click on the icons to press
  8. the function keys - no more messing with 15 different keystrips!
  9.  
  10. FuncKeys will work in any screen mode, and will automatically resize it’s
  11. window whenever you change mode. It now also correctly alters the font
  12. aspect ratio when you change to modes with a different pixel ratio.
  13.  
  14. FuncKeys uses no icon, just a window, as an icon would be a waste of space.
  15. The window appears straight away as soon as FuncKeys loads. The menu for
  16. FuncKeys can be accessed by clicking MENU inside the FuncKeys window.
  17.  
  18. You may notice that the FuncKeys window has no title bar. This is so that
  19. it doesn’t use up too much room. If you want to drag the window around,
  20. then use one of the areas of the window where there are no keys (eg on the
  21. left).
  22.  
  23. To run FuncKeys, you must have the font ‘Homerton.Medium’ on the font path.
  24. This shouldn’t be a problem apart from on RISC OS 2 floppy systems.
  25.  
  26. Registering
  27. ¨¨¨¨¨¨¨¨¨¨¨
  28. This version of FuncKeys is Public Domain, and may be distributed freely,
  29. although if you find the program useful you are supposed to register, by
  30. sending me £5, to receive the full version.
  31.  
  32. If you register by sending £5, you will receive the latest version on disc,
  33. which has the choices window fully working. The rest of the disc will also
  34. be filled up with PD written by SJPD (James Hunter & Myself), plus any
  35. other decent new PD we have at the time. Once registered you may:
  36.  
  37. • Send for the latest version at any time afterwards by simply sending me a
  38. disc and SSAE, and asking for the latest version. Please state which
  39. version you currently have. If I don’t have a newer version, I’ll hang onto
  40. your disc until I make one. If you have an email address, let me know and
  41. I’ll inform you of any new versions. You can email me as S.Hatliff@ed.ac.uk.
  42.  
  43. • Request other features to be added to the program. I will try my best to
  44. add these, but I can’t do everything! A few ideas I have had which I might
  45. add if people request them are: Font and sizes saved with each KeyDefs
  46. file, window closing (down to a small box or an icon?) when no ‘known’
  47. applications have input focus, a gadget on the top right hand side of the
  48. window to toggle the ⇧^F key row on and off. ANY updates to the program
  49. will probably only happen to the registered version, this PD demo version
  50. will stay as it is.
  51.  
  52. And don’t forget that once registered, you get your name in the choices
  53. window!!! The Help file also contains full file format information.
  54.  
  55. PLUS the full version has many more KeyStrip definitions with it including:
  56. 1stWord+, Acorn DTP, Armadeus, ArtWorks, Chameleon, DeskEdit, DisAssem,
  57. Draw, DrawPlus, Digital Symphony, Edit, Hearsay, Imagery, Impression,
  58. Notate, Poster, Poster 1.60, Rhapsody, Snippet, Squirrel, StrongED2, Vector.
  59.  
  60. This PD demo version has had all the features in the choices window
  61. disabled. Register your copy now to get these flexible features...
  62.  
  63. The latest full version 2.14 contains even more choics: the window can be
  64. forced to stay at the top of the screen and can be made to close when not
  65. in use.
  66.  
  67. Please make cheques payable to ‘Simon Hatliff’. My address can be found
  68. near the bottom of this file. You will get a fast turnaround.
  69.  
  70. Usage
  71. ¨¨¨¨¨
  72. To use FuncKeys, simply click on the grey icons. The rows (from bottom to
  73. top) represent the F key, Shift+F, Ctrl+F and Ctrl+Shift+F (this top row
  74. may not be shown -- see below). The key F12 is not included in the window
  75. as Acorn stated that applications shouldn’t use this key in their programs
  76. (Due to RISC OS 3 using it), so there’s no point wasting space with it!
  77.  
  78. Defining your own
  79. ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
  80. To make your own keystrips, choose ‘Define’ from the menu, which will
  81. become ticked. This will turn all the key icons to writable icons. It will
  82. also change the ‘Key defs for:’ icon in the info box to writable. The ‘Load
  83. defs’ option will be greyed out, as will the autoscan option in the choices
  84. window, and autoscan will be disabled (so that KeyDefs don’t start loading
  85. themselves while you are defining).
  86.  
  87. To clear the contents of all the icons, choose ‘Clear’ from the Define
  88. submenu. Choose ‘Show all’ from this menu if the top row is not shown, and
  89. you want it to be.
  90.  
  91. You should fill in your own definitions (not forgetting the info box), then
  92. save your KeyDefs (see below) BEFORE unticking the Define option. The
  93. buttons will then return to normal.
  94.  
  95. Saving
  96. ¨¨¨¨¨¨
  97. Once you have defined a keystrip, you may well want to save it. To do this
  98. simply use the ‘Save defs’ submenu, which is accessed via the ‘Save defs ⇨’
  99. menu option. If you just enter a leafname (eg. ‘KeyDefs’) then the file
  100. will be saved to the !FuncKeys.KeyDefs directory. This means it can easily
  101. be loaded next time FuncKeys is loaded (see below).
  102.  
  103. The file format is a simple text file. You should be able to work out how
  104. to define your own in an editor (such as StrongED2 or Edit), but you
  105. shouldn’t need to. [NOTE: The file format has changed since version 2.00,
  106. due to the addition of Ctrl+Shift+F keys. FuncKeys does, however, still
  107. load in the old format strips as well so if you made any of your own your
  108. hard work isn’t lost.]
  109.  
  110. Loading
  111. ¨¨¨¨¨¨¨
  112. When FuncKeys first loads, it scans the ‘KeyDefs’ directory inside it. Any
  113. files saved into here (see above) will be included in the ‘Load defs’
  114. submenu. This allows an easy setup for multiple applications’ keystrips.
  115. Just choose the name of the KeyDefs file from this menu, and it will be
  116. loaded for you.
  117.  
  118. The main menu
  119. ¨¨¨¨¨¨¨¨¨¨¨¨¨
  120. Info...   ⇨ Leads to program info box (includes the ‘Key defs for:’ icon)
  121. -----------
  122. Define      Switches between define and normal mode (see above)
  123. Choices...  Opens the choices window (see below)
  124. Load defs ⇨ Leads to ‘Load defs’ submenu (see above)
  125. Save defs ⇨ Leads to the ‘Save defs’ submenu (see above)
  126. -----------
  127. Quit        Removes the program from memory
  128.  
  129. Choices
  130. ¨¨¨¨¨¨¨
  131. The choices window allows you to customise FuncKeys to your liking. You can
  132. choose the outline font to be used, and the X and Y sizes of the font for
  133. each dirrefent row (this can be useful as the top rows often have longer
  134. labels). If you don’t want a different Y size then deselect the option icon
  135. between the arrows.
  136.  
  137. The ‘Scan for task with input focus’ option (or autoscan for short) has the
  138. following effect when turned on: FuncKeys will scan every half a second for
  139. the task with input focus. If the task changes and FuncKeys has some
  140. KeyDefs for that task, FuncKeys will load in the required file for that
  141. application. This means that, providing you have KeyDefs for all your main
  142. applications, FuncKeys will always show correct information relevant to the
  143. task you are actually using.
  144.  
  145. If the taskname is the same as the filename of a file saved into the
  146. !FuncKeys.KeyDefs directory on a previous occasion, this file will load. If
  147. you can’t put the taskname into a filename then you must map the filename
  148. to the taskname in the Setup file. See below.
  149.  
  150. The ‘Condense window if top row is blank’ option, when selected, will not
  151. display the top (⇧^F) key row if there are no definitions for it. This is
  152. useful because not all applications use this row, and it saves a bit of
  153. space if it’s not there. It this option is off then the top row will always
  154. be shown.
  155.  
  156. You can also choose the default keystrip to be loaded on startup. Clicking
  157. OK will reflect any changes (such as font/sizes) in the window.
  158.  
  159. NONE OF THE FUNCTIONS OF THIS WINDOW WORK IN THIS PD DEMO, THEY ONLY WORK
  160. IN THE FULL VERSION (see above).
  161.  
  162. The Setup file
  163. ¨¨¨¨¨¨¨¨¨¨¨¨¨¨
  164. Inside the !FuncKeys directory is a text file called ‘Setup’. This file
  165. controls a number of things about the way in which FuncKeys works. Load it
  166. into an editor such as StrongED2 or Edit to change any of the following.
  167. Read the comments in the Setup file for more information.
  168.  
  169. • You can make FuncKeys look in another directory instead of !FuncKeys.
  170. KeyDefs. This could point to a RAM disc if you have a floppy only system
  171. (but don’t forget if you make any new KeyDefs to copy them back to disc),
  172. another directory on your hard disc, or even ResourceFS (RISC OS 3). You
  173. must put your KeyDefs files in a suitable module to use ResourceFS, and it
  174. will of course be read only.
  175.  
  176. • For autoscan, FuncKeys needs to know the name of the application AS IT
  177. APPEARS IN THE TASK MANAGER. This name sometimes can’t be the same as the
  178. 10 letter filename, as it’s either too long or contains characters that the
  179. filer can’t handle. If this occurs then you can map the filename to the
  180. actual name. This is done by adding a line to the setup file of the format
  181. ‘filename:appname’. An example of this would be ‘DrawPlus:Draw Plus’ or
  182. ‘1stWord+:1st Word Plus’.
  183.  
  184. Known problems & limitations
  185. ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
  186. When autoscan option finds a task and changes the keystrip, it loads the
  187. file from the !FuncKeys.KeyDefs directory. This will be fine for hard disc
  188. users, but floppy users may be asked to change discs a lot. If you use
  189. floppies, either don’t use autoscan, or copy !FuncKeys to RAM disc before
  190. running it, or alter the setup file to point to the RAM:$.KeyDefs, and copy
  191. the KeyDefs directory into the RAM disc before running it. You may alter
  192. the !Run file to do this ON YOUR OWN PERSONAL COPY ONLY.
  193.  
  194. If you have autoscan on, you choose define, define a keystip, and then turn
  195. define off without saving the new keystrip, if the caret is in a task
  196. recognised by FuncKeys then you will lose the strip you have just defined.
  197. YOU HAVE BEEN WARNED!!!!!
  198.  
  199. Version history
  200. ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
  201. 1.00    First working version. Used only the Overscan template file.
  202. 1.01    Window now movable.
  203. 1.03    Save box added to menu & load code (drag to window) added.
  204. 1.04    Load menu added.
  205. 1.05    Define option added to menu.
  206. 1.10    New window added for mode 12/15 use. Also added Norm/Over Obey file
  207.         to switch between the Normal & Overscan window. Also several small
  208.         bug fixes.
  209. 2.00    Redesigned for RISC OS 3.10. Template now features 3D icons and
  210.         outline font text (to fit more in & look nicer). Also new look info
  211.         & save boxes. Now you can drag any window (Main, Save & Info)
  212.         around on unused parts. Can now load a file on start up if
  213.         required. ‘Clear’ menu option added. More key definitions provided.
  214.         !Help reader scrapped -- takes up room and we all have our
  215.         favourite editor to read text files in (I use StrongED2). Now has
  216.         ‘Auto scan’ option.
  217. 2.01    Added extra Ctrl+Shift key row with option to show it, or not. Also
  218.         only shows this row on loading a KeyDefs file in if it is required.
  219.         Fixed small bug which meant that after defining a new keystrip,
  220.         FuncKeys thought that it still had whatever was in before, so
  221.         autoscan didn’t work properly. Now when you choose define, the
  222.         autoscan option is turned off and greyed out, and when define is
  223.         unticked, the required keystrip for the caret owning task is loaded
  224.         back in (if autoscan is on). Also icons made a bit thinner
  225.         (vertically).
  226. 2.02    No longer suffers from ‘unable to bind font handle’ bug. Now
  227.         includes an extra Mode 27 template file (previously released as
  228.         ‘FuncMode27’, and an extra KeyDefs dir for Mode 27 defs. The
  229.         required template file and KeyDefs dir are used depending on what
  230.         mode you start FuncKeys up in.
  231. 2.10    Now works in all modes, and on RISC OS 2, has choices window, runs
  232.         faster, can use any font in any size, and is jolly nice all round!
  233.         Released as PD demo with choices window disabled, only available in
  234.         the full version.
  235.  
  236. Boring © notice
  237. ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
  238. Please see the ‘Registering’ section near the start of this file.
  239.  
  240. You may distribute this application freely so long as all the following
  241. files (and directories) remain in the !FuncKeys directory, untouched:
  242.  
  243.      !Help, !Run, !RunImage, !Sprites, KeyDefs (dir), Setup, Sprites,
  244.      Templates.
  245.  
  246.      The KeyDefs dir should contain at least: 1stWord+, Acorn DTP,
  247.      ArtWorks, Draw, DrawPlus, Edit, Hearsay, Impression, Poster,
  248.      StrongED2. You may alter these (eg shorten the legends for thinner
  249.      modes, these were made for Mode 31) but please distribute it with the
  250.      ones I supplied if you can.
  251.  
  252. You may not add any files of your own to the !FuncKeys directory (apart
  253. from any additional definition files in the KeyDefs directory).
  254.  
  255. I take no responsibility for what is provided in the KeyDefs directories,
  256. other than those files listed above. Feel free to add your own defs before
  257. distributing the app. NO OTHER FILES SUCH AS README OR FROM? FILES MAY BE
  258. ADDED TO THE KeyDefs (OR !FuncKeys) DIRECTORY.
  259.  
  260. This applcation may not be sold for a profit. If you want to use it in your
  261. PD library or upload it onto your BBS then that’s fine, so long as you do
  262. not charge for the application in any way, and that you DON’T add any other
  263. files to the !FuncKeys directory. You may make a small charge for P&P and
  264. media though.
  265.  
  266. Apart from that, please copy this application to everyone you know!
  267.  
  268. If you have any bug reports or ideas for improvements then PLEASE write to
  269. the address below. Send a disc and SSAE and I’ll send you my other programs
  270. and some other new PD. If you are sending a disc then please include an
  271. SSAE or I’ll make a profit of 1 disc! Donations also welcome!
  272.  
  273. Contacts
  274. ¨¨¨¨¨¨¨¨
  275. How to contact me:
  276.  
  277. snail: Simon Hatliff
  278.        4 Elmlands Grove
  279.        Stockton Lane
  280.        York
  281.        YO3 0EE
  282.  
  283. email: S.Hatliff@ed.ac.uk
  284.  
  285. © Copyright Simon Hatliff 1992
  286.  
  287. This help file, as all code, was written and edited in StrongED.