Scripting Fetch...
Scripting Fetch...
- Subject: Scripting Fetch...
- From: Hellum Timothy <email@hidden>
- Date: Tue, 19 Dec 2000 09:31:44 -0500
I must have missed the Original posting on this. We use a script (applet)
that will take a dropped file, launch Fetch and post it to our client's
site. Works well for us. We used (a modified version of it) extensively
with one of our photographers at the Sydney games this year.
<><><><><><><><><><><><><><><><>
property gDesturl : ""
on specify_destination()
set dialog_reply to display dialog "Enter Destination URL in format:" &
return & "
ftp://[user[:password]@]host/path" & return & "Where[...]
is optional." default answer gDesturl
--
ftp://--the destination site--
if button returned of dialog_reply = "OK" then
set gDesturl to text returned of dialog_reply
end if
end specify_destination
on open doc
if gDesturl = "" then
specify_destination()
end if
if gDesturl - "" then
with timeout of 60000 seconds
tell application "Fetch 3.0.3"
put into url gDesturl item doc
-- quit
end tell
end timeout
end if
end open
<><><><><><><><><><><><><><><><>
_______________________________
Once again the thought strikes me:
Half is quite a bit of wit.
~ Tom Waits