Mighty Desktop

Watchdog

 

 

Share

 

Overview
Suspend-Resume
Permanent Apps
Quick Items
Installed Programs
Desktop
Toolbox
Devices
Intranet
File Copier
File Renamer
File Comparer
Duplicate Cleaner
File Scanner
Folder Analyzer
File Splitter
File Concatenator
Drive Speed
Dictionary Merge
File Stamper
Duplicate Truncator
String Hunter™
Watchdog
Calcuverter
DualTypeCalc™
Unit Converter
DateTime Calculator
Currency Converter
Scheduler
Actions
Text Expert
Text Converter
Clipboard Recorder
Window List
WindowBot™
Process List
ProcessBot
Open Files
Process Variations
Process Functions
System Safety Functions
Seed Enigma™
Verify Integrity
File Monitor
Binary File Viewer
File Protector
Backup
Data Refresher
Windows™ Extensions
Environment Variables
Command Shell
Locate Command
Error Codes
Diagnose Start Problems
Desktop Shortcut
Hotkeys
Process Queue
Explorer Integration
Settings
About
General Features
Download
Buy License
Help
3rd Party Reviews
 

 

 

 

 

Watchdog is your never sleeping dog that automatically informs you when something important happens. It can also execute your individually programmed actions.

Watchdog is extremely versatile, here some examples:

  • Remote Notes: It helps you to easily transfer textual informations from your smartphone/tablet to your PC. This is how I use it: I put an empty text file on a cloud service provider (there are many like DropBox, Google Drive aso.). Then I added an entry in Watchdog that it should open this file if the file's last change date was newer. Now I can take my phone, enter something in the text file, save it and when I start up my PC at home it will automatically present this file to me. This way I can't forget to process it.

    Pattern: Z:\Cloud\NotToForget.txt
    Into Depth: No
    Trigger: Stamp Newer
    Action: Open a file system item
    ActionArguments: ProcessPathName:{PathName}
    Recurrence: Background Checking Interval

Note that 'Arguments' must transfer the triggering pathname to 'ProcessPathName' because the action 'Open a file system item' expects this, and not 'PathName'.

  • Delete Warnings: In iTunes there was for some time a bug that could accidentally delete many music files. I'm not sure whether it's fixed now because it seems to be rare. To supervise this I added a trigger that fires if the file count of my music folder is smaller than before. Files can be added, yes, but vanishing files is a sign of trouble. If I wouldn't have Watchdog as a guard I could end up with backing up a reduced music folder and loosing music I payed for forever.

    Pattern: C:\Music\*
    Into Depth: Yes
    Trigger: File Count Smaller
    Action: Event Message Box
    Recurrence: Specified interval
    Recurrence Time Span: 1:00:00

  • Auto-Open: You can create a trigger that automatically opens a folder or file if files were added. A good example is your Downloads folder. As soon as something is downloaded, Watchdog can pop up and ask you if you want to open the item. Another example is a scan folder where you would like to automatically open the freshly scanned document.

    Pattern: C:\Scans\*
    Into Depth: No
    Trigger: File Count Bigger
    Action: Open Latest File
    ActionArguments: NamePattern:*
    Recurrence: Background Checking Interval

  • Drive size warning: You can create a trigger that gets active if the available free space of a drives falls below a defined minimum. This will alert you in advance of nasty problems. Tip: The file system of Windows can't handle the "No free space" condition on a drive well. In my 40 years of computer experience I have seen multiple data destructions because of this. You should keep an eye on this and never ever let the free space go completely to zero at the drive where the pagefile resides (usually C:).
  • Pattern: C:\ *
    Into Depth: Yes
    Trigger: Available Space Below
    Trigger Value: 3 GB
    Action: Event Message Box
    ActionArguments: Text:"Drive C is low on memory: Now {AvailableSpace}!"
    Recurrence: Specified Interval
    Recurrence Time Span: 1:00

  • Hosts file changed: This file is a vital component for the internet connections. In history Trojans were observed inserting some lines into it for a "Man In The Middle" attack. This item will check each minute whether the content was changed and display a message box if yes. There are also completely legit reasons for this to happen, for example by antivirus tools.

  • File modified warning: You can tell it to make a MD5 checksum over a bunch of files and see whether it changes. For example if you have a Bitcoin wallet you can let Watchdog guard your wallet file. If anybody tampered with this file you will immediately notice and you will know that your system is in danger (though we will see a better way of protection later in the 'File Protector' tab).

  • Conflict warning: Cloud tools like BoxCryptor check that the local file and the cloud file have not been modified in parallel before a save operation. If this is the case, there will be 2 files in the cloud afterwards, one of which will be named e.g. "Doc - Conflicting File". Watchdog can be configured to alert on files with this name. The faster the conflicts are detected, the easier it is to resolve them.

  • Auto processing: As soon as a file is modified or created at a certain path you can Watchdog let do some processing with it. For example you could choose to copy or move it to the folder it belongs or remove whitespace in it or whatever function is available. You could also send the new content to any other application. I use it for example as a remote command processor: When I'm at my Smartphone I can place any Windows command in the text file. Then Watchdog sees that the content has changed (Trigger = 'Stamp modified'), opens the file, reads the content into the placeholder 'Content' and hands this over to the action "Start an application" which will then execute the app.

