Dec 292017
File picking utility for Microsoft "M" Editor. Excellent!.
File FILEPICK.ZIP from The Programmer’s Corner in
Category Miscellaneous Language Source Code
File picking utility for Microsoft “M” Editor. Excellent!.
File Name File Size Zip Size Zip Type
FILEPICK.DOC 5190 2084 deflated
FILEPICK.EXE 21807 12604 deflated

Download File FILEPICK.ZIP Here

Contents of the FILEPICK.DOC file

FILEPICK (C) 1989 by David Smith Version 1.3

The program FILEPICK.EXE is a shareware program.

FILEPICK was made to be used with the Microsoft Editor. It is used to
pick the next file to be loaded into the editor. The program is
similar to QuickC's file picker. The main section of code in FILEPICK comes
out of the CXL library, which I highly recommend. The hardest part of this
program was deciding which editor macros to use. FILEPICK works with or
without a mouse on monochrome or color computers.

You can tryout FILEPICK before adding it to your editor
by typing "FILEPICK *.*".

Pressing the up arrow on the right side of the window with the mouse
causes the files to scroll up, the down arrow makes the files scroll down.
Page up and page down also work the same way. Pressing the first letter of
a file name takes you to the next file that begins with that letter, or you
can use the arrow keys. When the file you want is highlighted press
or press the mouse button. To abort the selection of a filename, just press
ESC. The filename you selected is saved in file FILEPICK.$$$ for the editor
macros to read.

The following macros should be added to your Microsoft Editor initialization
file. The file is called TOOLS.INI. The file is in the directory where the
"INIT" environmental path is set.

;-- EDITOR MACROS-------------------------------------------
save_off:= arg "nosavescreen:" assign
save_on:= arg "savescreen:" assign
load_clip:= arg "" setfile

;--FILE PICK MACROS-----------------------------------------
filepick1:= arg "FILEPICK *.*" shell
filepick2:= arg arg "FILEPICK.$$$" paste
filepick3:= arg setfile setfile arg refresh
filepick4:= arg "DEL FILEPICK.$$$" SHELL arg
filepick:= save_off filepick1 load_clip filepick2 filepick3 filepick4 save_on

save_off - Turns off the screen save function.
save_on - Turns on the screen save function.
load_clip - Changes the current file to the .

filepick1 - Runs FILEPICK requesting that all files be displayed.
filepick2 - Loads the filename you picked from file FILEPICK.$$$ into the editor.
filepick3 - Changes the current file to the one you picked. Changes back
to the , and gets rid of the .
It then goes back to the file you picked. The reason for this
is so when you press F2 to change to your previous file you don't
go to the .
filepick4 - Deletes the work file that contained the file you picked.
filepick - Put all the macros together.
filepick - Assign the macros to a key.

After these lines are added to the TOOLS.INI file, holding down the alt key
and pressing F activates FILEPICK from within the "M" editor.

You could assign different file specifications to different keys. For example
alt+c to list c source or alt+h to list header files.

If a directory path is added to the file specification, for every
'\' entered in the path, two must be entered. For example \UTILITY\*.*
would be entered into the "M" editor initialization file as

filepick1:= arg "FILEPICK \\UTILITY\\*.*" shell

FILEPICK can also be run from the dos prompt.

USAGE: FILEPICK file specification

FILEPICK *.C Lists all C source files.
or FILEPICK *.H Lists header files.
or FILEPICK *.* Lists all files.

David Smith
939 5th Street N.E.
Washington, D.C. 20002

The monetary request for my effort is $5.00 if you use this program.
Everyone who sends $5.00 or more will receive information on how to
print text on your printer within the "M" editor.

If you send in $10.00 you will also receive DIR_DO. DIR_DO will execute a dos
command or run a program in every subdirectory of your hard disk starting
with the directory which you specify.

DIR_DO "del *.bak" C:\SOURCE Deletes all .bak files on drive C:
in the subdirectories of \SOURCE
orDIR_DO DIR D: Lists every file on drive D:.
orDIR_DO "del *.*" C: Deletes everything on drive C:.
every directory for "HELP"

If you send in $15.00 you will also receive EASYSHELL in addition to DIR_DO.
EASYSHELL was made to be used as a simple dos shell to run programs.
Add it to your AUTOEXEC.BAT file to have a small, instant, easy shell
to run your programs. You could also use it within ProComm as one of
its hot keys to run programs, or maybe use it to run programs within
the Microsoft Editor. EASYSHELL works very much like FILEPICK. It supports
monochrome monitors, color monitors, and mice.


1.07/05/1989 - Initial Program and macros.
1.17/14/1989 - Cleaned up the macros.
1.27/15/1989 - Added ability to pick files starting in other directories
and drives. Added additional macros to keep from flipping
the screen.
1.37/18/1989 - Added shadow to the window.

 December 29, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>