Rodrigo Cesar Banhara wrote in a message to Jack Stein:
-=> Quoting Jack Stein to Rodrigo Cesar Banhara <=-
JS> There are a number of tools that require an objectid, for example, I
JS> have a script that periodically scans my system to determine if the BBS
JS> is active or not, and restarts it if it crashed, and scripts that shut
JS> it down before opening an internet session, then waits until the
JS> internet session ends then automatically loads the BBS. ObjectID's are
JS> an intregal part of all this, and they are a good way to open DOS
JS> sessions with all the settings that the object requires when you can't
JS> be there to click on an icon.
RCB> What progies require objectid? I am curious! =)
REXX requires an objectid if you wish to open an icon using REXX. WPTOOLS
requires objectid's for some functions that work with objects. I just
explained above some examples of how I use them. For example, to open an
object (icon) with REXX one can use this function, and call it with the
objectid:
/**********************************************************************
Open_Object:
parse ARG Obj_ID
say "Loading" Obj_ID "... "
rcode = sysopenobject('',0,1)
return rcode
/***********************************************************************/
So, the objectid of my BBS is so from a REXX script I can call the
above function, passing it "OPUS_BBS" and my DOS BBS will start with all the
DOS_SETTINGS exactly as if I clicked on my BBS ICON. This can then be
automated to run unattended. I can also shut down applications, restart them
and do other various things without being here.
Jack
--- timEd/2-B11
278/111
* Origin: Jack's Free Lunch 4OS2 USR 56k Pgh Pa (412)492-0822 (1:129/171)
|