Portal   Forum   Members   Market   Gallery   Events

automatically executing shell command

Discussion in 'Help Forum' started by Jakeman, Nov 29, 2002.

  1. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,759
    Likes Received:
    27
    Market Rating:
    16
    Mac OS X 10.2.2

    i have a shell command i want to automatically execute on startup. how do i do this?

    /System/Library/Frameworks/ScreenSaver.framework/Resources/ ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background

    also, how do i create a file on my desktop that i can open to kill the above process.
     
  2. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    You can either make a script and put it into /library/startup/ or you can bind it to a short keyword in .tcshrc.

    I don't know the syntax for scripts though. You could look at some of the ones already in there or try to find out on macosxhints.com or something.
     

Hitometer: 53,935,829 since 1995