source: WorldVistAEHR/trunk/r/VICTORY_PROGRAMMING_ENVIRONMENT-ZVEM/ZVEMSH3.m@ 1800

Last change on this file since 1800 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 3.4 KB
RevLine 
[613]1ZVEMSH3 ;DJB,VSHL**QWIK COMMANDS,USER QWIKS [3/6/95 7:27am]
2 ;;12;VPE;;COPYRIGHT David Bolduc @1993
3 ;
4QWIK ;;;
5 ;;; Q W I K C O M M A N D S
6 ;;;
7 ;;; The VShell allows the use of QWIK commands to greatly reduce the number
8 ;;; of keystrokes required to accomplish your tasks. QWIK commands are words
9 ;;; from 1 to 8 characters long, that, when invoked, will execute one line of
10 ;;; Mumps code. There are two types of QWIK commands: System QWIKs & User QWIKs.
11 ;;; System QWIKs come with the VShell and can not be altered. User QWIKs are
12 ;;; created by you.
13 ;;;
14 ;;; To run a QWIK command, you type one dot and the command for a User QWIK, and
15 ;;; two dots and the command for a System QWIK. If you created a User QWIK called
16 ;;; 'E' to invoke your routine editor, you would type '.E' to run the QWIK. To
17 ;;; run System QWIK VGL, the VGlobal Lister, you would type '..VGL', with two
18 ;;; dots, since it's a System QWIK.
19 ;;;
20 ;;; The question you may have is "When should I create a User QWIK?". I can only
21 ;;; tell you when I create a QWIK - If I type something over 3 times, I make a
22 ;;; User QWIK to do it. For example, I have my own routine that I use to monitor
23 ;;; the error log throughout the day. The routine is ^AAH2EVAX. So, I can type
24 ;;; D ^AAH2EVAX all day long or make a User QWIK called 'ER' and type '.ER'. The
25 ;;; QWIK command 'ER' requires only 1/3 of the keystrokes.
26 ;;;
27 ;;; Making a User QWIK command is very easy and you will learn more about that
28 ;;; in the 'User QWIKS' help text.
29 ;;;
30 ;;; You can use the F1 key to view all QWIK commands that are available to
31 ;;; you:
32 ;;; <F1>1...List User QWIKs and descriptions
33 ;;; <F1>2...List User QWIKs and their code
34 ;;; <F1>3...List System QWIKs and descriptions
35 ;;; <F1>4...List System QWIKs and their code
36 ;;;
37 ;;; NOTE: On a VT-100 keyboard substitute the PF1 key.
38 ;;;
39 ;;; Typing . or .. will bulk display User or System QWIKs. Typing . or .. and
40 ;;; the first few characters will list QWIKs starting with those characters
41 ;;; and allow a selection.
42 ;;;***
43USER ;;;
44 ;;; U S E R Q W I K S
45 ;;;
46 ;;; User QWIKs are your ticket to doing your work in half the keystrokes.
47 ;;; Anything you do in programmer's mode can be done with a User QWIK. A User
48 ;;; QWIK is a word, from 1 to 8 characters long, that will execute a line of
49 ;;; Mumps code. To invoke a User QWIK, type one dot and the name.
50 ;;;
51 ;;; Let's assume that on your Mumps system you switch UCIs by entering: DO ^%ZUCI.
52 ;;; Let's make a User QWIK command to do the same thing. To Add/Edit a QWIK, hit
53 ;;; the <TAB> key. You will be prompted for the following:
54 ;;; Prompt Your Answer
55 ;;; -------------- -----------------
56 ;;; NAME UCI
57 ;;; CODE D ^%ZUCI
58 ;;; DESCRIPTION Switch UCIs
59 ;;; PARAM NOTES
60 ;;; BOX 1
61 ;;; We've named the QWIK 'UCI'. The code we want it to execute is: 'DO ^%ZUCI'.
62 ;;; The description is 'Switch UCIs' and we've stored it in Box '1'. For more
63 ;;; information about PARAM NOTES and BOX, see help text for PARAMETER PASSING
64 ;;; and BOXES.
65 ;;;
66 ;;; You are now done. Back at the '>>' prompt, you can now type '.UCI' whenever
67 ;;; you want to switch UCIs. To see your new QWIK, hit <F1>1 or <F1>2 (List
68 ;;; User QWIKs). Making a QWIK command is just that easy.
69 ;;;
70 ;;; You can type <F1>4 to list System QWIKs and their code. This may give you
71 ;;; some ideas for making more sophisticated User QWIKs.
72 ;;;***
Note: See TracBrowser for help on using the repository browser.