Computing.Net > Forums > OpenVMS > quiktast

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

quiktast

Reply to Message Icon

Original Message
Name: eric heijnen
Date: July 15, 2002 at 02:43:26 Pacific
Subject: quiktast
Comment:

i hat ask a question and have also an awnser
but i don't now how to handle, plaese can you give me a exemple

Question:
how kan i make a quiktast to startup programs with f1/f2/f3 etc
thanks


awnser

write a batch file using ascii escape codes to assign the f keys. be sure not to use the keys windows already uses for its own shortcuts.


Report Offensive Message For Removal


Response Number 1
Name: klaus
Date: August 12, 2002 at 23:45:04 Pacific
Reply:

DEFINE

/KEY

Examples


1.$ DEFINE/KEY PF3 "SHOW TIME" /TERMINATE
%DCL-I-DEFKEY, DEFAULT key PF3 has been defined
$
$ SHOW TIME
14-DEC-1994 14:43:59

In this example, the DEFINE/KEY command defines the PF3 key on
the keypad to perform the SHOW TIME command. DEFAULT refers to
the default state.

2.$ DEFINE/KEY PF1 "SHOW " /SET_STATE=GOLD/NOTERMINATE/ECHO
%DCL-I-DEFKEY, DEFAULT key PF1 has been defined
$ DEFINE/KEY PF1 " DEFAULT" /TERMINATE/IF_STATE=GOLD/ECHO
%DCL-I-DEFKEY, GOLD key PF1 has been defined
$
$
$ SHOW DEFAULT
DISK1:[JOHN.TEST]

In this example, the first DEFINE/KEY command defines the PF1
key to be the string SHOW. The state is set to GOLD for the
subsequent key. The /NOTERMINATE qualifier instructs the system
not to process the string when the key is pressed. The second
DEFINE/KEY command defines the use of the PF1 key when the
keypad is in the GOLD state. When the keypad is in the GOLD
state, pressing PF1 causes the current read to be terminated.

If you press the PF1 key twice, the system displays and
processes the SHOW DEFAULT command.

The word DEFAULT in the second line of the example indicates
that the PF1 key has been defined in the default state. Note
the space before the word DEFAULT in the second DEFINE/KEY
command. If the space is omitted, the system fails to recognize
DEFAULT as the keyword for the SHOW command.

3.$ SET KEY/STATE=ONE
%DCL-I-SETKEY, keypad state has been set to ONE
$ DEFINE/KEY PF1 "ONE"
%DCL-I-DEFKEY, ONE key PF1 has been defined
$ DEFINE/KEY/IF_STATE=ONE PF1 "ONE"
%DCL-I-DEFKEY, ONE key PF1 has been defined

This example shows two ways to define the PF1 key to be "ONE"
for state ONE.

The second DEFINE/KEY command shows the preferred method for
defining keys. This method eliminates the possibility of
error by specifying the state in the same command as the key
definition.



Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home



Results for: quiktast

Re-Direction of Print Queue
    Summary: Hazem, Hakan and I (if my memory serves correctly) had an extended discussion on this very subject just a short time ago (see "Creating a Queue" by JWulli, last entry 10/5/2004). Rather than reproduce...
www.computing.net/answers/openvms/redirection-of-print-queue-/325.html

X-win display issue
    Summary: I have a problem, with a X win display page used for image display of satellite data. the attached code with the display page automatically displays images of 1280x1000 resolution on at external event...
www.computing.net/answers/openvms/xwin-display-issue/378.html

seperate a file to different file
    Summary: $ search file.DAT "scenario1" /output=scenario1.lis $ search file.DAT "scenario2" /output =scenario2.lis $ search file.DAT "scenario3" /output=scenario3.lis $ if f$file_attribute("scenario1.lis","ALQ"...
www.computing.net/answers/openvms/seperate-a-file-to-different-file-/497.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software