SayOk Auto-Closer

From PalOMoney
Jump to navigation Jump to search

PalOMoney OFX Statement download has a Money import method that writes directly to the Money queue and notifies Money, bypassing that dreadful Money shell import handler that launches when you "open" an .ofx file, and requires you to click Ok for each download if Money is not launched. When Money is launched, an equally bad offender is the Money "Import a file" dialog, which is a little more pleasant on the eye but ultimately just as annoying. Who wants to wait an indeterminate amount of time, only to click Ok 16 times in a row? Something had to be done.

SayOk Auto Closer

The SayOk Auto Closer utility is a separate app that sits in your system tray and watches for a certain window title, in this case "Import a file." When it notices a window with that title, it looks for a likely "Ok" button, and activates it, thereby closing the window. The app can be extended to look for other annoying windows.

To use,

  • Launch the app, then
  • Click the minimize button to minimize it to the system tray.
  • Click the SayOk icon in the system tray to restore and minimize the display pane.
  • Click the Close button to quit the app.

It doesn't launch minimized because you should know that it is running. It tries to use very few resources, so you can keep it going. SayOk opens a notification balloon whenever it closes a window, and logs the closure in its display pane, and in a log file in your Documents folder.

First Revision

The software version is experimental, and any problems you have should be reported to the support forums.

Version 2.5.0 is the first release of a new version, and introduces a hooking mechanism to support very rapid window detection and closure. The hooking mechanism is supplied by CBTHook.dll in the program files folder. To disable the rapid window detection, simply rename the dll. SayOk will not be able to load it, and will rely only on a polling method, which may then seem too slow for rapid fire applications.

To install SayOk outside of PalOMoney, copy SayOk.exe and CBTHook.dll to the same folder, then create a shortcut to the SayOk.exe.

Distribution

SayOk is part of the PalOMoney 1.0.5 and higher packages. After it is more thoroughly tested and the remaining bugs fixed, a separate download may be made available to the public. Check back here for details.

This was initially written in the blog post.