 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Micahs
Joined: 01 Dec 2006 Posts: 413
|
Posted: Fri Feb 27, 2009 8:31 am Post subject: |
|
|
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 |
|
 |
fincs
Joined: 05 May 2007 Posts: 474 Location: Seville, Spain
|
|
| Back to top |
|
 |
Micahs
Joined: 01 Dec 2006 Posts: 413
|
Posted: Tue Mar 03, 2009 12:08 am Post subject: |
|
|
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 |
|
 |
yehster
Joined: 16 May 2008 Posts: 12
|
Posted: Sat Mar 21, 2009 6:17 pm Post subject: |
|
|
| I use a Motion LE1700 running Windows XP Tablet Edition. It's a slate with a Wacom Digitizer. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Sep 13, 2009 3:15 am Post subject: |
|
|
| 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
|
Posted: Sun Sep 13, 2009 3:18 am Post subject: KeyPhrase Bug |
|
|
| 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 |
|
 |
shajul
Joined: 15 Sep 2006 Posts: 99
|
Posted: Sun Sep 13, 2009 5:47 am Post subject: Great work!! |
|
|
| Great script!! This is absolutely wonderful.. even better that some of the commercial solutions.. |
|
| Back to top |
|
 |
yehster
Joined: 16 May 2008 Posts: 12
|
Posted: Sun Sep 13, 2009 12:59 pm Post subject: KeyPhrase Bug |
|
|
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 |
|
 |
pretty sad.. Guest
|
Posted: Sun Oct 11, 2009 10:17 am Post subject: i want to make onscreen keyboard too |
|
|
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
|
Posted: Thu Oct 22, 2009 9:57 am Post subject: |
|
|
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 |
|
 |
mkny
Joined: 28 Sep 2006 Posts: 38
|
Posted: Sat Feb 06, 2010 10:49 pm Post subject: split keyboard layout |
|
|
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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|