home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 1058 / MenuPlus.sis / MenuPlus.hlp (.txt) < prev    next >
Encoding:
EPOC Database  |  2001-10-19  |  22.8 KB  |  321 lines

  1. "DATA.APP1@
  2. Table1
  3. ColA10
  4. ColB10
  5. ColA11
  6. ColB11
  7. ColA12
  8. ColA13
  9. ColB13
  10. ColA14
  11. ColB14
  12. ColA15
  13. ColB15
  14. Index1
  15. ColA12
  16. MenuPlus 2.133
  17. MenuPlus
  18. oreground, checks which application has been in foreground before and shows a menu. This menu depends on if a definition has been made or fallback.
  19. Please note, that this command uses the numbers 1-9 for internal purposes.
  20. Do not use this command in conjunction with your own key%=MENU construction, as it assigns the pressed key to key% which you can use for your inquiries.
  21. If you anyhow want to make your own key%=MENU command I recommend as follows key%=MENU(minit%(x%)) as this uses the variables, that are set up by MenuPlus.
  22. see mCARDtask:
  23. Allows you to switch to another task. As for MPJumpTo there are two possibilities calling this command.
  24. 1) MPSwitchTo:(&0) brings up a dialog with all running tasks. And as used, type TAB for the list, or the first letter to be faster. Confirmation brings you to the desired task.
  25. 2) MPSwitchTo:(Thread&) switches directly to that task - but how to get Thread& as user? I'll think about that.
  26. Shows the message text$ in the upper left corner.
  27. duration% is the time in twentieth of seconds, OPL programmers know this from pause. And like pause, if duration% is a negative value, the message can be cancelled with a keypress.
  28. This command is let in for my ease. I simply does
  29. BUSY LEFT$(text$,80) ,0
  30. PAUSE duration%
  31. Therefore text$ is automatically clipped to 80 characters.
  32. If duration% is negative it can be cancelled with a keypress.
  33. Up to now there are the following integrated commands. They are described in detail later.
  34. preferences:
  35. mCARDinfo: --> removed
  36. mCARDtask:
  37. mCARDdoc:
  38. MPMenu:
  39. MPJumpTo:(Folder$)
  40. MPSwitchTo:(Thread&)
  41. MPSelectDoc:(filewithpath$)
  42. MPTaskList:
  43. MPbusy:(text$, duration%)
  44. MPinfo:
  45. MPFgMacro:(filewithpath$)
  46. MPFgApp:(filewithpath$)
  47. MPFgDoc:(filewithpath$)
  48. ....... to be continued .......
  49. MenuPlus 2.123
  50. MenuPlus
  51. tically clipped to 80 characters.
  52. If duration% is negative it can be cancelled with a keypress.
  53. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDER PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT THE COPYRIGHT HOLDER WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH THE HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  54. Arial
  55. Arial
  56. Arial
  57. MPFgDoc:(filewithpath$)
  58. ....... to be continued .......
  59. MenuPlus 2.123
  60. MenuPlus
  61. gang Golder - All rights reserved.
  62. enuPlus
  63. To use this command you'll have to do something as follows. With the docs preferences select the documents you want to work with. They are stored in a database called MenuPlus.dad - notice the suffix .dad which means a .dat file for documents.
  64. Calling mCARDdoc: shows the first 7 documents you used last. If you have defined a greater number the 8th menupoint is more... Selecting this brings up a dialog that shows all defined documents. Up to 90 are possible.
  65. Whenever you use a document the "usetime" is stored in the database, so that always the last used are shown first.
  66. I think this makes sense, as most times I need the same documents to work with and my S5classic does not provide such a function.
  67. A special note about Macro5 taskswitch funktion. Due to some internal reasons Macro5 comes to foreground if you select MenuPlus. I handeled that in previous versions, but due to speed reasons I removed it in Version 2.12 as it is no Limitation.
  68. The solution is very simple - do not call MenuPlus this way - use the MenuPlus hotkeys.
  69. As there is no SIS package for installation, the user has to do this "by hand".
  70. Create an folder MenuPlus in your ...\System\Apps\ directory. Copy the following files to it: MenuPlus.app, MenuPlus.aif, MenuPlus.icn, MenuPlus.hlp and ReadMe.
  71. Next create a folder Module in this directory. You can use another path, but I do not recommend it. In this folder reside the modules. An other usefull folder is the special MenuPlus Macros folder. It is used for Macros that use MenuPlus commands.
  72. You MUST also have installed: Macro5 library Version >2.40. Also the Sysram1 library and Systinfo library are needed. If you do not have them already installed, you can find them easily on the web. I have not included them in the package.
  73. Due to the changes in preferences nMPD is needed - can be downloaded from www.neuon.com.
  74. Thats all.
  75. Shows a tiny digital clock. Usefull in Apps where you have switched of the taskbar (like me in Agenda)
  76. Appereance is controlled by the following values.
  77. x$ is horizontal
  78. l or left
  79. m or middle
  80. r or right
  81. x$ is vertical
  82. t or top
  83. m or middle
  84. b or bottom
  85. You MUST use MPClockOff to switch it off.
  86. Look at example how I intended to use it.
  87. I recommend the following structure of the modules. Please note, that PROC MenuPlus: is mandatory, as the application calls the module this way. Also the MPModuleKey??? must exist. If you do not want to use them, just enter no commands.
  88. REM    ############################
  89. REM    MenuPlus 
  90. wolfgang@golder.de
  91. REM    example modul
  92. REM    ############################
  93. INCLUDE "MACRO.OPH"
  94. PROC MenuPlus:
  95.     MPClock:("m","b")
  96.     mINIT
  97.     mCARD "example","test",%t
  98.     MPMenu:
  99.     MPClockOff:
  100.     IF key%=ASC("t")
  101.         execute your command here
  102.     ENDIF
  103. PROC MPModuleKey1:
  104.     execute your command here
  105. PROC MPModuleKey2:
  106. REM up to    MPModuleKey8:
  107. fC:\documents\AccountsHelp
  108. Table1
  109. Title
  110. "App Name
  111. "Synonyms
  112. Arial
  113. Just for quickly compacting a Agenda or Data file. I implemented this as my Agenda has autocompact switched off and the file grows very much with often use. If you need to compact much files I recommend Ralph Sprenger's Compact. But just for the Agenda or a data file, it takes too much time.
  114. Call it with file - the file will be compacted, call it with MPCompact:("") you get a file selector.
  115. Gives the ability to JumpTo a desired folder in the system screen. You can use it two ways.
  116. 1) JumpTo:("") brings up a dialog, where you can choose the folder.
  117. 2) e.g. JumpTo:("C:\") jumps to drive C:\ -JumpTo:("C:\System\Apps\") guess what? - and so on... This works also with an CF-Card and even the ROM! But unfortunately it does not jump out of the ROM, and I can not figure out how to do this. But the good news is, that you can do it manually. On my S5classic UK-Version I use Ctrl-q. You should know by yourself the keypresses of the machine in your language.
  118. Attention: you MUST set the keys to open multiple files to "Fn+Enter"
  119. MenuPlus provides an additional menu. This menu can be different for each application and can be easily created with OPL and Macro5 commands. Addionally exist so called hotkeys, they can also be different for each application. There are also some builtin commands which are described later.
  120. I developed it, cause I like to control my Series5 and the applications with the keyboard. This is much faster than using the pen.
  121. MenuPlus is and will remain a Freeware application. All I ask for is that you send me your modules, which I will put on my homepage so that others can benefit from.
  122. Enjoy it and have fun :-)
  123. Copyright 
  124. 2001 by Wolfgang Golder - All rights reserved.
  125. Arial
  126. Arial
  127. Arial
  128. Arial
  129. Arial
  130. If you run MenuPlus the first time, you are automatically brought to preferences.
  131. Select the keys you want to use. The default values are the ones I use on my german machine.
  132. Select the two macros that are assigned to the global hotkeys. If you do not know what I mean, just leave it empty.
  133. But it is important to provide the two macro paths. The first one is where you store your Macro5 Macros. I use the second for macros that use menuPlus commands.
  134. After being started MenuPlus sits in the background and waits for a hotkey. When it receives it, MenuPlus checks which application is in foreground and shows a menu. This menu depends on if a definition has been made and if not a "fallback" to the "normal" Menu is made.
  135. The modifiers/hotkeys are choosen here. By user request I implemented Shift - then I noticed that one hotkey is not enough and that sometimes the pen would be usefull. So now you can choose between Ctrl and Shift as modifier, between menukey and the sidemenu as hotkey. By default Ctrl+Menu is selected. Additionally there are some other hotkeys. They are self explanatory. Also I implemented the possibility to use a Shift+Ctrl repacement. You have to assure by yourself that the coosen keys work on your machine. Next there are two "UserKeys". They are global and work out of each application. Last but not least there are "ModuleKeys". This means that you can define eight keys in combination with Fn. The hotkeys are the same in each application, but can have different actions in different applications. You should also choose the paths to your Macros folders. If you don't provide the correct paths, MenuPlus crashes when a Macro5 command is called. The preferences are stored in MenuPlus.ini.
  136. MenuPlus must know which menu to show for an application. These definitions are stored in MenuPlus.dat. First choose an application, this appication can reside anywhere in ROM, RAM or CF-Card. Next choose the module for this application. Third you can select the position where the module is stored in MenuPlus.dat. The lower the number is, the earlier the definition is found and the menu shown. This means give your most used definition a low number and the least used a high number. Surely there are applications you do not want/need to have an additional menu. For this case I did something I call "fallback". It means, that if there is no appliation/module definition the "builtin" menu is shown.
  137. choose the documents you want to be shown by mCARDdoc: The docs are stored in MenuPlus.dad
  138. NO WARRANTY,
  139. Arial
  140. Arial
  141. MenuPlus
  142. installation$
  143. MenuPlus
  144. integrated commandsF
  145. MenuPlus
  146.  mCARDtask:U
  147. Arial
  148. Shows the running tasks. Via MPMenu it is possible to switch to the selected task.
  149. related MPMenu:
  150. MenuPlus
  151.  mCARDinfo: --> removed --> use MPinfo: insteadn
  152. Arial
  153. Shows a menu, containing at the moment the following items:
  154. date and time
  155. free / total RAM
  156. free / total on CF-Card
  157. if external power is present
  158. battery status - Attention the %value is dependand on Series5 with alcali batteries
  159. is the link on or off
  160. MenuPlus
  161.  MPMenu:U
  162. Arial
  163. MenuPluse
  164. how it works?
  165. MenuPlus
  166. preferences
  167. MenuPlus
  168. example3
  169. MenuPlus
  170.  MPJumpTo:(folder$)U
  171. Arial
  172. MenuPlus
  173.  MPSwitchTo:(thread&)U
  174. Arial
  175. MenuPlus
  176.  builtinMenu:U
  177. Arial
  178. does what the name says
  179. MenuPlus
  180.  MPModuleKeyU
  181. Arial
  182. In the preferences you can define up to eight keys that can be used with Fn. Simply add a proc MPModuleKey1: to your own module. Look at example.
  183. Accordingly the other procs are called MPModuleKey2: MPModuleKey3: MPModuleKey4: ... until MPModuleKey8:
  184. MenuPlus
  185.  MPClock:("x$","y$") / MPClockOff:U
  186. Arial
  187. MenuPlus
  188.  MPToptoBack: MPBacktoTop:U
  189. Arial
  190. sends the foreground application to background and vice versa
  191. MenuPlus
  192.  MPCompact:(filewithpath$)U
  193. Arial
  194. MenuPlus
  195.  MPaddDoc:U
  196. Arial
  197. Lets you add documents to the documents database in a very easy way.
  198. Just highlight the desired file in the system screen and call this command.
  199. MenuPluse
  200. Note about Macro5
  201. MenuPlus
  202. credits
  203. Christian Waldrauch doing a GREAT job with testing and for being the first sending modules
  204. Mario Collado for his assistance with some basics
  205. Fredy Ott for always announcing my applications in his news
  206. MenuPlus
  207. first steps-
  208. MenuPlusBL
  209. somewhere in December 2000
  210. found Macros providing an additional menu. (Context from Mario Collado and MaruMenu from Markus Heinermann) I liked the idea very much, but not how it was implemented. So I created Menu+ for Macro5. This macro is still available from my homepage, but not developped any further. The modules from Menu+ are different from the ones of MenuPlus (the names start with M+...). As the size of the modules grew up and up and took longer and longer - I thought about a alternative solution.
  211. MenuPlus V1.00 - 02.01.2001
  212. First Version of the application MenuPlus. I called it MenuPlus to differ from the macro Menu+. It has the same functionality as Menu+ but with two small differences that make a big difference :-) The application stays in memory and the module also. This means that if you call MenuPlus twice or more often consecutively without changing the application, the module is only loaded once.
  213. MenuPlus V2.00 - not released
  214. MenuPlus V2.01 - not released
  215. MenuPlus V2.02 - not released
  216. MenuPlus V2.03 - 04.02.2001
  217. programmed from scratch
  218. able to execute Macro5 commands, therefore stopped Menu+
  219. capturekey Ctrl+Menu
  220. JumpTo
  221. preferences improved
  222. MenuPlus V2.04 - not released
  223. system tasklist
  224. JumpTo ROM
  225. security checks
  226. module priority = position
  227. MenuPlus V2.05 - 18.02.2001
  228. speed improved - nearly no delay
  229. new module stucture
  230. remembers the last used menupoint
  231. MenuPlus V2.06 - 24.02.2001
  232. crazy taskswitch function
  233. some internal commands
  234. information menu
  235. second hotkey
  236. user can choose modifier and hotkey
  237. select macros path
  238. MenuPlus V2.07 - 04.03.2001
  239. icons in system screen
  240. cleaned up definitions dialog
  241. to keep the app as small as possible and to return to its roots I removed the planned TaskBar and cancelled SwitchFiles for the system screen
  242. small cosmetic fix when displaying tasks
  243. new command MPinfo:
  244. a document launching menu
  245. MenuPlus V2.08 - 24.03.2001
  246. added the possibility of receiving keys from another application (see special)
  247. improved the documents selector
  248. removed about: as it is in the preferences dialog
  249. removed mCARDinfo: better use MPinfo:
  250. MenuPlus V2.09 - not released
  251. MenuPlus V2.10 - not released
  252. MenuPlus V2.11 - August 2001
  253. many internal improvements since the last released version
  254. added two hotkeys - one for the system screen, the other for the system tasklist
  255. added the eight ModuleKeys
  256. MenuPlus V2.12 / 2.13 - September 2001
  257. totally rewritten event handling - reacts now faster and gives a smoother feeling
  258. improved some of the existing commands
  259. added more error handling
  260. modules are now sorted automagically depending on how often they are used
  261. unfortunately you MUST delete your MenuPlus.dat and MenuPlus.dad and make the definitions and add the documents new
  262. all information for user is now shown in lower left corner
  263. new commands:
  264. MPClock
  265. MPClockOff
  266. MPToptoBack
  267. MPBacktoTop
  268. MPCompact
  269. MPaddDoc
  270. separate MPMacros
  271. MPDocuments
  272. MPBookmarks
  273. MPNotes
  274. ....... to be continued .......
  275. with more functions in your own menus the speed slows down - but its up to the user and what's a second :-) or less - in good old C64 times it took minutes only to load a program :-O
  276.  MPbusy:(text$,duration%)U
  277. Arial
  278. MenuPlus
  279. history=
  280. MenuPlus
  281.  preferences:U
  282. Arial
  283. preferences: lets you adjust your settings
  284. MenuPlus
  285.  MPTaskList:U
  286. Arial
  287. calls the system tasklist
  288. MenuPlus
  289.  MPinfo:U
  290. Arial
  291. Shows free RAM, free on CF-Card, external power or Battery, status of the link and the number of tasks.
  292. The message disappeares after 30 seconds, alternate you can press a key.
  293. Together with e.g. JumpTo and SelectDoc it's one of my personal favorites.
  294. MenuPlus
  295.  mCARDdoc:U
  296. Arial
  297. MenuPlus
  298.  MPSelectDoc:(file$)U
  299. Arial
  300. used with mCARDdoc: - the documents shown with that command can be called with MPSelectDoc
  301. MenuPlus
  302.  MPFgMacro:(filewithpath$)U
  303. Arial
  304. runs a macro
  305. MenuPlus
  306.  MPFgApp:(filewithpath$)U
  307. Arial
  308. runs an app and brings it to foreground
  309. MenuPlus
  310.  MPFgDoc:(filewithpath$)U
  311. Arial
  312. runs a document and brings it to foreground
  313. MenuPlus
  314. special
  315. You can sent a key to MenuPlus so that it can react on without showing the menu. At the moment there are 4 possibilities:
  316. i - shows MPinfo:
  317. d - document selector
  318. j - JumpTo dialog
  319. s - SwitchTo dialog
  320. MenuPlus~
  321.