home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
MAKEOB.ZIP
/
MAKEOBJ.DOC
< prev
next >
Wrap
Text File
|
1993-02-25
|
3KB
|
78 lines
MakeObject Utility F. Paul Ballard
Version 1.0 (716) 425-3471
Compuserve: 70514,24
==============================================================================
This application is used for adding, editting, hiding, and showing
objects. The object parameters are stored in *.ODF files. The syntax for
the utility is:
[C:\]MAKEOBJ ADD OBJECT.ODF
EDIT
HIDE
SHOW
NOTE: This utility will not work with existing objects unless they
have a unique OBJECTID parameter (and you can find out what
it is).
The format for the .ODF file is as follows:
CLASSNAME:ClassName
TITLE:Title
LOCATION:Location
SETUP:SetupString
ClassName can be any of the Workplace Object Classes (pg. 9-2 Presentation
Manager Programming Reference Vol II). For Example: "WPProgram",
"WPDataFile", or "WPFolder".
Title is any developer defined string to act as the Title to be displayed
with the icon or in the object's title bar.
Location can be either a real name specified as a fully qualified path
name OR a predefined system folder. For Example: "<WP_DESKTOP>",
"<WP_START>", "D:\NewObject".
SetupString is a string of "Keyname=value" pairs concatenated together with
commas or semicolons. Most of these are listed in pgs 9-229 thru 9-231 of
the Presentation Manager Programming Reference Vol II). The most common
are listed below:
TITLE = string
ICONFILE = filename
TEMPLATE = YES/NO
NODELETE = YES/NO
NOCOPY = YES/NO
NOMOVE = YES/NO
NOSHADOW = YES/NO
NOTVISIBLE = YES/NO
NOPRINT = YES/NO
OBJECTID = <string>
OPEN = SETTINGS/DEFAULT
NOTE: Do not use NOTVISIBLE keyname (Will conflict with HIDE and
SHOW Actions)
ALWAYS use OBJECTID keyname, otherwise the application won't
be able to reference your object later.
There are also "Keyname=value" pairs used only by WPProgram objects. Some
of these are:
ASSOCFILTER = string
ASSOCTYPE = string
EXENAME = filename
PARAMETERS = string
PROGTYPE = FULLSCREEN/PM/SEPARATEWIN/WINDOWEDWIN
VDM/WIN/WINDOWABLEVIO/WINDOWEDVDM/
STARTUPDIR = pathname
You should check the reference manuals for other settings available.
At the time of the creation of this utility I still can't for the life of
me figure out how to delete an object. If you happen to know how to do this
I'd appreciate it if you dropped my a line or a call.