Hi, I am completely new to AutoHotkey and hoping someone can point me in the right direction.
I'm looking to make a script that would either search for the newest file or look in a specific place for the most-recently saved file, prompt the user for an input, and rename the file accordingly.
Or... look for the file as described above and make or move the file to pre-made folders based on user input.
Specifically, we are looking at using OBS to trigger/stop video records and want to be able to use a script to rename or move the newest file according to whatever number we type in after triggering the script.
I've been reading trough the tutorial information and it seems like the ability to do something along these lines is in there but I'm currently lacking the experience to find the exact tools I would need. Any guidance would be greatly appreciated!
Thank you!
Find and Rename File
- flyingDman
- Posts: 2817
- Joined: 29 Sep 2013, 19:01
Re: Find and Rename File
Watchfolder() will detect new files in a specified folder and take some specific action if a new file is detected. See here: viewtopic.php?t=8384
14.3 & 1.3.7
Re: Find and Rename File
Start at "Loop, FilePattern" in the docu, look at the examples. Use "A_LoopFileTimeModified", Look at "Sort" and "FileMove".