New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Run a script at login?


Post Reply New Thread Subscribe

 
Thread Tools
thermidor

 
Member Since: Feb 28, 2005
Location: Bagshot, Surrey, UK
Posts: 198
thermidor will become famous soon enough
Mac Specs: Powerbook 17" 1.5GHz, 2GB, 160GB Momentus; iMac 24" 3.06GHz, 2GB; iPhone 2.5G 8GB; iPod 5G 60GB

thermidor is offline
I'd like to run a shell script at login.

I saw this:
http://docs.info.apple.com/article.html?artnum=301446
...but I'm a bit reluctant to do this because it appears that if the script fails to execute, things could start breaking.

I could set up a Startup item, but I think this means a Terminal window will sit around until I close it.

Any suggestions?

(Out of interest, the script I want to run will simply spawn off the Facebook Cityware node software, so my Mac will run as a Cityware node. It's a Java app which runs from the command line, which is why I can't start it just like any other application.)
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Write an applescript that runs the a shell command. Save it as an application in ~/Applications/ (in your home folder). Then add that application to your startup items.
QUOTE Thanks
zurron

 
Member Since: Mar 21, 2007
Posts: 73
zurron is on a distinguished road

zurron is offline
Can you check the 'hidden' option in your startup items? Does that help you with the terminal window part?
QUOTE Thanks

Post Reply New Thread Subscribe


« Changing icons | Keychain access »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
folders that can't run programs dryh2o OS X - Operating System 2 03-24-2007 01:03 AM
Stupid Firefox doesn't always successfully login with id/password! mangoSharingan OS X - Apps and Games 0 05-28-2005 09:39 AM
Ooops - dragged a script to the Finder!! kjellquist OS X - Operating System 1 03-15-2004 06:46 PM
tsch script - nested loop dynamic variable reference lizardthefish OS X - Development and Darwin 0 03-04-2004 11:53 PM

All times are GMT -4. The time now is 11:01 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?