Re: F1 key to launch a CHM help file


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on June 08, 2007 at 13:36:58:

In Reply to: F1 key to launch a CHM help file posted by Mike Saunders on June 08, 2007 at 11:25:41:

Mike:

F1 is by default the Comet Help Key. When it is pressed a program called NOVA is run that dispatches to whatever action is assigned based on what was going on in the app when F1 was pressed. If you're not using this feature, then NOVA discovers that there's nothing to do and the F1 is ignored.

If you want to reassign the F1 key to do something else I think it's easily done. Run NOVAMNT (#43 on the QTILITY menu - it is a very ugly old program). Assuming you want this new action applied to all users, enter SYS at the first prompt (alternatively you can assign key functionality by terminal). Then select "U" from the menu at the bottom. TAB down to the line for F1, enter E under Action then the name of a dispatch program you will write that will figure out which .chm file to launch based on where the user was in the program when he/she pressed F1. You can find out where they were by including XHELPCM in the declarative section of your dispatch program. The info is passed in # buffer. Reading this info is the first thing your program should do:

include "xhelpcm"

input (#,hstat)

Look at the hstat format and you'll see what info is passed.

bb



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]