AutoHotkey Community

It is currently May 26th, 2012, 5:09 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject:
PostPosted: February 27th, 2009, 8:31 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
Here is a screenshot of it in action. I will make a new thread when I post it.
Image

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.
Image
There are some things I want to polish before I post it. It will be a while!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2009, 10:35 am 
Online
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Great! I'm willing to integrate the function and label list functionality into SciTE4AutoHotkey v2, if you want :)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2009, 12:08 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 21st, 2009, 6:17 pm 
Offline

Joined: May 16th, 2008, 8:09 pm
Posts: 12
I use a Motion LE1700 running Windows XP Tablet Edition. It's a slate with a Wacom Digitizer.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 13th, 2009, 3:15 am 
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>


Report this post
Top
  
Reply with quote  
 Post subject: KeyPhrase Bug
PostPosted: September 13th, 2009, 3:18 am 
Offline

Joined: May 16th, 2008, 8:09 pm
Posts: 12
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Great work!!
PostPosted: September 13th, 2009, 5:47 am 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
Great script!! This is absolutely wonderful.. even better that some of the commercial solutions..


Report this post
Top
 Profile  
Reply with quote  
 Post subject: KeyPhrase Bug
PostPosted: September 13th, 2009, 12:59 pm 
Offline

Joined: May 16th, 2008, 8:09 pm
Posts: 12
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
               }
            }


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 11th, 2009, 10:17 am 
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...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 22nd, 2009, 9:57 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
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?

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: split keyboard layout
PostPosted: February 6th, 2010, 10:49 pm 
Offline

Joined: September 28th, 2006, 5:33 pm
Posts: 58
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]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 31st, 2010, 8:14 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 1st, 2010, 5:31 pm 
Offline

Joined: September 28th, 2006, 5:33 pm
Posts: 58
Thanks for the reply. I'm looking forward to seeing what you come up with.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Am I missing someting?
PostPosted: June 7th, 2010, 2:52 am 
Offline

Joined: May 17th, 2010, 6:16 pm
Posts: 29
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 18th, 2010, 9:47 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
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...

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: sks, Yahoo [Bot] and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group