Previous 1 5 6 7 8 9 Next 125 Replies Latest reply: Apr 10, 2013 11:43 AM by seifej Go to original post
  • GAK NJ Level 1 (0 points)

    Okay - I think I got it:  I selected "Run Shell Script" and put the code in their.  Lovely.


    Now - a separate question, though:   It pauses and asks for confirmation before proceeding with the rest of the routine when it selects the master directory (below which all the subdirectories are located).


    Can we set this up so that there is NO input required here?   How can the routine run at off hours without user input if it requires a manual response to continue operation.  Please clarify.



  • abfield Level 1 (0 points)

    Sure. Drag over the "Run Shell Script" action from the Utilities category. I made this the first step in the workflow. Then simply paste this in the body being sure to replace my path with the location of your screensaver links placeholder folder.


    cd /Users/MyUser/Pictures/ScreenSaver

    rm -f *.*


    I'm by no means an expert in this but used to write code for a living so I can be dangerous. Others may know a better or "cleaner" way but this seems to be working for me as best I can tell. This seems to delete all of the symbolic links and doesn't move them to Trash which is good because you don't fill it with thousands of files.



  • abfield Level 1 (0 points)

    Looks like you figured it out before I posted! I want to do exactly what you described next but haven't gotten to it yet. I did some quick Googling and it looks like you can save the Automator workflow so that it can be executed with a repeating calendar event but I haven't tried it yet. This is of course only good, as you mention, if this workflow can be executed without any manual input. If anyone knows how to do this, please let us know. I'll play more later tonight.

  • GAK NJ Level 1 (0 points)

    Okay I worked it all out.  You don't actually have to script to do this.  And you also don't have to use the option that forces you to "click" to select the folder.  Here is the sequence I created, in automator (after having done the download per the earlier entry in the thread).


    #1 - create the entry in Automator as a "Calendar Alarm"


    #2 - automator function: GET SPECIFIED FINDER ITEMS - select the directory where all your screensaver alias files are amalgamated (you have to use the + button to add it)


    #3 - automator function: MOVE FINDER ITEMS TO TRASH - this dumps all your stuff


    #4 - automator function: GET SPECIFIED FINDER ITEMS - but this time, select the "master" directory where all your subfolders are located


    #5 - automator function: GET FOLDER CONTENTS (and be sure to check "repeat for each subfolder found")


    #6 - automator function: FILTER FIND ITEMS (as per the original instructions, and set this to "Kind = Image")


    #7 - imported function: CREATE SYMBOLIC LINK (this is the automator function you imported) and here you specify the directory in which you want ALL your screensaver images to live (the same one from which you earlier deleted all the prior images)


    #8 - you're DONE building your automator routine - upon saving you will be prompted to save it in iCal (and then you can adjust the settings to make it a daily or weekly routine, and set the time.


    Works fabulously!

  • GAK NJ Level 1 (0 points)

    You know what - I didn't realize that the shell script version of the delete didn't leave any nastiness in the trash.  That's a good reason to try that protocol instead of what I outlined above.

  • abfield Level 1 (0 points)

    Thanks for the suggestions. I now have this working with one slight modification. I updated my delete script because the "rm" command was throwing an error. It seems that if you have "many" files it will try to build a very long command when you tell it to delete *.* and you get a message basically telling you that it can't execute. So, I did some research and updated the script to:


    cd /Users/MyUser/Pictures/ScreenSaver

    find . -maxdepth 1 -name '*' -delete


    The "maxdepth" option means it will only delete that folder and not sub-folders which probably isn't needed because there shouldn't be any.


    ** CAUTION: Make sure to double-check your script code before executing and be sure that you are in fact in the correct folder or you can do some serious damage and lose things. This doesn't move files into Trash so you won't be able to easily get them back. **

  • danielsosmacfrance Level 1 (10 points)

    This is nonsense. You can´t just go scripting all the Bugs in the terminal. there has to be a solution for this on next software updates.


    I hope Apple comes up with a solution for this. Is not like a terrible issue but is a problem that didn´t happen to me on leopard, SL or Lion.

  • abfield Level 1 (0 points)

    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.

  • baltwo Level 9 (62,210 points)

    abfield wrote:

    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.

    Your assumption holds no water. All I can suggest is to File a bug report with Apple about the issue.

  • abfield Level 1 (0 points)


  • Lost in Asia Level 3 (540 points)
    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.


    Except that the screensaver doesn't work in iPhoto either. All I can access are the photos (beaches and whatever) that are provided with the system.

  • GAK NJ Level 1 (0 points)

    What is -wrong- with you people?   Have you not read this thread?


    There are now two COMPLETELY workable, useful solutions - using either Automator (I like that one a LOT - it's user friendly and amazingly efficient - it has run every morning at 1am for me flawlessly and builds a new directory amalgamating all my subdirectories - but it generates the objects as Alias items - very little memory - and the delete function as a script doesn't even push the removed contents into the trash.  


    The other option, the crontab, also works.  I've tested and run it, but it is non-recursive so not quite as perfect.


    We all object to this situation - but at least now there are two COMPLETELY viable workarounds until, and if, Apple gets around to remedying this.


    So stop crying the blues please.  It's nauseating.



  • Mak1394 Level 1 (0 points)

    Hi everyone.  My solution to this problem (Slideshow screen saver not showing subfolders) was to download the Xscreensaver package for Mac.  I then mounted the dmg file and double-clicked the file GLSlideshow.saver.  It will ask you if you want to install for all users or you only.


    My two cents...


    Screen Shot 2013-02-24 at 2.07.18 PM.jpg

    Screen Shot 2013-02-24 at 2.02.36 PM.jpg

    Screen Shot 2013-02-24 at 2.04.55 PM.jpgScreen Shot 2013-02-24 at 1.57.21 PM.jpg

  • James Kachan Level 1 (25 points)

    Everyone will be glad to know that Apple has fixed this bug with 10.8.3 - Update!

    I just tested the screensavor "classic" and yes, it will draw from subfolders as well as root folders.


    It's always nice to see bugs fixed!

  • kiu77 Level 1 (10 points)



    There is hope in the world...

Previous 1 5 6 7 8 9 Next