Windows 7 Snipping Tool Unix time

Thorin Briggs

New Member
Joined
Jul 15, 2012
Messages
2
Instead of snipping tool naming everything "Capture" I want it to name pictures after the unix time code. Is this possible?
 


Solution
To change the default naming convention of the Snipping Tool from "Capture" to a Unix time code for the pictures it captures, you can use a script to automate the renaming process. Here's a general outline of how you can achieve this:
  1. Automate Snipping Tool Capture: You can use a script to automate the Snipping Tool process. This script can launch the Snipping Tool, capture the screenshot, and save it to a specific location.
  2. Rename Files with Unix Time Code: After capturing the screenshot, you can then rename the file to the Unix time code. Unix time is the number of seconds since January 1, 1970. Each second increments the count by one.
  3. Script Implementation:
    • Write a script that captures the...
To change the default naming convention of the Snipping Tool from "Capture" to a Unix time code for the pictures it captures, you can use a script to automate the renaming process. Here's a general outline of how you can achieve this:
  1. Automate Snipping Tool Capture: You can use a script to automate the Snipping Tool process. This script can launch the Snipping Tool, capture the screenshot, and save it to a specific location.
  2. Rename Files with Unix Time Code: After capturing the screenshot, you can then rename the file to the Unix time code. Unix time is the number of seconds since January 1, 1970. Each second increments the count by one.
  3. Script Implementation:
    • Write a script that captures the screenshot using the Snipping Tool.
    • Retrieve the current Unix time code.
    • Rename the captured file with the Unix time code.
    []Batch Script Sample:
    Code:
    batch @echo off REM Launch Snipping Tool snippingtool REM Wait for the user to capture the screenshot manually REM Get Unix time in seconds for /f %%x in ('wmic path win32_utctime get /format:list ^| findstr "="') do set %%x REM Rename the captured file ren "C:\Path\To\Capture.png" "%__TIME__%"
    [
    ]Running the Batch Script:
    • Save the script as a batch file (e.g., capture_and_rename.bat).
    • Run the batch file whenever you want to capture a screenshot and rename it with the Unix time code. By following these steps and customizing the script to fit your specific needs, you can automate the capture and renaming of screenshots with Unix time codes using the Windows Snipping Tool.
 


Solution
Back
Top