Re: Tell OS X Application...
Re: Tell OS X Application...
- Subject: Re: Tell OS X Application...
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 10 Jan 2002 10:54:31 -0800
On 1/10/02 10:26 AM, I wrote:
>
What you could do if you wish is:
>
>
set my_app to ((path to scripting additions folder from System domain as
>
string) & "URL Access Scripting.app")
>
>
which is somewhat neater.
Actually, you can cut out two lines by omitting the Finder completely:
set my_file to ((path to desktop as string) & "vebraproperties.txt")
set my_app to ((path to scripting additions folder from System domain as
string) & "URL Access Scripting.app")
with timeout of 300 seconds
using terms from application "URL Access Scripting"
tell application my_app to download
"
ftp://username:password@server_ip/WEBSITE7/vebraproperties.txt" to file
my_file replacing yes
end using terms from
end timeout
--
Paul Berkowitz