Fetch script & dialog screen
Fetch script & dialog screen
- Subject: Fetch script & dialog screen
- From: Craig Nansen <email@hidden>
- Date: Sat, 27 Oct 2001 23:14:39 -0500
With a lot of help from people on this list, I got the following
script to work. This will be very useful to secretaries in 19 schools
that are being asked to put their announcements on their school web
page.
The problem is that if Fetch is not running, it opens to the main
screen and sits until the cancel button is clicked. Then the script
executes and closes the window.
on open doc
with timeout of 60000 seconds
try
tell application "Fetch 3.0.3"
put into url
"
ftp://school:email@hidden/old_announce" item doc
-- quit
end tell
on error -- just quit
end try
end timeout
tell application "Fetch 3.0.3"
close window 1
end tell
end open