copy readData to (text item i of myData)
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