Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
Posted: Tue Jul 04, 2017 8:02 pm Post subject:
This already exists in CE. Under Scan Type, use 'Value between...' put in what you want, ie. 0 and 1. Use next scan to filter out changes. _________________
The current Value between doesn't constantly enforce the found results to stay within the range. If there was a way to scan on a set interval. And or trigger next scan with a hot key.
local mainform = getMainForm()
local autoScanT = createTimer(mainform, false)
autoScanT.Interval = getUpdateTimer().Interval -- change interval here (in milliseconds)
autoScanT.OnTimer = function(t)
if mainform.btnNextScan.Enabled then
mainform.btnNextScan.doClick()
end
end
local autoScanHK = createHotkey(function(hk)
autoScanT.Enabled = not autoScanT.Enabled end, VK_CONTROL, VK_R) -- change hotkeys here
_________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum