View Single Post
Old 12-15-2019, 12:01 PM   #840
TabbyCat
Human being with feelings
 
TabbyCat's Avatar
 
Join Date: May 2019
Location: Los Angeles, CA
Posts: 58
Default

Quote:
Originally Posted by TabbyCat View Post
For this one:

Code:
reaper.JS_VKeys_GetState(number cutoffTime)
I'm having difficulty divining what the "cutoff time" actually is.
OK Grandpa figured it out - don't use LUA's os.time, use Reaper's time_precise()...unless you like polling in 1000ms intervals

Sorry, familiar with programming but new to LUA. Didn't think the native function would have such a dull resolution.

[slinks back under woodpile]

Thanks for the API Julian, it's great! I can do all my fav Win32 acrobatics!
TabbyCat is offline   Reply With Quote