• 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
Satimage or AppleScript Text Parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Satimage or AppleScript Text Parsing


  • Subject: Satimage or AppleScript Text Parsing
  • From: Christopher MJ Tangora <email@hidden>
  • Date: Thu, 3 Mar 2005 15:01:54 -0500

Hi all, I was looking through the archives here and have tried to use satimage to do some text parsing, but I can not get it to work right. i was hoping that someone could enlighten me. Originally I was hoping to find a way to parse text out of a file. This is an example of the script I tried to get to work, but without any success...

set blah to change "1:A" in ("1:A700B700C1       :") into ""

When I do that i get "1:A700B700C1       :" returned as a list.

Eventually I would want to use the change command to reference a file (alias), but I can't even get it to work with a string, how can I get it to work with a file? The text file we have looks something like this...

"[C10]Item One1:A700B700C1       :[J8]Date and Time One.9:P350N    9600E20:1:A1000B1000C4       :[C10]Item Two1:A700B700C1       :[J8]Date and Time Two9:P350N    9600E20: ... and so on and so on.

What other options do I have for automating the parsing of text beside satimage?



Can someone point me in a direction for Mac Text Parsing Help?







Chris

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

There are no property taxes on church-owned orphanages in Chicago.
_______________________________________________
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: Satimage or AppleScript Text Parsing
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: get current system volume
  • Next by Date: Re: get current system volume
  • Previous by thread: Re: Scripting Quark XPress palettes
  • Next by thread: Re: Satimage or AppleScript Text Parsing
  • Index(es):
    • Date
    • Thread