• 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
copy readData to (text item i of myData)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copy readData to (text item i of myData)


  • Subject: copy readData to (text item i of myData)
  • From: Robert Poland <email@hidden>
  • Date: Thu, 30 Dec 2004 14:07:50 -0700

Hi,

I'm sure this was just covered recently but I wasn't paying attention.

I want to go through data in memory and make minor changes, but not to the stored data.

This script gets error, can't set ...

repeat with i from 1 to ({iCount} - 4) by 4
    set AppleScript's text item delimiters to (return)
    set readData to text item i of myData as text
    if readData starts with "0" then --> 01-January
        set readData to text 2 thru -1 of readData --> 1-January
        copy readData to (text item i of myData) --> change data in memory
    end if
-- snip

Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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


  • Prev by Date: Re: Create Guides in Photoshop, Impossible?
  • Next by Date: Push command
  • Previous by thread: Re: Create Guides in Photoshop, Impossible?
  • Next by thread: Push command
  • Index(es):
    • Date
    • Thread