iseahound / ImagePut

A core library for images in AutoHotkey. Supports AutoHotkey v1 and v2.
https://www.autohotkey.com/boards/viewtopic.php?f=83&t=76633
MIT License
116 stars 24 forks source link

pStream cannot be zero #23

Closed jpuerj closed 1 year ago

jpuerj commented 1 year ago

Hi! First of all, thank you for this amazing library, I'm having a problem when running multiple timers with ImagePutBuffer(windowName). It all works fine, but suddenly, I get this message pStream cannot be zero after running the script for some time. In this script, I usually get images from 4 different windows and when one stop working every other stop working as well.

iseahound commented 1 year ago

Hi, generally using

ImagePutBuffer({window: windowname})

should fix your problem. You'd have to post some code if you'd like me to dig further.

jpuerj commented 1 year ago

Okay! I'll try that, thanks!