Periodic elimination

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Carlox
Posts: 2
Joined: 11 May 2021, 17:13

Periodic elimination

14 May 2021, 07:56

Cordial Greetings to All. I am new and I am trying to make a script that periodically deletes certain files but saves me some. These files will have different names because they include the date in them. It would be excellent if someone can help me, thank you very much in advance. : salute:
User avatar
boiler
Posts: 17034
Joined: 21 Dec 2014, 02:44

Re: Periodic elimination

14 May 2021, 09:39

The details depend on the specifics of your file names, but you would could probably handle it with the appropriate wildcards using Loop, Files. If you needed further filtering within that list for some reason, you could use RegExMatch or InStr.

Regarding the periodic part, you can set the routine to operate on a periodic basis using SetTimer.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Spawnova and 316 guests