• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fetch script & dialog screen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: AppleScript & old PowerMacs
  • Next by Date: Put or get file from AS
  • Previous by thread: Re: AppleScript & old PowerMacs
  • Next by thread: Re: Fetch script & dialog screen
  • Index(es):
    • Date
    • Thread