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 > Enthusiast Zone > Hardware Hacking > speech program, talk when log in

speech program, talk when log in
Thread Tools
vtboyarc
Forum Regular
Join Date: May 2007
Status: Offline
Reply With Quote
Dec 18, 2008, 03:23 PM
 
I know that using text edit, I can make my macbook talk, but is there any way/program that I can have it talk to me when I log in?
     
BadWolf
Fresh-Faced Recruit
Join Date: Jan 2009
Status: Offline
Reply With Quote
Jan 23, 2009, 04:06 PM
 
Hi vtboyarc,

The answer is a bit late, but... 2 things:

1/ To launch a program when the session starts : in the system settings, in the part on the accounts, there's a tab in which you can or remove programs that are launched when the session starts.

2/ To say something, you can use the 'say' command in a terminal.
So here's a script that will say 'hello' when launched:

#!/usr/bin/env sh
say hello
killall Terminal

You copy/paste it in a text editor and save it as 'say-hello.sh'.
Then open a terminal window and type 'chmod +x XXX' where XXX is the location of the script.
The script is now an executable and you can add it to startup programs using 1/.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 06:54 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,