• 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 File question - OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read File question - OS 9


  • Subject: Read File question - OS 9
  • From: Charles Heizer <email@hidden>
  • Date: Thu, 08 Aug 2002 11:35:53 -0700

Hello,
I would like to read the 4th line of this file and from the 8th char, but I
keep getting a error.

Can someone please help,

Thanks,

- Charles

Here is my test code -

tell application "Finder"
activate
set theEDMFile to (file "EDM Settings" of preferences folder)
set myData to (read theEDMFile as {text} using delimiter {return})
set myData to item 4 of myData
set myData to (read myData from 8)
display dialog myData
end tell
_______________________________________________
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 File question - OS 9
      • From: John Delacour <email@hidden>
References: 
 >Re: Need XOR solution (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: A question about LN Softwares XML Tools
  • Next by Date: Re: Way to get user's IP address into AppleScript variable?
  • Previous by thread: Re: Need XOR solution
  • Next by thread: Re: Read File question - OS 9
  • Index(es):
    • Date
    • Thread