• 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
Re: Scripting Transmit using applescript in FileMaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripting Transmit using applescript in FileMaker
      • From: Jean-Marie <email@hidden>
References: 
 >Scripting Transmit using applescript in FileMaker (From: Courtney Braafhart <email@hidden>)

  • Prev by Date: AppleScript neophyte
  • Next by Date: Re: Satimage RE expression count
  • Previous by thread: Scripting Transmit using applescript in FileMaker
  • Next by thread: Re: Scripting Transmit using applescript in FileMaker
  • Index(es):
    • Date
    • Thread