• 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
Read a text file ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read a text file ...


  • Subject: Read a text file ...
  • From: Charles Heizer <email@hidden>
  • Date: Sat, 19 Apr 2003 09:32:06 -0700

Hello,
I'm writing a small applescript to scp a couple of files to a list of hosts. I have crated a text file that has the info I need, it looks like this -

myfirsthost.example.com;user;password
host2.example.com;user;password

So the file is delimited by semicolons. So I've been reading the archives and I can't seem to figure out how to fill in the variables in my script with the contents of each line.

Can some one please help.

Thanks,

- Charles
_______________________________________________
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.

  • Follow-Ups:
    • Re: Read a text file ...
      • From: Emmanuel <email@hidden>
    • Re: Read a text file ...
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: Upcoming changes to Palm Desktop scripting [long]
  • Next by Date: Re: Read a text file ...
  • Previous by thread: Re: Upcoming changes to Palm Desktop scripting [long]
  • Next by thread: Re: Read a text file ...
  • Index(es):
    • Date
    • Thread