home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
wpsorexx.zip
/
wpObjectOpen.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
2002-07-10
|
2KB
|
48 lines
/* REXX *********************************************************************
* Öffnet Workplace Object
******************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************
*
* $Archive: G:/Archive/ORexx/WorkPlace/wpObjectOpen.CMD,v $
* $Workfile: wpObjectOpen.CMD $
* $Author: Martin_Krischik $
* $Revision: 1.0 $
* $Name:$
* $Date: 24 Aug 1997 13:34:28 $
* $Log: G:/Archive/ORexx/WorkPlace/wpObjectOpen.CMD,v $
*
* Rev 1.0 24 Aug 1997 13:34:28 Martin_Krischik
* Workplace Shell support.
*
****************************************************************************/
wpObjectOpen:
PARSE ARG Objektname
/* SAY 'Objectname : ' Objectname */
Result = SYSSetObjectData(Objectname, 'open=default')
IF Result = 1 THEN
DO
SAY 'Object' Objectname 'successfull opened.'
END
ELSE
DO
SAY 'Object' Objectname ' - not opened.'
END
RETURN