support for GetKeyboardState
Thanks, yes I am aware of that page, that's not what I am asking though, I am asking how can I write an app where the user clicks my tk button and then hits the hotkey sequence of their choosing and I capture/translate that to a format that would work for register_hotkey (outside of the simple combos) For b) the issue isn't what as much what is the syntax (though that's useful to know, thanks) but why is something that doesn't work not generating an error (and yes I realize " shift is probably to...
register_hotkey: how to get keycodes
I managed to successfully make a binary thanks to you, very much appreciated Only the tclkit.ico didn't quite work so I ended up just changing the runtime directly and that worked fine (in case someone else follows this) Some day I'd like to actually build everything from source but for now this is good. Feel free to close the ticket!
arggh never mind, I forgot -runtime before runtime.exe! my bad!
Ok so I tried following the steps, unfortunately sdx.kit wrap on my windows machine produces a .bat file and the "binary" produced is actually a shell wrapper on a windows binary 1 2 3 4 5#!/bin/sh # \ exec tclkit "$0" ${1+"$@"} package require starkit starkit::header mk4 -readonly Is there a missing option in the instruction to generate an exe and not a starkit?
fantastic!! thanks! but http://kitcreator.rkeene.org/kitcreator doesn't seem to have twapi in the options? do you have another page on how to build pretty much what you distribute already? (or how to build that)
Thanks so much!! Any way to fetch an (https) url is fine and even that, I could rework/remove from my app. If I can't use VS2019 (do you know what's up with no more nmake?) I can get MinGW I guess Or if you have a solution/project file that works for tcl+tk+twapi I can probably work from there (though the genkit/sdx is still quite mysterious) Looking fwd to your doc and/or updated https://www.magicsplat.com/tclwinfaq.html#orgef9b3b4 Happy Holidays!