Re: Scripting Transmit using applescript in FileMaker
Re: Scripting Transmit using applescript in FileMaker
- Subject: Re: Scripting Transmit using applescript in FileMaker
- From: Simon Forster <email@hidden>
- Date: Sat, 11 Dec 2004 10:51:18 +0000
On 10 Dec 2004, at 16:34, Courtney Braafhart wrote:
I am trying to write a very basic script in FIlemaker using apple
script. All I want to do is to connect to a server using the
Application Transmit.
...
I get the error "Application Not Running.
...
tell applicaiton "Transmit"
quit
end tell
tell application "Transmit"
tell document 1
connect to "00.00.00.00" as user "username" with password
"password" with connection type FTP
end tell
end tell
You probably need to tell Transmit to activate once you've quit it:
tell application "Transmit"
quit
activate
tell document 1
connect to "00.00.00.00" as user "username" with password
"password" with connection type FTP
end tell
end tell
More properly, you should check that Transmit is running before you
quit it:
tell application "System Events" to if name of every application
process contains "Transmit" then tell application "Transmit" to quit
tell application "Transmit"
activate
tell document 1
connect to "00.00.00.00" as user "username" with password
"password" with connection type FTP
end tell
end tell
That first line is quite a long one and may be wrapped by the list
server.
HTH
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)870 1999 780 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden