home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
arexx
/
moos
/
docs
/
english
/
rexx_intuition.doc
< prev
next >
Wrap
Text File
|
1997-03-25
|
5KB
|
223 lines
TABLE OF CONTENTS
--background--
rexx_intuition.library/Beep
rexx_intuition.library/GetPubScreen
rexx_intuition.library/SetPubScreen
rexx_intuition.library/WBenchScreen
--background-- --background--
$(C): (1996, Rocco Coluccelli, Bologna)
$VER: rexx_intuition.library 37.3 (15.03.97)
rexx_intuition.library
This sub-library of the rexxMOOS.library let ARexx programmers
use some function from the intuition.library.
Beep()
GetPubScreen()
SetPubScreen()
WBenchScreen()
NOTES
Is part of the MOOS package.
TODO
BUGS
rexx_intuition.library/Beep rexx_intuition.library/Beep
NAME
Beep -- Flash the fronmost or all screen.
SYNOPSIS
Beep(options)
FUNCTION
"Beeps" the video display by flashing the background color of
the frontmost screen. Use this function when need to know of
an event that is not serious enough to require the use of a
requester.
INPUTS
options - "All/S"
All - Flash all opened screens.
RESULT
A flash...
EXAMPLE
CALL Beep()
NOTES
SEE ALSO
intuition.library/DisplayBeep()
rexx_intuition.library/GetPubScreen rexx_intuition.library/GetPubScreen
NAME
GetPubScreen -- Get information about pubscreens.
SYNOPSIS
pubname = GetPubScreen(options)
FUNCTION
This function can retreive information about public screens
opened in the system, or frontmost public screen's name.
INPUTS
options - "Outstem,Default=Def/S"
"Outstem" - The function can fill out any given stem with a
list of all public screens opened in the system:
<stem.>n
Nth public screen's name.
This function supports "#" and "*" stems types
(read the rexxMOOS documentation for details).
"Default" - Current default public screen's name will be
returned.
RESULT
In case of errors the function returns an empty string. Without
specifying the optional switch "Default" will be returned the
name of the frontmost public screen.
EXAMPLE
SAY GetPubScreen()
NOTES
SEE ALSO
intuition.library/GetDefaultPubScreen(),
intuition.library/LockPubScreenList()
rexx_intuition.library/SetPubScreen rexx_intuition.library/SetPubScreen
NAME
SetPubScreen -- Set any data about pubscreens.
SYNOPSIS
ret = SetPubScreen(options)
FUNCTION
Use this function to set the default public screen and/or the
new modes (Shanghai,...).
INPUTS
options - "PubName,Default=Def/S,Shanghai=Sh/S,
PopPubScreen=Pop/S"
"PubName" - A public screen name. If not provided the
"Workbench" will be used.
"Default" - The given "PubName" become the new default
public screen.
"Modes" - Sets GLOBAL Intuition public screen modes:
"Shanghai=Sh"
Workbench windows are to be opened on
the default public screen.
"PopPubScreen=Pop"
When a visitor window is opened, the
public screen it opens on is to be
brought to the front.
Setting new modes, for all public screens, lets
the function returns the old ones as result.
RESULT
Depends on the given options.
EXAMPLE
SAY SetPubScreen('Modes Sh')
NOTES
SEE ALSO
intuition.library/SetDefaultPubScreen(),
intuition.library/SetPubScreenModes()
rexx_intuition.library/WBenchScreen rexx_intuition.library/WBenchScreen
NAME
WBenchScreen -- Close the WorkBench screen.
SYNOPSIS
success = WBenchScreen()
FUNCTION
This function attempts to close the WorkBench screen.
INPUTS
options - "Close=C/S,Open=O/S,ToBack=B/S,ToFront=F/S"
"Close" - The function attempts to close the Workbench
screen.
"Open" - Reopen the Workbench screen.
"ToBack" - Send the Workbench screen to back, if it is
currently opened.
"ToFront" - Make the Workbench's screen the frontmost, if
it's opened.
RESULT
success - boolean value (1 mean all done, ok).
EXAMPLE
IF WBenchScreen('C') THEN
SAY "WorkBench screen closed..."
NOTES
SEE ALSO
intuition.library/CloseWorkBench(),
intuition.library/OpenWorkBench(),
intuition.library/WBenchToBack(),
intuition.library/WBenchToFront()