• 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: How to set a "text item"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set a "text item"


  • Subject: Re: How to set a "text item"
  • From: "Mark J. Reed" <email@hidden>
  • Date: Sun, 22 May 2005 00:44:03 -0400

There may be a simpler way, but my first thought is that you have to get the text items into a variable, modify the variable, and then set the entire text:

set textItems to (text items of paragraph 1 of tabDelimitedTextFile)
set item 1 of textItems to "Ken"
set paragraph 1 of tabDelimitedTextFile to (textItems as text)

On 5/21/05, Grimm, Kenneth <email@hidden> wrote:
All:

I can't seem to get the syntax for this to work. I have a tab-delimited text
file with TIDs set to {tab}.

I want to change a text item to other text, like:

set (text item 1 of paragraph 1 of tabDelimitedTextFile) to "Ken"
--> error

What am I missing?

Ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (

This email sent to email@hidden



--
Mark J. Reed <email@hidden>
 _______________________________________________
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

References: 
 >How to set a "text item" (From: "Grimm, Kenneth" <email@hidden>)

  • Prev by Date: How to set a "text item"
  • Next by Date: Re: Waiting for a diskimage to mount...
  • Previous by thread: How to set a "text item"
  • Next by thread: Getting Next and Previous Messages in Apple Mail
  • Index(es):
    • Date
    • Thread