Run screensaver at startup

Discussion in 'Mac Programming' started by neiltc13, Jan 22, 2008.

  1. macrumors 68040


    Hey everyone,

    I don't have a lot of Mac programming knowledge although I do know it is possible to run AppleScripts when the computer is started up to do various things.

    Basically I have my computer set up with a password at the moment. I use eyeTV, which has the power to boot the computer from a seemingly off state and which without a login requirement would record the shows I wanted.

    However, all that happens at the moment is that eyeTV boots the computer and it gets stuck at the login screen. I'd love to know if there is a way to automatically start the screensaver when I start the computer so that I can then let the computer automatically log in and then the programs will record for me.

    Removing the password is not really an option because I don't like others having access to my files. I had a look around the web but I couldn't find any way to solve this problem.

    Thanks for any help anyone can give.
  2. Administrator emeritus


    IF you want applescript to start the screensaver you can use this script

    Save it and put it in your Login items in system preferences and it should turn the screensaver on when you log in, can't verify myself as I have a process running which will take another 10 hours to finish so can't log out.

    You may also want to check out this macosxhint which gives an alternative way of doing this
  3. macrumors 68040


    The first way mentioned didn't work. I compiled the script as a .app but it prompted to be run rather than just going right ahead and doing it.
  4. Moderator emeritus


    When you go to save it, check the box "Run Only" in the save dialog.
  5. Administrator emeritus


    Make sure that the following check box is clear

    Picture 2.png
  6. macrumors 68040


    The method outlined on that site you linked to - dragging the app to the login items seems to work exactly as i need it to. Thanks!

Share This Page