I have an Autohotkey script that gets triggered whenever image data (not text or other data types) is copied to the clipboard.
When I close Firefox, the script gets triggered. This doesn't make any sense to me. Does anybody have an explanation?
Extra info: As for the purpose of the script itself, it is designed to work with the Hypersnap software. You see, I have Hypersnap save each screenshot I take. However, it does not offer the naming scheme I want. Therefore, I use Autohotkey to rename the image after it is saved. I have tried many things, and so far the only way I can get Autohotkey to detect when a new screenshot is taken is by setting Hypersnap to put a copy of the image in the clipboard and have Autohotkey detect that. When this new image data is detected in the clipboard, the script searches the Hypersnap save folder and renames the new screenshot image.
EDIT: It turns out that this question is not even valid as it is stated, because I have discovered that the clipboard contents do not change when closing Firefox, even when the AHK script is triggered as described. The problem lies elsewhere, perhaps with the script itself. I could probably delete this question, but Karan's suggestion to use Greenshot may prove very useful in an indirect way, and I believe it may help others as well.