Trigger Types

Watchdog supports a lot of trigger types and the list will grow in the future. If a trigger is fulfilled one says "it fires", which means it executes the Mighty Action that you have entered right of it. At the moment you have available:

  • Stamp Modified, Stamp Newer, Stamp Older: Checks the "Last Write" stamp of a file or folder. Only a single item can be specified.

  • Size Changed, Size Bigger, Size Smaller, Size As Specified: Checks the sum of all file lengths of the files that match the pattern.

  • File Count Changed, File Count Bigger, File Count Smaller, File Count As Specified: Counts how many files are returned when the 'FilePattern' is enumerated. For example if you specify "C:\MyFolder\*.doc" it will count how many documents are in the folder. You can also specify just an absolute pathname to a single file to kick start an action as soon as the file is there. It doesn't need to be a pattern. If some or all of the specified folders or files can't be found the count will just be 0. No warning or error will be displayed. This allows for using it for removable or network drives too.

  • Checksum Changed: Calculates a checksum (MD5, AES, SHA...) over all the files matching the pattern you specify and fires if at least one changes. You could use this to get informed as soon as something changes, for example a cryptocurrency wallet.

  • Trigger Value Found, Trigger Value Not Found: Some trigger types like 'File Count As Specified' require a value to be compared with. You can see the last evaluated/calculated value and the point in time on the right side.

  • Available Space Below: Calculates the free space on the drive of the pattern. This can warn you when space gets low. Be warned that Windows can sometimes react with data destruction when the space on a drive runs out during a write operation.

Recurrence

You can tell Watchdog, how often it should check the trigger:

  • Manual: Only if you run it by pushing a button, executing a menu item or call it from commandline

  • Background Checking Interval: Each time all the background checks are done, which is all 10 seconds by default

  • Waiting To Resume: Periodically while waiting for the resume pattern to be fulfilled (see Suspend-Resume)

  • Once After Resume: After the PC was resumed and the Resume function finished

  • Specified Interval: You can enter your own time span. There are no limits for the length of a time span. Extended timespan notations used in DateTime Calculator are supported.

  • At Workstation Locking: If you go into the Windows Desktop lock screen
  • At Workstation Unlocking: If you unlock your Windows Desktop

  • At Remote Connect: If another computer connects remotely to your PC

  • At Remote Disconnect: If a remote connection has been disconnected

  • At Remote ControlChange: If a remote PC takes over the desktop control, or if it terminates the control

  • At Logoff: If you log the current Windows user off.

Executable Actions

Once a trigger fires you can specify one of the many actions from the Actions tab to be executed. In the special case that 'File or Folder Pattern' contains a path to an existing file and the file is smaller than 16 kB, Watchdog reads the content of the file and adds it as a new argument of name 'Content'. This allows to process the content in the executed action.

An example for a useful appliance of the 'At Remote Connect' trigger is to automatically close private programs, eg. a password safe.

A special paste operation is supported: You can paste a list of Watchdog entries from a textual XML structured definition. This is the same format that you will see when you drag or copy some entries into your text editor. If an entry is already existing a sequence number will be appended at the end of 'Name'. This allows to easily exchange Watchdog entries with your friends or import some from websites. In the future there is planned to have a page on our Website that lists some new cool Watchdog entries. Please send us your cool stuff by the feedback function in the About tab. We will then place it on that web page.

Basically you can execute any operation that is possible with your computer. The ultimate action can contain a 'Shell Script Command' which has the power to execute the same commands as a Windows Command Prompt.

Notes

  • Watchdog has two lists, one that is edited and one that is processed in the background. By pressing 'Apply' the edited list is checked and sent to the background checker.

  • If a copy is pasted via clipboard, a sequence number is appended to the name analogous to the File Explorer. This is a simple way to create a variant of an entry.

  • For trigger 'Stamp Modified': If you execute an action on the same file that the trigger observes and you change something (eg. Replace Tabs by Blanks) you will have to do the operation without changing the file's last write time. Otherwise it could result in repeated firing of the trigger.

  • If the folder of a pattern is not existing and the recurrence is a repeating interval (other than manual) the trigger will silently suppress triggering. This is a helping feature aimed at the case where the folder is located on an external drive which could be temporarily offline.

  • You will have to double double-quotes inside an argument (DOS shell style)

  • You can suppress execution of the action of a triggering watchdog item in the background by holding [Ctrl][Alt][Shift]. Note that the 'Last Seen Value' is still updated so you don't get annoyed later.

  • If an error is displayed you can switch on 'Verbose' to view more details. This is done in a two layer hierarchy: First there is one global switch for the action. This can be overridden individually by the 'Verbose' field of each Mighty Command.


 

   
Go to Homepage