Re: applescript-users digest, Vol 2 #843 - 14 msgs
Re: applescript-users digest, Vol 2 #843 - 14 msgs
- Subject: Re: applescript-users digest, Vol 2 #843 - 14 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Sun, 08 Jul 2001 01:12:11 -0400
- Organization: [very little]
>
Date: Sat, 07 Jul 2001 11:42:35 -0400
>
Subject: list getting some item of variable (list)
>
From: monk <email@hidden>
>
To: "applescript users (apple)" <email@hidden>
>
>
hi again scriptheads:
>
>
whenever i try to:
>
>
get some item of myvar
>
>
where myvar is a text file, has been opened for access and read as list
>
using delimiter space
>
>
i get an error such as can't read 622, the marker for myvar
>
>
what am i doing wrong?
It sounds like you're trying to get an item of the text file, not the
list variable into which the text file has been read. You are reading
it into a variable, aren't you? If not, what's read exists only as an
ephemeral "result" that vanishes with the next command that is executed.
set myList to (read myVar as list)
get some item of myList
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com"
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[7/8/01 1:11:30 AM]