home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
util
/
rexx
/
infowin
/
infowin.doc
< prev
next >
Wrap
Text File
|
1993-08-18
|
3KB
|
80 lines
InfoWin
-------
InfoWin is written to use MUI V1.0. MUI stands for 'Magical User Interface'
and it is an awesome package. You will need MUI's library and classes
installed on your system to use this program. Look for MUI10.LHA on Aminet.
MUI is copyrighted by Stefan Stuntz.
InfoWin is a simple little program to keep track of messages sent to it via
its ARexx port. I wrote it to track messages from my Caller ID ARexx script
so that I would have an easy way of seeing my new calls. Its not complete
yet (ie. its not as fully featured as I hope to make it eventually) but it
is already in use on my system.
Each new message shows up at the bottom of the list, and when a new message
is received, the list is scrolled so that it is showing.
To send a message from ARexx, use the following command:
ADDRESS INFOWIN.1 "MESSAGE FROM xxxx MESSAGE yyyy"
where 'xxxx' is the name of the ARexx program sending the message
and 'yyyy' is the contents of the message. If you want the message to
keep its case, you would add quotes around it:
ADDRESS INFOWIN.1 "MESSAGE FROM xxxx MESSAGE 'yyyy'"
The FROM is not used currently, but I have plans for it later so I made it
a required field. In fact, the actual template for the MESSAGE command is
as so:
FROM/A,PRI=PRIORITY/K/N,GRP=GROUP/K,DATE/K,SEQ=SEQUENCE/K/N,MESSAGE/F
There is currently no way to 'acknowledge' a message and delete it from the
list. That is my next order of business, just as soon as I decide the best
way to go about that. I think probably I'll allow you to double click
them to highlight them and 'REMOVE' button to get rid of them.
It would also be nice to automagically have messages age and delete
themselves. Color would be nice too. (Imagine info messages in blue,
warnings in yellow and serious errors in red.) I want to also be able to
treat messages as groups. It would be nice if you could export messages
to the clipboard too. Maybe importing messages from the clipboard would
be a useful feature (though somehow I doubt it). And using file
notification it would be possible to use a file for notification, if that
was a useful feature.
You can see that I have many features planned.
Other ARexx commands that the program will accept, thanks to MUI:
QUIT - Quit the program (actually it brings up the quit requestor).
HIDE - Hide the user interface (Iconify).
SHOW - Show the user interface (Uniconify).
INFO ITEM/A - Put some info in RESULT (if OPTIONS RESULTS was specified).
ITEMs are: title, author, copyright, description, version, base.
HELP FILE/A - A list of all ARexx commands is written to the FILE.
Thanks to MUI the program also registers with the Commodity Exchange, so you
can use it to generate the same effects as QUIT, HIDE and SHOW as well as
see some of the INFO fields.
Well, thats all for now. If you have suggestions or feature requests,
please send them along. If you'd like the source (not provided because
of the incompleteness of the program) then drop me a note.
Nick MacDonald
i6t4@jupiter.sun.csd.unb.ca
i6t4@unb.ca
P.O. Box 20199
Fredericton, New Brunswick
CANADA
E3B 7A2
(506) 457-1931