AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AHKOSK Onscreen Keyboard
Goto page Previous  1, 2, 3 ... 7, 8, 9, 10, 11  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Fri Feb 27, 2009 7:31 am    Post subject: Reply with quote

Here is a screenshot of it in action. I will make a new thread when I post it.


It makes scite feel more like an ide. You can set one script as the default and when you run, the default script will execute regardless of which script is active in SciTE. Kinda gives it "project" capabilities. I've found it useful, anyway. It has other features, too.

There are some things I want to polish before I post it. It will be a while!
_________________
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 1159
Location: Seville, Spain

PostPosted: Fri Feb 27, 2009 9:35 am    Post subject: Reply with quote

Great! I'm willing to integrate the function and label list functionality into SciTE4AutoHotkey v2, if you want Smile
_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Mon Mar 02, 2009 11:08 pm    Post subject: Reply with quote

Like I said, it will be a while. When it's ready, though, you can definitely include it! I'll get with you when the time is right.
_________________
Back to top
View user's profile Send private message
yehster



Joined: 16 May 2008
Posts: 12

PostPosted: Sat Mar 21, 2009 5:17 pm    Post subject: Reply with quote

I use a Motion LE1700 running Windows XP Tablet Edition. It's a slate with a Wacom Digitizer.
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Sep 13, 2009 2:15 am    Post subject: Reply with quote

Micahs wrote:
There is now. The latest version has it.

To have the key caption be the phrase sent, use:
Code:
<key function="KeyPhrase">Hello</key>


To have a longer phrase than can be displayed in the caption, use:
Code:
<key function="KeyPhrase" phrase="Hello, how are you?">Hello</key>


This will send a phrase instead of just a single character. Any questions, give a holler.

I found a minor bug. If you use KeyPhrases, it messes up "Enter" so that the system types "Enter" instead of pressing enter. This seems to happen only the first time you hit enter.
Here is a sample .xml filr to reproduce the bug
Code:

<language name="Numeric Keypad">
   <traymenu>
      <command value="show">Show</command>
      <command value="hide">Hide</command>
      <command value="settings">Settings</command>
      <command value="fastStrings">FastStrings</command>
      <command value="hotStrings">HotStrings</command>
      <command value="about">About</command>
      <command value="exit">Exit</command>
   </traymenu>
   <layout margin="5 5 5 5" basekeyheight="40" basekeywidth="30" keyspacing="5" spacebeforesinglechars="1" backcolor="0x96CBCB">
      <font size="10" justify="left" color="0x96CBCB">Arial</font>
      <header x="-5" y="-5" height="20" width="auto">
         <text x="2" y="5" dragger="1">AHKOSK NumPad</text>
      </header>

      <row>
         <key width="30">Enter</key>
         <key function="KeyPhrase">ml</key>

      </row>

   </layout>
</language>
Back to top
yehster



Joined: 16 May 2008
Posts: 12

PostPosted: Sun Sep 13, 2009 2:18 am    Post subject: KeyPhrase Bug Reply with quote

didn't mean to post that previous message annon. anyway if you delete the key phrase line from that layout, the enter button works correctly.
Back to top
View user's profile Send private message
shajul



Joined: 15 Sep 2006
Posts: 564

PostPosted: Sun Sep 13, 2009 4:47 am    Post subject: Great work!! Reply with quote

Great script!! This is absolutely wonderful.. even better that some of the commercial solutions..
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
yehster



Joined: 16 May 2008
Posts: 12

PostPosted: Sun Sep 13, 2009 11:59 am    Post subject: KeyPhrase Bug Reply with quote

I think I fixed to problem, but I'm not sure why/where exactly it came from. In kbd_main.AHK in the following stretch of code, I added KeyPhrase=0 when the keyf type isn't found. I'm not sure why it's getting down to there in the first place for "Enter" but that seems to fix the problem for me.


Code:

            Else If(!FoundFunction)   ;none of the function keys matched - must be a user function, a "phrase" button, or key with caption other than what its function is.
            {   keyf := %g%Hwnd%outK_ID%   ;get key value again
               IfInString,keyf,.ahk   ;If a user function - external .ahk file
               {   ;open and run macro - might have to think twice about this one!
               }
               Else If(keyf = "KeyPhrase")   ;this is a "phrase" button
               {   KeyPhrase = 1
                  If(%g%Phrase%outK_ID%)
                  {   butt := %g%Phrase%outK_ID%
                  }
               }
               Else   ;must be key with caption other than what its function is.
               {   butt := keyf
;new KeyPhrase=0 statement seems to fix my problem with Enter
                  KeyPhrase = 0
               }
            }
Back to top
View user's profile Send private message
pretty sad..
Guest





