• 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: applescript SAY command help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript SAY command help needed


  • Subject: Re: applescript SAY command help needed
  • From: dealTek <email@hidden>
  • Date: Mon, 06 Aug 2012 14:29:32 -0700


On Jul 29, 2012, at 6:53 AM, James Yanchak wrote:

Slight modification to what I first sent. 

set x to (count of words of thisstuff) / 2

set y to 1
repeat while y is less than (count of words of thisstuff)
set AppleScript's text item delimiters to {" "} -- < added delimiters so the words are separated by spaces in the next line
set thisParaSay to words y through (y + x - 1) of thisstuff as Unicode text
say thisParaSay
set y to y + x
set AppleScript's text item delimiters to {""} -- < reset the delimiter to the default for applescript (nothing)
display dialog "Continue?" giving up after 1 -- < this is the dialog box which will appear and allow you to continue.
        -- The "giving up after 1" pauses it for 1 second, then continues. You can remove this clause if you like.  To abort, just choose cancel in the dialog.
end repeat


Hi James,

Sorry for the delay getting back to you - I just saw this and will try it asap!

Thanks again.

--
Thanks,
Dave - DealTek
email@hidden
[db-12]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: refer to current picture
  • Next by Date: Re: Using New High Quality Voices in Lion with Applescript control
  • Previous by thread: Re: When is a window not a window?
  • Next by thread: Re: applescript SAY command help needed
  • Index(es):
    • Date
    • Thread