Force slideshow screensaver to read new files

I want to drop a picture into the /users/me/Pictures/SS folder and have the slideshow screensaver find the new picture for its next rotation.
Currently, it seems to do this only if I connect to the machine and restart the screensaver from an interactive session.
I would like to do this via SSH.
I have found that sending signal 1 via the kill command to the /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSav erEngine.app/Contents/MacOS/ScreenSaverEngine process doesn't work.  I have not found a way to reliably restart the screensaver if I send a 2,3,6 or 15 signal.
Any ideas or pointers?
TIA

Groan go here http://sourceforge.net/projects/ambient/, get the package... Look at SystemFiles.CoreFiles.LoadAllIOContexts line 152, you will find your answer there....

Similar Messages

  • Time Machine Won't read new files

    Today I purchased a bigger a hard drive.  I put it in and everything was good.  When I tried to restore my system through time machine (which was from a external hard drive) it only read backup files from July 29 to July 21. 
    Why can't I open the last saved backup and restore it, which was yesterday 8/07/2013.  I moved a lot of files and deleted stuff since 07/29 and I want that system, not the 7/29/2013 backup.
    Any ideas what I need to do?  What is the point of time machine if I can't restore my last system settings?
    Thanks for reading. 

    Most likely, some folders were inadvertently excluded from your backups, and as a result you can't restore your data in Recovery, Setup Assistant, or Migration Assistant.
    Starting from a fresh installation of OS X, set up a new administrator account and log in. Follow the instructions on this page to associate your existing backups with the new installation.
    You should now be able to enter Time Machine and restore your user data from a snapshot.* I suggest you do this in two stages. Quit all applications except the Finder before you begin.
    Restore all the visible items at the top level of your home folder.
    Hold down the option key and select Go ▹ Library from the Finder menu bar. Enter Time Machine and restore all items in the Library folder. Log out and log back in as soon as the restore is complete.
    Any other invisible folders or files at the top level of your home folder that you want to preserve will have to be restored separately. For most users, that isn't necessary.
    You'll have to reinstall all third-party applications from scratch, or restore them from another kind of backup, if you have one.
    *If you don't see any snapshots in Time Machine, exit the time-travel view and then hold down the option key while selecting
    Browse Other Backup Disks...
    from the Time Machine menu, which has an icon that looks like a clock running backwards. Select the backups of your computer by its previous name. If you don't have the Time Machine menu, open the Time Machine preference pane in System Preferences and check the box marked
    Show Time Machine in menu bar

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • I have lost my photos/videos when i imported from my ipad 2 to my new imac latest version and it's not reading the files.  I have downloaded iMac library manager and can see them. can someone shed some light please ?

    i have lost my photos/videos when i imported from my ipad 2 to my new imac latest version OS X 10.8.4
    and it's not reading the files.  I have downloaded iMac library manager and can see them.  when i go back into iphoto i'm getting the following message :
    Do you want to switch the current iPhoto Library from “iPhoto Library.photolibrary” to “iPhoto Library.photolibrary” and relaunch iPhoto?
    I don't know what to do - please help !!!!
    can someone shed some light please ?

    So it appears you have only one library on the hard drive. Apply the two fixes below in order as needed to that library:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.

  • Reading file from a folder : File dir = new File(URL+aFile_to_add);

    Hi,
    Trying to read files from a dir on my site using a JSP and bean. I've tried nearly every option for the filepath I can think of and it doesn't seem to be finding the file...
    Here's the bit:
    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    It's working locally, but I obviously had to change the path from c://... to the above.
    The full code is listed below in the addWedding Method
    The method removes the .jpg from the file name and then writes the new file name to a database
    Thanks for any insight.
    Regards
    Jim
    public String addWedding(String aFile_to_add)
    String feedback = "unset in scrubWedding";
    try
    String URL = "images\\wedding_photos\\";
    Class.forName("org.gjt.mm.mysql.Driver");
    java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:mysql://localhost/rhwedd2_shop?user=**********&password=*******");
    java.sql.Statement statement = connection.createStatement();
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    if (files == null)
    feedback = "Sorry, couldn't find the file "+aFile_to_add+"...no files have been added.";
    else
    for (int i=0; i<files.length; i++)
    // Get filename of file or directory
    String filename = files;
    String no_extension;
    //convert string array element into a char array
    char [] charsfilename = filename.toCharArray();
    int newlength = charsfilename.length -4;
    no_extension = String.valueOf(charsfilename,0,newlength);
    filesAdded = filesAdded+", "+no_extension;
    // Show the new file names in stack trace without extension
    //System.out.println("String no_extension " + no_extension );
    statement.executeUpdate("INSERT INTO items VALUES ('"+no_extension+"',5,'"+aFile_to_add+"')");
    // write to table with item_id and weddingid
    feedback = "The following files have been added..."+filesAdded;
    if (statement != null )
    statement.close();
    if ( connection != null )
    connection.close();
    catch(Exception e)
    feedback = "Into the catch";
    e.printStackTrace(System.err) ;
    return feedback;
    }//end addWedding

    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add); ok, ok, I'll answer...
    1) What gives you the impression that the relative directory "images\\..." exists (or, in other words, what makes you think your current directory is the parent of "images"?

  • Read-only access permissions for new files/folders?

    System:
    Clean Install on new intel Xserve
    10.4.8 Server w/ Open Directory
    Windows clients can read/write completely fine...
    Clients connecting using AFP (whether Standard or Kerberos authentication) can access files, but when new files/folders are created on the server, they register as full permissions for the user who created them, but not for the rest of the group.
    The share(s) in question are set using POSIX from WGM: Full access for owner/group/everyone (changed it to this thinking it would help, but it does not). Of course, no one can make changes to a newly-created/deposited files/folders, which is just plain silly.
    I can chmod the permissions recursively from a script (which fixes the problem, of course) on a regular basis so that its not (as much of) an issue, but there is still a 5-minute lag for the script to kick in, since we don't want to bombard the server with chmod requests every minute....which is unnecessary in the first place!
    I have plenty of other setups which are identical but have no such issue...
    Any reason why POSIX permissions on the share are being ignored from every user account?
    Thanks,
    k

    "That's default posix behaviour no matter what access permissions you set on the sharepoint."
    I'm afraid this is dead wrong. What matters most is how you set permissions on the share, not if you've chosen to inherit vs. using POSIX. POSIX is still used in inherit functions, though you can use ACL's to override them. In this case, ACL's are not being used on those shares (though we tried it).
    After all, why would Apple (let alone anyone else) even offer the ability to change POSIX permissions on a share if it didn't have any effect? That would be somewhat contradictory in nature.
    Like I said before, I have several other installations which are identically setup that have no such issues.
    As for Windows, it is also not set to inherit permissions; we're setting those explicitly. And they work fine.
    Any other ideas?
    Thanks,
    k

  • I tried to back-up my music files to an external hard drive when I purchased a new pc. Now  there are no actual files just the folder when I go to move them to the new PC. itunes doesn't bring them up either, just a read-me file listing the songs. What ca

    I think I lost all of my music when I tried to back-up to an external hard drive. I purchased a new PC and when I tried to transfer from the external hard drive to the new PC, the folders where there, but the music files were "empty". I have an itunes library file that lists all the music that I cannot find, but it is a read-me file and will not repopulate the music into itunes. I seriously lost like 70 gigs af music. Does anyone know if there is a way to salvage these files?

    I think I lost all of my music when I tried to back-up to an external hard drive. I purchased a new PC and when I tried to transfer from the external hard drive to the new PC, the folders where there, but the music files were "empty". I have an itunes library file that lists all the music that I cannot find, but it is a read-me file and will not repopulate the music into itunes. I seriously lost like 70 gigs af music. Does anyone know if there is a way to salvage these files?

  • When I try to open itunes a hazard warning appears reading "The file "itunes library.itl" cannot be read because it was created by a newer version of itunes"

    When i try to open itunes a hazard warning appears reading"the file itunes library.itl cannot be opened because it was created using a newer version of itunes"  so i can't open my itunes on my computer

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates
    EDIT: My apologies ... it'd be better to start straight in with the following user tip:
    Empty/corrupt iTunes library after upgrade/crash

  • How do I getr my CS5 to read RAW files from my new Panosonic DMC FZ200?

    My Adobe CS5 can't read RAW files I'm attempting to PP in it from two new cameras. What  good is having software that is suppose to be able to read RAW files when it won't for new equipment. Surely it should be able to adapt to newer  cameras as they come along.Today I tried downloading a sample RAW file from a online review of the new Canon 5D Mark iii. It starts to open in CS5 but then says it can't read RAW files from this camera either. How do I change that in my Photoshop CS5. I havn't tried it in Elements 10 yet. will it do the same thing and will I need to change the settings there too? I can post process RAW files from my Canon XSi  and XTi  without any problem.

    What  good is having software that is suppose to be able to read RAW files when it won't for new equipment. Surely it should be able to adapt to newer  cameras as they come along.
    What Noel said.
    FYI, Adobe is constantly supporting new cameras with new versions of Camera Raw.
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    But you must upgrade your version of Photoshop in order to run the latest versions of Camera Raw to read Raw files from the latest released camera models. Or join the Cloud and you can keep your software current at all times as part of your membership.
    http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applications.html
    Or run the free Adobe DNG converter, convert all Raw files to DNG then edit the DNGs in Photoshop
    http://www.adobe.com/products/photoshop/extend.displayTab2.html
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5519
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5518
    DNG conversion requires extra steps - but it's free.

  • How to make BPEL File Adapter read only new files?

    Hello
    we have BPEL processes that define to run from bpel component - file adatper-
    when a file come into location that it is path on the linux server . the bpel start run when "File Adapter" bpel component recognize that new file come to the location. its PollingFrequency define to 5. property name="DeleteFile" value="false" so the files remaine there.
    we want to migrate the bpel to new SOA version so we did export and deploy to new SOA Domain.
    the location of the file adapter is the same.
    but when the BPEL processes deployed its start to run for all the files that are in this location- that the file adapter define on .
    even the original soa tooks those files and start the BPEL processes for each one of them. also the new SOA that we did deploy to the BPEL processes take those files even if they are very old.
    we want the file adatper we take only new files . the start point is the time when we do deploy to the process so if we do deploy in 10:00 am we dont want this bpel will take files from 9:00 or earlier time
    Please help , how we can do this?
    Thanks

    thank you
    do you kno hat the value means in the example:
    Java mon amour: File Adapter metadata with SOA Suite
    <property name="jca.file.LastModifiedTime" value="1293041258635">
    what should I rite for read only the files that are only neer then yesterday?

  • Reading text file, Replace string, Write to new file....

    I'm kind a lost of on this problem. Using the BufferedReader class and BufferedWriter class, develop an application that reads lines of text from a file. Replace any occurrence of the word *?the?* with *?JAVAJAVA?* and change all characters to upper case before writing each line to a different text file named outfile.txt. Finally, have your application use the appropriate method on the File class to return the absolute path of the outfile.txt file and output the path to the screen.
    * Created December 10, 2008
    * @author Fausto Rivera
    * Colorado Technical University - Online Campus
    * IT271-0804B-02 Intermediate Object Oriented Programming II
    * Phase 2 IP
    * Instructor: Cheryl B Frederick
    import java.io.File;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class FRiveraReader {
          public static void main(String[] args) {
          // instantiated a new application object to initialize the application
          FRiveraReader application = new FRiveraReader();}
    //      application.getReadfr();  // call to openFile method
    //      application.doWritefr(); // call to readRecords method
    //      application.closeFile();  // call to closeFile method
    public FRiveraReader(){}
      public void getReadfr (String friveraInfile, String fr []){
       int i;
       File fileName = makeAbsoluteFilename(friveraInfile);
       try{
        BufferedReader reader = new BufferedReader(new FileReader(fileName));
        String line = reader.readLine();
         i=0;
          while (line != null) {
           fr[i] =line;
           line = reader.readLine();
        i++;
      reader.close();
    catch(IOException e) {
    System.out.println("Error with reading file:" + friveraInfile);
    }//end of getOrder method
    public void doWritefr(String friveraOutfile, String fw[]){//String name of file, String array to be written
    int i;
    File fileNameout = makeAbsoluteFilename(friveraOutfile);
    try {
    BufferedWriter writer = new BufferedWriter(new FileWriter (fileNameout));
      i=0;
      while (fw[i] != null) {
       writer.write(fw[i] + "%n"); //need delimiters between data in file;also, reader reads a line
       i++;
      writer.close();
    catch(FileNotFoundException e) {
    System.out.println("File not found");
    catch(IOException e) {
    System.out.println("Error with reading file:" + friveraOutfile);
    }//end of getOrder method
    private File makeAbsoluteFilename(String friveraOutfile)//these 2 classes used to resolve file name
            File file = new File(friveraOutfile);
            if(!file.isAbsolute()) {
                file = new File(friveraOutfile);
            return file;

    I have modified my code as far as being able to create a text file, write to string, and change to upper case. Now, how can I connected input to the output stream and then replace all the instances of the string "the" for the string "JAVAJAVA"? When the file is created, it goes into a loop writing the following:
    nJAVA.IO.BUFFEREDWRITER@19821F%nJAVA.IO.BUFFEREDWRITER@19821F%nJAVA.IO.BUFFEREDWRITER@19821F%nJAVA.IO.BUFFEREDWRITER@19821F%nJAVA.IO.BUFFEREDWRITER@19821F%nJAVA.IO.BUFFEREDWRITER@19821F%
    Here is my modified code
    import java.io.File;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class FRiveraReader {
    public FRiveraReader() {}
    private static final String inFile = "C:\\Documents and Settings\\Fausto Rivera\\My Documents\\NetBeansProjects\\Rivera_F_IT271_0804B_02_PH2_IP\\friverainfile.txt";//the path name of your file
      public void myReadfr (){
       try {
        BufferedReader reader = new BufferedReader(new FileReader(inFile));
        //String "JAVAJAVA" = String "the";
        System.out.println(inFile);
        String line = reader.readLine();
          while (reader != null) {
           line = reader.readLine();
      reader.close();
    catch(IOException e) {
    System.out.println("Error with reading file:" + inFile);
    }//end of myReadfr method
    public void myWritefr(){//String name of file, String array to be written
    File outFile = new File ("C:\\Documents and Settings\\Fausto Rivera\\My Documents\\NetBeansProjects\\Rivera_F_IT271_0804B_02_PH2_IP\\myoutFile.txt");
    try {
    BufferedWriter writer = new BufferedWriter(new FileWriter (outFile));
    String newline = writer.toString() .toUpperCase();
      while (writer != null) {
       writer.write(newline + "%n"); //need delimiters between data in file;also, reader reads a line
      writer.close();
    catch(FileNotFoundException e) {
    System.out.println("File not found");
    catch(IOException e) {
    System.out.println("Error writing file:" + outFile);
    }//end of getOrder method
    private File makeAbsoluteFilename(String myoutFile)//these 2 classes used to resolve file name
            File file = new File(myoutFile);
            if(!file.isAbsolute()) {
                file = new File(myoutFile);
            return file;
      }Edited by: FRiveraJr on Dec 17, 2008 12:10 PM

  • Reading and writing u16 binary file to a new file

    Hello all,
    a very simple thing that I just don't seem to be able to figure out. I have a file containing 1024bytes of unsigned 16bit words. I can read it successfully with the right value  being displayed. But then I try to write these values to a new file, I can no longer read the same value (in fact it's all grayed out 0) from the newly written file. The newly written file has the right size 1024 bytes, but I don't seem to obtain the right information. I made sure the endian are the same, little-endian.
     Attached is my basic VI, and the .dat file is the file containing the binary information. 
    I'm not using copy file because once I get this figure out, I'll need to append more of the Scan.dat file to one single file. 
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    read_write_binary_u16.zip ‏11 KB

    I would put some wait time between the write and the read.  It may be a good idea to actually close the file in between.
    I have a feeling that you may not have allowed enough time to actually have the file written out before you read it again.  That or since it is still open, the file pointer is at the end of the file and you are trying to read all the bytes starting at the end, which means you get nothing.
    Not sure of the exact issue, but those two things comes to mind.

  • All new files have 644 (group read only) permissions!?

    Why do all new files created through AFP have rw-r--r-- (644) permissions? I haven't figured out any way to change it so the group can read and write the new files, without manually chmoding them to something useful.
    OS X Server 10.3 and 10.4 didn't have this problem, nor did any other server OS I've ever used. Is this a feature? Is there something obvious I'm missing!?
    The server sure doesn't seem very useful when only the person who created the file can edit it...seems to defeat the purpose of a file server, no?
    Please help!

    Are you using ACLs on that volume so files can inherit priviledges from the folder you put them in?
    In Tiger you could choose betwen using POSIX inherited priviledges and ACLs.
    In Leopard ACLs are on by default but you have to set/enforce them in Server Admin.
    But I hav to admit I'm a bit bewildered about "inherit" setting in Leopard Server Admin.

  • Reading new camera raw files

    Waiting until a camera manufacturer supplies you with a new camera and then waiting until you add the code to LR messes everyone up. Why can't you have LR read new camera raw files if the file format is the same as a similar camera as a generic conversion. Then when you do the thing right and add the proper conversion code, then use that conversion.

    Because just because a company like Canon or Nikon doesn't change the file
    extension doesn't mean the raw files from one camera to another are anywhere
    close to being the same. Think about. Raw files is the raw data from the
    cameras sensor. This changes from one camera to another. There is no generic
    raw data each camera generates something different and that needs to be
    taken in to account so that ACR and all other raw processing programs can
    handle the data correctly. Otherwise you picture of cousin Lurch could come
    out purple with yellow polka-dots.
    If you want a generic format tell the camera makers to use DNG. That is
    about as generic as you are going to get.
    Robert

  • I am looking into Buying Retail a New Blackberry Q10. Doing this to avoid having to Give up my old Data Plan. Have read that when you activate a new Phone it forces you to pick a new Plan. Is this True? and How to I avoid this? 20 Year Verizon Client

    I am looking into Buying Retail a New Blackberry Q10. Doing this to avoid having to Give up my old Data Plan. Have read that when you activate a new Phone it forces you to pick a new Plan. Is this True? and How to I avoid this? Any other advise in this matter would be greatly appreciated.
    20 Year Plus Verizon Client

    The only "unlimited" plan I can think of where this would not apply is the old Connect plan for multimedia/basic phones.  That unlimited data, on devices such as the LG Voyager, EnvTouch, and other "multimedia" devices is  not the same.
    If you currently have an individual $29.99 unlimited data plan with a 3G Smartphone, then you can buy a BBQ10 retail and activate it with the same data plan and keep the unlimited.

Maybe you are looking for

  • Need solution for Report

    HI In report i want to find frame(heading the columns ) is displaying in how many pages please give me a solution Regards Yashavanth

  • Skype Home Unavailable for weeks - what can i do?

    Hello, Please could you help?   Since updating my skype on my Windows 7 laptop, i've been unable to make / receive video calls on my laptop (i do not have a smart phone or a tablet).  The message i have on my home page is "Skype Home Unavailable at t

  • How to find stolen mac

    my mac have been stolen about tow houres how can i located with my apple id

  • Picking Dummy Profit center in GL simulation

    Hi, We are using ECC 6.0 and New GL is activated. My user has a problem booking outgoing manual payments to vendor customer accounts when there is no invoice. Profit center is obligatory while booking the payment. But even after selecting the proper

  • Z program for batch deletion request

    Hello I am a consultant mm inexperienced, need to help guide a abap so you can make a program where you can make the Z deletion request batch, in the transaction principle "MSC2N." Please someone can help me? Bapi there is a standard or something?