Re: Select some item of...
Re: Select some item of...
- Subject: Re: Select some item of...
- From: Michelle Steiner <email@hidden>
- Date: Mon, 3 Nov 2003 17:41:48 -0700
On Nov 3, 2003, at 5:16 PM, Peter Beentje wrote:
Repeat isn't in the script - whenever the script is opened, it runs...
I just used the repeat to show that it displays a different line each
time; I initially tested it by running it each time.
set xyz to (some paragraph of document whose name is abc.txt) -- done
a distinct 3 times within the script
an example file has 1600 different paragraphs, and running the script
selects the same 3 paragraphs (different from each other, but the same
paragraphs every time the script is opened)
Is this a script application?
I just saved this script as a script application:
repeat 3 times
display dialog (some paragraph of (read alias
"Dora:Users:michelle:Desktop:Advance and Retreat"))
end repeat
Each time I run it, I get a different trio--sometimes there's a
duplication from a previous run, but never a duplication of all three
paragraphs.
--
"Condoms encourage promiscuity
- in the same way that seat belts encourage automobile accidents."
O.C. Brown
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.