[ALLY] Re: Script Startup Suggestion
From: tbrownell::yahoo::com at: 25-Apr-2001 11:17
Any other suggestions?
Carl Sassenrath <[carl--rebol--com]> wrote:
If your script needs to fetch files from the net before it opens a
window, it would be good to tell the user about it. Otherwise, the
user might think that your script does not work, and run it several
times or get frustrated.
Here's an easy way to tell the user:
flash "Downloading files..."
(BTW, note that you don't need to save the result of the read-thru.
To get the file later in your script, just use read-thru again and
it will be fetched from the disk cache.)
You can also tell the user what's downloading with a function such
read-flash: func [url] [
if not exists-thru? url [
flash join "Downloading: " url
Will help your users to know what's going on. In a future release
we will add this capability to script header NEEDS field.
Title: "A script"
Needs: [http://www/file1.jpg http://www.file2.jpg]
and a downloading message will appear automatically. Would be nice.