Prev Previous Post   Next Post Next
Old 10-15-2018, 09:37 AM   #1
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 688
Default gfx.getchar() - Bugs (FIXED)

I've found some issues with gfx.getchar.

When hitting F10, it will return the code twice, unlike all other keys, where it returns the code once, waits a moment before returning the second keystroke.
The following code reproduces it on Reaper 5.941 and Reaper 5.96 sucessfully.

I'm using Windows 7Pro, with a naked Reaper 5.96 and SWS installed.

function main()
  if A>=1 then reaper.ShowConsoleMsg(A.."\n") end
  if A~=-1 then reaper.defer(main) end


There's also an issue with the Euro-currency symbol €
This returns two codes, 261 and 128. Is this intentional? Are there other characters that can be returned that way?
Reaper Internals - Developerdocs for Reaper:
mespotine is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 05:19 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.