PostPosted: Sun Oct 11, 2009 9:17 am    Post subject: i want to make onscreen keyboard too Reply with quote

I want to make onscreen keyboard too

But..
onscreen Program is activate..
After LbuttonClick,

so.. Don't send message
I don't know.. how about possible...
Back to top
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Thu Oct 22, 2009 8:57 am    Post subject: Reply with quote

Sorry for the late reply. For some reason I did not get the notifications.

@yehster
I have to admit, I did not test the phrase stuff very well. I will look into it. Thanks for the testing!

@pretty sad
Do you mean that when you left-click on the keyboard it takes the focus?
_________________
Back to top
View user's profile Send private message
mkny



Joined: 28 Sep 2006
Posts: 43

PostPosted: Sat Feb 06, 2010 9:49 pm    Post subject: split keyboard layout Reply with quote

Hi Micah, thanks for the great script. I'd like to use it to teach myself to touch type (first I'll wean myself from looking down at the keybd, then I'll wean myself off the OSK) Couple problems and questions:

1. On my Win 7 box, the last key pressed highlights in red correctly, but the symbol of the key underneath temporarily shows the key that was pressed one key before that. And if I hold shift and type, each symbol is temporarily replaced by "Shift." Weird.

2. Is there a hotkey to toggle show/hide?

3. How would I create a custom layout to recreate my Kinesis Freestyle keyboard, which is split between F7-F8, 6-7, t-y, g-h, and b-n?

4. Could I also highlight the "home keys" asdf jkl; somehow?

Thanks a lot for any help you can offer.[/list]
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Mon May 31, 2010 7:14 am    Post subject: Reply with quote

I'm sorry! I must have missed the email notification again. Sheesh. Sorry this took so long to respond.

As far as the highlight problems, I'll have to look at it (I have 7 now, too.)
No, there is no hotkey to show/hide, but it would be simple to add (not very useful for most people because the script is used to avoid having to use the keyboard in some cases!)
For the custom layout, you would edit the xml file to reflect the new key placements. The x,y can be supplied for each row (you could break up each row into two to get the space in between.)
To highlight the home row is possible, but it would require adding code to make a pic control for each key that needs to be highlighted. Or using the colored button stuff on the forum somewhere. I've been meaning to look at that and see if I want to incorporate it.
Anyway, I'll look into the highlight issue. I have not had much time for this project in a long while. I want to get back into it and improve it. I have some interesting things planned for it if I get time.
_________________
Back to top
View user's profile Send private message
mkny



Joined: 28 Sep 2006
Posts: 43

PostPosted: Tue Jun 01, 2010 4:31 pm    Post subject: Reply with quote

Thanks for the reply. I'm looking forward to seeing what you come up with.
Back to top
View user's profile Send private message
quinxy



Joined: 17 May 2010
Posts: 29

PostPosted: Mon Jun 07, 2010 1:52 am    Post subject: Am I missing someting? Reply with quote

I'm a little confused. I was very excited when I found this virtual keyboard, but have not been seeing what I expected.

The extra large keyboard is still tiny on my screen, I didn't measure it in pixels, but it's only a few hundred wide. That doesn't sound very extra large to me. I see how I can edit the config for a keyboard to make it bigger, but I'm a little surprised extra large really is that small.

Also, I click the "Dock" button and nothing at all happens.

And, as far as I can see there is no way to create a non-standard keyboard layout like those split UMPC keyboards, where it's like a quarter circle in the bottom left and another in the bottom right. It looks like the keyboard layouts just assume a rectangular arrangement of keys.

I'm using Windows 7, not sure if there are issues with Windows 7.

Q
Back to top
View user's profile Send private message Visit poster's website
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Fri Jun 18, 2010 8:47 am    Post subject: Reply with quote

I just checked and the extra large keyboard is over 550px. If you have a ridiculously large resolution, it would look smaller. :D Mine is 1600px wide and that layout seems large enough. BTW, that layout was given to me and named by someone else and I added it to the package. The regular, fancy layout is a bit over 400px, so the extra large is not a whole lot bigger (~37%) but the fonts and keys are noticeably larger. When it comes to large and extra large, everything is relative.

I'm using Win7 64bit. I have no issues with it. The 'Dock' function works like it should. Have you modified it in any way, or is it unchanged?

As far as the layout, just create a layout any way you wish. I mean any way. You can have each key be its own row and position them anywhere you want. It may be a bit of a pain setting the x,y coords for each key, but it is possible. I thought about making a visual kb editing tool, but have not gotten around to it. I have also planned being able to scale the kb layout to any size. I have not worked on this in a while, but I hope to one of these days...
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9, 10, 11  Next
Page 8 of 11

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group