Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
- Subject: Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
- From: revDAVE <email@hidden>
- Date: Mon, 29 Dec 2008 08:44:05 -0800
- Thread-topic: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
On 12/26/2008 12:11 PM, "Ed Stockly" <email@hidden> wrote:
Thanks Ed: with timeout of 600 seconds
line worked great!
For my info - the line :
set SuppressAppleScriptAlerts to true
didn't seem to work for this - any reason why?
>
>
> with timeout of 600 seconds
>
> tell application "Transmit"
> set SuppressAppleScriptAlerts to true
> make new document at before front document
> tell current session of document 1
> if (connect to "ftp.mysite.com" as user "test" with password "test"
> with initial path "/public_html/test") then
> if (set your stuff to "/Volumes/mydrive/test/") then
> if (set their stuff to "/public_html/ez_bu") then
> upload item thefile
> else
> display dialog ("An error occurred, could not change remote
> folder to www")
> end if
> else
> display dialog ("An error occurred, could not change local
> folder to Sites")
> end if
> end if
> end tell
> end tell
>
> end timeout
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden