Acorn News Service RISC OS Filebase
Navigation
------
Home
------
About Us
------
Search
------
Authors
------
Filetypes
------
RISC OS
------
Statistics
------

Login
------



Remember me
------
Register
------

Categories
------
Audio Video
------
Communications
------
Databases
------
DTP
------
Education
------
Emulators
------
Engineering
------
Filer
------
Financial
------
Games
------
Graphics
------
Programming
------
Utilities
------
[Filler Image]
RISC OS Filebase
Home > Software > Utilities > WaitUntil

Search

WaitUntil

Author Soft Rock Software Licence Unknown Rating No rating yetNo rating yetNo rating yetNo rating yetNo rating yet
Version 10th November 2005 URLs Homepage, Download (11 KB)

Introduction

Can be called from an Obey file, to halt execution of that file until a specified condition is met.

Details

WaitUntil is a small program for RISC OS computers which can be called from an Obey file, to halt execution of that file until a specified condition is met. The program sets itself up as a normal WIMP application, though without any windows, etc, and just polls the WIMP, testing if the condition has been satisfied each time control returns. Once satisfied, the program quits, and execution of the calling Obey file continues as normal.

Adding a -s switch to the command line causes WaitUntil to single task, and in this way it can also be called from TaskObey files.

Available conditions are as follows:

WaitUntil Exists object
Waits until the specified object (file, directory or image file) exists.
WaitUntil Set variable
Waits until the specified system variable is set.
WaitUntil Running application
Waits until the specified application is running (ie registered with the WIMP)
WaitUntil Open file
Waits until the specified file is open.
WaitUntil Closed file
Waits until the specified file is closed.
WaitUntil Elapsed time
Waits until the specified amount of time has passed

In addition, the reverse of all the above can be tested for (with the exception of 'Elapsed'), by prefixing the condition with an explanation mark (!), as in:

WaitUntil !Set variable
- which would wait until the specified variable is unset.

RISC OS Compatibility

RISC OS 2unknown RISC OS 3.1xyes RISC OS 3.5yes
RISC OS 3.6yes RISC OS 3.7xyes RISC OS 4.0xyes
Select 1i9 (4.29)yes Select 2i3 (4.33)yes Select 3i3 (4.37)yes
Select 3i4/Adjust 1i2 (4.39)yes RISC OS 4.40yes RISC OS 5.0xyes
RISC OS 5.1xyes      
Help on versions

Supported Filetypes

FiletypeShort NameDescriptionOriginReadWriteNotes
No filetype support information is currently stored for this entry.
Help on Filetypes


Design & Code Copyright © 2006 ANS. Not associated with Castle Technology, RISCOS Ltd, or any other company
Webmaster: Stephen Courtney. The ANS Filebase is hosted by acornusers.org