Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Doing neat things with Applescript.

Doing neat things with Applescript.
Thread Tools
Forum Regular
Join Date: Nov 2001
Location: New Jersey, USA
Status: Offline
Reply With Quote
Nov 13, 2001, 02:40 PM
 
So here at my school (Rutgers University), they do some pretty neat stuff with Applescript. When you login, it'll do a text-to-speech that says "Welcome, username", etc. How can I do something similar to that in MacOS X?
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Nov 13, 2001, 05:56 PM
 
It's been a long time since I worked with speech in AppleScript (or, indeed, worked with AppleScript at all). But if I remember right, the basic command is just:

say string

where string is what you want the machine to say.

Typical AppleScript genius. I assume there are probably more arguments and such that you can give the function, but that's the most basic way of doing it.

Or it was, when I did anything with it. I think.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 14, 2001, 01:32 AM
 
Easiest thing to do would be to make it a login item...
     
Fresh-Faced Recruit
Join Date: Jul 2001
Location: Ann Arbor
Status: Offline
Reply With Quote
Nov 14, 2001, 04:03 AM
 
I've really wanted to make an applescript for iTunes so you can switch songs from other programs in 9 or X.

I was thinking the function keys in 9 would be so easy to hook up, and maybe there is also a simple way in X, assuming that you can write such a script.

Is anyone interested in doing this or telling me their thoughts on how to get it done?
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Nov 14, 2001, 05:25 AM
 
Originally posted by proluck:
<STRONG>I've really wanted to make an applescript for iTunes so you can switch songs from other programs in 9 or X. </STRONG>
have a look at this thread:
http://dual.macnn.com/cgi-bin/ultima...4&amp;t=001565
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:53 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2