• 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
delimiter if not using only one?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

delimiter if not using only one?


  • Subject: delimiter if not using only one?
  • From: micro-people <email@hidden>
  • Date: Wed, 3 Sep 2003 20:24:51 +0900

Hi again,
and
this one:

------8<------

set poem to open for access file "sarigama:@:as:saol"
set song to open for access file "sarigama:@:as:newthang" with write permission
set x to get eof poem
try
repeat 7 times
set y to random number from 0 to x
set fragment to read poem from y until "." as text
write "Sa" & fragment & return to song starting at (get eof song) + 1
end repeat
on error errMes
close access poem
close access song
error errMes
end try
close access poem
close access song

--------8<------------

went okay
but
if i used

set fragment to read poem from y until {".", ",", "is", return} as text

the editor warns me that
it cannot convert
{".", ",", "is", return}
to a string

if i want to use several words @ "until"
{".", ",", "is", return}
is not the right way to bundle them?

BUYO-BUYO-IGOR------------------
http://buyobuyo.isgenius.com

"SaRiGaMa's Oil Vending Orchestra"
http://oil.isonfire.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: delimiter if not using only one?
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: sending data from one AppleScript App to another
  • Next by Date: Boodlums is here ;)
  • Previous by thread: Re: Script Menu Question
  • Next by thread: Re: delimiter if not using only one?
  • Index(es):
    • Date
    • Thread