Hello experts, I need help.
I want to have Girder 4 send keystrokes to another computer ONLY when a checkbox is checked. I can get this to work no problem if I have girder watch the 'enable' checkbox within Girder, or if I have it watch a checkbox in any other application.
BUT, I want to create my own application, where the checkbox is the only think in the application window. I have created on in C# and VB (both using Microsofts Visual Studio or Visual C programs)
I can have the "Is checkbox checked" event look at the checkbox I created, but nothing ever seems to happen. It never 'sees' it as being checked.
I have created a little script in my application that will display text that changes depending on if the checkbox is checked or not, just to test it. But Girder doesn't seem to be listening, or I haven't done something to my checkbox to make it 'official'.??
Any ideas?
Here is my situation, in case you have any better solutions than having a checkbox onscreen.
I am syncing multiple computers and sending the spacebar command from the master computer to all other computers. The spacebar command will only be sent if a certain child window is in focus, any other time - no keystroke will be sent.
I have to be able to turn this feature on and off. So that even if the child window is in focus, Girder will not send keystrokes if I don't want it to. (I need the computers to be synced, then not synced, then synced again, etc...)
My idea was to create an application window that will always be TopMost, this application window will have a single checkbox in it. I will set Girder to watch that checkbox, and if it is checked, then it will send the spacebar commands. But when unchecked, no commands will be sent.
Once I get that working, I want to have a midi file check and uncheck the checkbox - but I can handle that, I just can't get Girder to pay attention to my checkbox. Is there something special I need to do?


Reply With Quote