• 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: hi everyone.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hi everyone.


  • Subject: Re: hi everyone.
  • From: Ron Bishop <email@hidden>
  • Date: Fri, 3 Oct 2003 15:20:29 -0500

Try this:


tell application "Terminal"
do script "ftp " & " ftp://username:email@hidden";
end tell
end tell

Ron Bishop
On Friday, October 3, 2003, at 02:20 PM, mathew wrote:

i'm attempting to learn applescript these days and have found out that
the terminal
is scriptable. because of this, i'm trying to write a script that
allows me me access
a web directory (my own) via the terminal's ftp command.

i'd like the script to put in the username and password itself and just
connect
automatically.

can applescript do this?

my code (so far..)
tell application "System Events"
if (get name of every process) does not contain "Terminal" then
tell application "Terminal"
activate
end tell
end if

tell application "Terminal"
do script "ftp " & " open http://url.url.com";
end tell
end tell

ideas? thanks in advance.

-mathew
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >hi everyone. (From: mathew <email@hidden>)

  • Prev by Date: Re: hi everyone.
  • Next by Date: How to resize QuickTime Player window using AppleScript
  • Previous by thread: Re: hi everyone.
  • Next by thread: Re: Scripting Acrobat Distiller
  • Index(es):
    • Date
    • Thread