home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Security
/
Security.zip
/
swp401.zip
/
OBJECTS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-02-08
|
871b
|
29 lines
/* OBJLIST.CMD: generates and object list */
/* Routine will display the OBJECTIDs known to the WorkPlace Shell */
/* Copyright Syntegration 1993. All rights reserved */
'@ECHO OFF'
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs
App='PM_Workplace:Location'
call SysIni 'USER', App, 'All:', 'Keys'
if Result \= 'ERROR:' then do
Call SysCls
Say '';Say '';Say 'Listing ObjectId information';Say '';
parse value SysTextScreenSize() with row col
j=row-10
Do i=1 to Keys.0
If trunc(i/j)==i/j Then Do
Say '';Say 'Press any key to show next screen...'
key=SysGetKey()
Call SysCls
Say '';Say '';Say 'Listing ObjectId information';Say '';
End
Say Keys.i
End
End
Else Say 'Error querying' App
Return