Short:        Open files in exist. Annotate instance
Author:       Nathan Hesterman
Uploader:     riversidepapa zoho com (Nathan Hesterman)
Type:         text/edit
Version:      1.0
Requires:     text/edit/Annotate_usr.lha
Architecture: generic

This is a little arexx script which runs Annotate with the
given files if not already running.  If it is running, the
script will add the given files to the existing Annotate
instance.

I use in Dopus4 as AmigaDOS:
rx REXX:Add2Ann {F}

Or if your assigns and paths don't transfer to Dopus4 as
in my case on AROS:
SYS:Rexxc/rx MINE:S/Arexx/Add2Ann.rexx {F}

I also use above as an alias for Edit in S:Shell-Startup.

You may need to change the location of RX if in C:.
You may need to change the location of Add2Ann.rexx.

You will need to make an assign for the annotate folder:
Assign Annotate: Mine:Utilities/Annotate

Or if your assigns and paths don't tranfer to Dopus4 or
NewShell as in my case with AROS, you will need to edit the
script to change the location of your Ann executable.  The
line is highlighted:

/*************************************************************/
/* change path to Annotate executable here                   */

MyCommand='Run >nil: Annotate:Ann ' | | AllFiles

/*************************************************************/

Please note the space between Ann and '.

If you have ActivateWin in C: your Workbench Screen will be
sent to the back so you can see your Annotate Screen.  The
command will fail silently if you don't have this or you use
a different cli tool.  If you use a different cli tool
you can edit the script to use it instead.  If you use
Annotate on the Workbench Screen you can erase this line:

ADDRESS COMMAND
'c:activatewin screen "Workbench Screen" toback quiet'
 
=======================================================
Version 1.0 - first release
