• 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: can't make { . . . } into an item [error message] deivy's original again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't make { . . . } into an item [error message] deivy's original again


  • Subject: Re: can't make { . . . } into an item [error message] deivy's original again
  • From: Deivy Petrescu <email@hidden>
  • Date: Mon, 16 Jul 2001 12:48:55 -0400

At 7:42 AM -0400 7/16/01, monk wrote:
-- 7/14/01 09:06 pm: email@hidden said:

i got deivy's original working, and changed the tid here and there for
mixing items, added a write and close

anyway though, i found that i always have 1 less item in the result than in
the source file, i.e., if the source has 8 items, the result will have 7,
and so on

Sorry, a line there was specialized for the script that I wrote. May be making the change bellow will help

i don't mind randomly leaving out items, but is there a way to randomly
include all items too?

thanks

...
set k to contents of some item of zlist -- random element chosen
set mymix to mymix & text item k of mytext -- added to _mix
if k = pcount and k = 1 then --only one line in the _source, let's
finish it up
set mytext to ""

_______> Here \/

set mymix to rest of mymix -- comment out this line. This is the offending line

_______> Here /\


set mymix to mymix as string
set text item delimiters to "" -- restaure to default
return mymix
end if
...



<adapted script>

h 'monk' elmer
--
//\/\\/\/\//\/\\/\/\//\/\\

http://www.assemblage.org

Deivy Petrescu
http://www.dicas.com


  • Follow-Ups:
    • Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
      • From: monk <email@hidden>
References: 
 >Re: can't make { . . . } into an item [error message] deivy's original again (From: monk <email@hidden>)

  • Prev by Date: Re: Applescript to mute sound at shutdown
  • Next by Date: Re: FW: can't make { . . . } into an item [error message] deivy's original
  • Previous by thread: Re: can't make { . . . } into an item [error message] deivy's original again
  • Next by thread: Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
  • Index(es):
    • Date
    • Thread