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, 4, 5, 6, 7, 8
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Micahs



Joined: 01 Dec 2006
Posts: 413

PostPosted: Fri Feb 27, 2009 8: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: 474
Location: Seville, Spain

PostPosted: Fri Feb 27, 2009 10: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
SciTE4AutoHotkey v2 script editor
[AutoHotkeyCE] [AutoHotkey_L]
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 413

PostPosted: Tue Mar 03, 2009 12:08 am    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 6: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 3: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 3: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: 99

PostPosted: Sun Sep 13, 2009 5: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 12:59 pm    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 10: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: 413

PostPosted: Thu Oct 22, 2009 9: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: 38

PostPosted: Sat Feb 06, 2010 10: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
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Page 8 of 8

 
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