Screensavers, Desktops, and Terminal.

Discussion in 'Mac Programming' started by Cyberpawz, Feb 8, 2006.

  1. Cyberpawz macrumors newbie


    Dec 11, 2004
    Ok this command allows you to create a screensaver as your desktop...

    nohup /System/Library/Frameworks/ScreenSaver.framework/Resources/ -background

    How can I create a simple little program from the menubar allow me to turn on, or off this command without going through the terminal each time I want to do it?

    Any help would be appreciated... I have XCode downloaded so if I need to I'll make and compile something if I have to, I just don't know how to go through the terminal and do it myself.
  2. superbovine macrumors 68030


    Nov 7, 2003
    it is something like this. make an applescript..

    how to write an applescript

    tell application "Terminal"
    do script with command "nohup /System/Library/Frameworks/ScreenSaver.framework/Resources/ -background"
    end tell
    my syntax maybe a little of. I am not sure on the quotes, but yeah it something like that.
  3. Mechcozmo macrumors 603


    Jul 17, 2004
    Do you run the same command to swap the value from true to false and from false to true?
  4. mrfrosty macrumors 6502

    Oct 1, 2005
  5. Cyberpawz thread starter macrumors newbie


    Dec 11, 2004
    It crashes the desktop in 10.4.4 after it comes back from sleep, not my idea of a good game plan.

Share This Page