Killing Fabsoft Reform Print Spooler Programatically - Support

Killing Fabsoft Reform Print Spooler Programatically

From Support

Jump to: navigation, search

Customer wants to be able to kill the FabSoft Reform spooler before rebooting their Windows server each night. When Fabsoft normally exits, a confirmation dialog is displayed.

There is a nice Open Source Utility for Windows called AutoIT that can be used to automate the scripting of Windows operations and keyboard interactions.

The software can be downloaded from the products web site at: http://www.hiddensoft.com/AutoIt The installation can also be downloaded from the RJS web site: http://www.rjssoftware.com/files/autoit/autoit-v3-setup.exe

Creating an AutoIt Script to Kill Reform

In Windows Notepad, create a new document and add the following lines:

--------------------------------------------------------------
AutoIt Script Name
killreform.au3
Desc
The purpose of this script is to kill the Fabsoft Reform
print spooler.
--------------------------------------------------------------
Close the Reform Process

ProcessClose("reform.exe")

Save the file as: C:\Program Files\AutoIt3\Examples\killreform.au3

Running the Kill Reform Script

If the Fabsoft Reform software is running, you can execute the following command line from Start/Run to kill Reform. C:\Program Files\AutoIt3\Examples\killreform.au3

The above command line can be added to the Windows Job Schedule to automate the ending of the Reform software.

Personal tools