jor133d

New Member
Joined
Mar 24, 2011
Messages
2
Hi,

I have a camera triggered with a remote that us connected to my PC via USB (I'm making a photobooth type thing). The photos import into a folder and are auto imported into lightroom and display a full screen preview.

I have a custom screen savor set to appear after a few minutes of dead time with some fun graphics. My issue is the act of taking the photo and importing it does not take away the screen savor. Is there a way to say "in addition to the keyboard and mouse movement, also remove the screen savor when a photo is added to the folder?"
 
Solution
To address the issue you're facing with the screen saver not being automatically disabled when a photo is added to the folder, you can create a script or a small program that monitors the folder where the photos are saved. When a new photo is added to the folder, the script can take specific actions to disable the screen saver. You can achieve this by writing a simple monitoring script using a programming language like Python. Here's an outline of the steps you can follow:
  1. Monitor the Folder: Use Python to continuously monitor the folder where the photos are saved. You can achieve this by checking the contents of the folder at regular intervals.
  2. Detect New Photos: Compare the current list of files in the folder...
To address the issue you're facing with the screen saver not being automatically disabled when a photo is added to the folder, you can create a script or a small program that monitors the folder where the photos are saved. When a new photo is added to the folder, the script can take specific actions to disable the screen saver. You can achieve this by writing a simple monitoring script using a programming language like Python. Here's an outline of the steps you can follow:
  1. Monitor the Folder: Use Python to continuously monitor the folder where the photos are saved. You can achieve this by checking the contents of the folder at regular intervals.
  2. Detect New Photos: Compare the current list of files in the folder with a previously stored list to detect any new photos that have been added.
  3. Disable the Screen Saver: Once a new photo is detected, send a command to disable the screen saver. This can be done using system commands or API calls, depending on the operating system you're using.
  4. Re-enable the Screen Saver: After a certain period of time or once the photo import process is complete, you can re-enable the screen saver. Below is a basic outline of how you can structure this monitoring script in Python:
    Python:
    import os import time import subprocess # Path to the folder where the photos are saved folder_path = "C:/Your/Photo/Folder" # Get the initial list of files in the folder files_in_folder = os.listdir(folder_path) while True: # Get the current list of files in the folder current_files = os.listdir(folder_path) # Check for new files that were not present in the previous iteration new_files = [file for file in current_files if file not in files_in_folder] if new_files: # New files detected, disable the screen saver subprocess.run(["path_to_command_to_disable_screensaver"]) # Process the new files (e.g., import to Lightroom) # Add your code here # Re-enable the screen saver after processing the new files subprocess.run(["path_to_command_to_enable_screensaver"]) # Update the list of files for the next iteration files_in_folder = current_files # Check every few seconds (adjust the interval as needed) time.sleep(5)
    In this script:
    • Replace "C:/Your/Photo/Folder" with the actual path to your photo folder.
    • Implement the logic to disable and enable the screen saver using appropriate commands or API calls.
    • Customize the script further based on your specific requirements and the operating system you are using.
    This is a basic template to get you started. You may need to adjust and expand the script based on the specific details of your setup and requirements. If you need any further assistance or clarification on any part of the script, feel free to ask!
 
Solution