ScriptTip#108:      UniversalPrintDateKey
Synopsis:           Prints date into current document, regardless the
editor you're using!
Description:        This script allows you to have a single keystroke for
entering the date into documents you edit.

Remarks:            It gets old, having to remember that a certain
keystroke is used to print the current date into a document when using
Word, and a different keystroke for the same task in NotePad, and a
different keystroke for WordPerfect, and one for WordPad, and on and on.
Wouldn't it be nice to be able to have a single keystroke that would enter
the current date into any document you may be editing, regardless which
editor you might be using to do the editing?  This script will do just
that--giving you a "UniversalPrintDateKey!"

Compatibility:      JFW3.3 or higher.

--------------------------------------------------------------------------
1)  Hit Control+Shift+0 to launch the Script Manager with the default.jss
file loaded.
2)  Hit Control+End  to get to the bottom of the file, then hit Enter a
couple of  times to give yourself some space.
3)  Type, (or cut and paste), the following lines:

script UniversalPrintDateKey()
SayString("Printing date")
TypeString(SysGetDate())
EndScript

4)  While on a line within this script, hit Control+D to edit the
properties.
5)  Tab to Synopsis and Description fields, filling in that data.
6)  Tab to AssignTo: and give it a 3-key combo hotkey, such as
Alt+Control+T.
Tab to Ok and whack Enter.
6)  Hit Control+S to compile.

Once you've recycled JFW, go into some editor and give your new PrintDate
feature a try!


Thanks,
Dennis Brown, [EMAIL PROTECTED]
June 15, 1999


-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to