Seeing if anyone is interested in this. Created it for fun with AI. It's an autohotkey v2 script that utilizes everythings dll.
It allows you to monitor file changes live on the desktop unobtrusively at a low opacity. Once you move your mouse over it, it will gain focus and increase it's opacity. You can add various queries that get saved and cycle through them with the mouse wheel.
Left click opens the file, middle click temporarily hides it, right click opens it's containing folder.
Works best when you have your filters sorted by modified date first. Usually when monitoring the newest stuff is the usual point of interest.
I have no plans on maintaining it as I only made it out of curiosity. So if you have issues, you'll have to figure it out yourself.
I doubt I would use it regularly, but may use it every once in a while if a situation requires it. If you want to build off of this and share it, you are more than welcome to. I'm not worried about any credit, you can claim it as your own.
This utilizes the DLL's found here. Set the location to the path to it at the top of the script or just run it in the same directory of the dlls.
https://www.voidtools.com/support/everything/sdk/
Desktop Filter/File Monitoring
-
soul4kills
- Posts: 39
- Joined: Mon Sep 04, 2023 4:12 am
Desktop Filter/File Monitoring
- Attachments
-
- proc_monitor.txt
- (40.42 KiB) Downloaded 20 times
-
- Kx4iEaCBcW.mp4_snapshot_00.11.928.jpg (197.85 KiB) Viewed 1785 times
-
- Kx4iEaCBcW.mp4_snapshot_00.13.329.jpg (221.69 KiB) Viewed 1785 times
-
- Kx4iEaCBcW.mp4_snapshot_00.00.000.jpg (157.69 KiB) Viewed 1785 times
-
- Kx4iEaCBcW.mp4
- (1.01 MiB) Downloaded 19 times
-
soul4kills
- Posts: 39
- Joined: Mon Sep 04, 2023 4:12 am
Re: Desktop Filter/File Monitoring
I'm pretty knew to utilizing API's and DLL's, and have been using this script to kind of explore how I can use everything in different ways.
So this script is set to poll and query for new results at an interval. I was wondering if anyone knows if everything has any method to make it event driven rather then having to poll.
For example I have other ahk scripts that perform certain tasks through event driven callbacks from windows. Like if a new window opens, the script will run a function when this happens. Rather than constantly polling for a changed state.
So this script is set to poll and query for new results at an interval. I was wondering if anyone knows if everything has any method to make it event driven rather then having to poll.
For example I have other ahk scripts that perform certain tasks through event driven callbacks from windows. Like if a new window opens, the script will run a function when this happens. Rather than constantly polling for a changed state.
-
soul4kills
- Posts: 39
- Joined: Mon Sep 04, 2023 4:12 am
Re: Desktop Filter/File Monitoring
Here's an update. I fixed a few things like the resizing. Then added a few things like thumbnail previews.
Initially, to generate thumbnails and create a gif, I needed to get dimensions and length with fprobe. But with the newer 1.5a SDK, it lets you get properties of a file. So that saved having to use an extra tool. But you will need ffmpeg to generate the preview thumbnails for media files.
I have dimensions and lengths of files preindexed in everything. So if you don't have it set up like that, you may experience unexpected behavior.
Also switched to using the newer version 3 dlls located here. So you may need to switch to 1.5a if you're not already using it for this to work.
viewtopic.php?t=15853
Oh, and you might be wondering why it's named, process_monitor. It's because it was originally a very simple process monitor that I used to troubleshoot if code I was running were executing properly. Then I decided to experiment and add everything to it.
Enjoy, hopefully some people may find this useful. I think people that might find it useful is if you work with media files a lot and do a lot of media ingesting.
Edit: If you use the "permenenthide" or "toggleclick-through" mouse actions. Just double click the tray icon to undo the action.
Initially, to generate thumbnails and create a gif, I needed to get dimensions and length with fprobe. But with the newer 1.5a SDK, it lets you get properties of a file. So that saved having to use an extra tool. But you will need ffmpeg to generate the preview thumbnails for media files.
I have dimensions and lengths of files preindexed in everything. So if you don't have it set up like that, you may experience unexpected behavior.
Also switched to using the newer version 3 dlls located here. So you may need to switch to 1.5a if you're not already using it for this to work.
viewtopic.php?t=15853
Oh, and you might be wondering why it's named, process_monitor. It's because it was originally a very simple process monitor that I used to troubleshoot if code I was running were executing properly. Then I decided to experiment and add everything to it.
Enjoy, hopefully some people may find this useful. I think people that might find it useful is if you work with media files a lot and do a lot of media ingesting.
Edit: If you use the "permenenthide" or "toggleclick-through" mouse actions. Just double click the tray icon to undo the action.
- Attachments
-
- proc_monitor.txt
- (69.96 KiB) Downloaded 12 times
-
- cfCwMF3BQG.gif (3.4 MiB) Viewed 1035 times