Menu

#188 ARexx - APPBUSY and APPNOBUSY

open
nobody
None
6
2009-09-11
2009-09-01
Anonymous
No

(Inspired by YAM equivalent APPBUSY)

APPBUSY
-------

NAME
AppBusy -- Switch SimpleMail into busy state.

TEMPLATE
TEXT

FUNCTION
Switches Simplemail into busy state and optionally displays a short
text in the status bar. During this state, SimpleMail won't accept
any input.

INPUTS
TEXT - optional, a brief piece of text to display in the status
bar while SimpleMail is in busy state; the maximum length
of the displayable text depends on the width of the
characters used

RETURNS
RC is set to 1 if SimpleMail was already busy.

NOTES (from YAM)
V2.4 introduced the concept of busy levels, meaning the command
is now accumulative: if AppBusy is called several times, an equal
number of calls to AppNoBusy must be made for the application to
return to normal state.

EXAMPLE
/* Turn busy mode on */

'APPBUSY "Please wait..."'

/* Say we are doing something different */

'APPBUSY "Making coffee..."'

/* Turn busy mode off */

APPNOBUSY
APPNOBUSY

-----

(Inspired by YAM equivalent APPNOBUSY)

APPNOBUSY
---------

NAME
AppNoBusy -- Bring SimpleMail out of busy state.

TEMPLATE

FUNCTION
Terminates the busy state initiated by APPBUSY .

INPUTS

RETURNS
RC is set to 1 if SimpleMail is still busy.

NOTES (from YAM)
V2.4 introduced the concept of busy levels, which means that if
APPBUSY is called several times in a row, an equal number of
calls to AppNoBusy must be made for the application to return
to normal state.

AppNoBusy is a "safe" command, i.e. it can be called even if
the application is not busy at the time, causing no error.

AmigaPhil

Discussion

  • AmigaPhil

    AmigaPhil - 2009-09-11

    (Raised the priority a bit)

     
  • AmigaPhil

    AmigaPhil - 2009-09-11
    • priority: 5 --> 6
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.