OS/2, eCS & ArcaOS - Technical > Applications
How to list the OBJECTID names on WPS ?
Martin Iturbide:
Hi
I forgot which was the way to see the "ObjectID" of a folder or program on the WPS desktop.
For example when creating an Object on WarpIn:
CREATEOBJECT="WPFolder|Alien Blaster|<WP_APPSFOLDER>|OBJECTID=<AlienBlasterFOLDER>;"
▲ ▲ ▲ ▲
▲ ▲ ▲ ▲
WPSClass Name Parent folder OID ObjectID.
What was the easy way to know the ObjectIDs on the objects of the desktop for example. Any Script or Utility suggestion is welcome.
I know it should be easy but I just forgot about it.
Regards
Pete:
Hi Martin
You may find getobj.cmd useful. From the comments, which include use instructions, included in getobj.cmd:-
/* Description */
/* GETOBJ creates a list containing the data for all objects in a */
/* folder (and it's sub folder). For each object the title, the */
/* class, the setup string and the location is shown. */
/* GETOBJ can also create a REXX program with SysCreateObject calls */
/* to recreate the objects. */
/* */
http://hobbes.nmsu.edu/download/pub/os2/dev/rexx/gbj111.zip
Regards
Pete
ak120:
--- Quote from: Martin Iturbide on January 11, 2018, 05:39:23 pm ---I forgot which was the way to see the "ObjectID" of a folder or program on the WPS desktop.
--- End quote ---
In the case that one desktop object contains several folder or program objects.
--- Code: ---/* REXX */
call RxfuncAdd SysLoadFuncs, RexxUtil, SysLoadFuncs
call SysLoadFuncs
call SysIni 'USER', 'PM_Workplace:Location', 'All:', 'Keys'
if RESULT \= 'ERROR:' then DO i=1 to Keys.0
SAY Keys.i
END
else SAY RESULT
return
--- End code ---
Martin Iturbide:
Thank you.
Both ways worked great.
I found a way to find that information one by one by checking the properties inside "file" (check attachment), but your ways are a lot faster and better.
Regards
David McKenna:
Martin,
Yet another way is to right-click the object, go to 'Properties', then the 'Icon' tab and at the bottom click 'Details...'
Regards
Navigation
[0] Message Index
[#] Next page
Go to full version