• 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: Select some item of...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Select some item of... (From: Peter Beentje <email@hidden>)
 >Re: Select some item of... (From: Michelle Steiner <email@hidden>)
 >Re: Select some item of... (From: Peter Beentje <email@hidden>)

  • Prev by Date: Re: Problem with text items and german umlauts
  • Next by Date: Re: Application Bundles in Panther
  • Previous by thread: Re: Select some item of...
  • Next by thread: Re: Select some item of...
  • Index(es):
    • Date
    • Thread