Weird Question

T

t-lo

Guest
Hey guys, I have a question that I know the Mac-Forums regulars can help me with. I have a friend who is on the verge of buying a new iMac. I've been converting him for a while now but then he came at me with a weird question. He wants to know if he can get it to say "Hello, Frank" or "Good Morning, Frank" whenever he turns on his computer (like in Independence Day). I'm pretty sure he is gonna buy one whether or not it will do that but I was just hoping I could come through for him. Any help would be appreciated. Thanks.
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
Just write an Applescript that does that and put it as a startup item in accounts pref pane.
 
OP
T

t-lo

Guest
I am not to fimiliar with making scripts. Can anyone fill me in on exactly how i should set up this script?
 
Joined
Mar 30, 2004
Messages
4,744
Reaction score
381
Points
83
Location
USA
Your Mac's Specs
12" Apple PowerBook G4 (1.5GHz)
Open the AppleScript folder in the Applications folder of your hard disk. Launch the Script Editor.

Type in the following:
Code:
say "Good Morning, t-lo"
and save it as an application. (You can change the stuff inside the "" to whatever you need it to say.)

Then open System Preferences, click the Accounts pane, and select the Login Items tab. Drag your saved script into the list, and it will start every time you log in.
 
OP
T

t-lo

Guest
Doing this makes Applescript open with my saved script but it does not play in the background. I have to manually play it.
 
Joined
Aug 27, 2005
Messages
2,406
Reaction score
210
Points
63
Location
Fayetteville, AR
Your Mac's Specs
15" Powerbook G4 • 24" iMac • iPhone 3Gs
You must save it out of ScriptEditor as an application with no Startup Dialog.

Then this application must be set as a login item via SystemPreferences>Accounts.

This way, you'll log in, the app will run, then it will close it's self.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top