home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
w
/
wingrb16.zip
/
AMI_WGDB.DOC
< prev
next >
Wrap
Text File
|
1992-09-21
|
2KB
|
46 lines
Wingdb Macro for Ami-Pro
This Ami-Pro Macro was prepared using Ami-Pro version 1.2b and
has not been tested with later versions. It should run
properly, although it may be improved in later versions of
Ami-Pro with macro language enhancements.
The macro shown below may need to be modified in order to work
properly on your system. The line that uses the 'exec' function
calls wingdb.exe and passes the name of the work file to the
wingdb.exe program. The first time you run Wingdb it creates a
work file name of wingdb.ix. If you use a different file name
for your work file, replace the wingdb.ix file name with your
work file name. Also, the path for the wingdb.exe program is
assumed to be c:\grabplus. You will have to change this path if
it differs on your system.
FUNCTION WGD1()
exec("c:\grabplus\wingdb.exe"," c:\grabplus\wingdb.ix")
minimize()
usercontrol("Paste address into document?")
restore()
paste()
END FUNCTION
Technical notes.
The 'exec' function does not pause the macro. If you run a
program the macro will continue to run and in this instance you
will not be given a chance to copy an address into the
clipboard. The "usercontrol" function is used to pause the
macro.
The 'minimize' and 'restore' functions are used to reduce
Ami-Pro to an icon because the 'usercontrol' function will cause
Ami-Pro to be the forground window and cover up the running
wingdb program.
If you have suggestions on improving this macro we would
appreciate you letting us know.
Advanced Support Group, Inc.
11900 Grant Pl.
Des Peres, MO 63131
314-256-3130