| View previous topic :: View next topic |
| Author |
Message |
azure
Joined: 07 Jun 2007 Posts: 694
|
Posted: Sat Jul 07, 2007 6:02 am Post subject: prevent char stress |
|
|
hello
1)
in greek when you click the shift+; nothing happens but in the next char you ll type it will stress it like this: ι -> ϊ
how can I make shift+; to type : in greek as it does in english?
2)
and generally, how do I represent the click of a key that does nothing but it stresses the next character?
3)
how do I make hotkeys specific for a "keyboard input" ?
thanks |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 694
|
Posted: Sun Jul 08, 2007 1:46 pm Post subject: |
|
|
 |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Nov 22, 2007 4:40 pm Post subject: |
|
|
mipws brikes kata tuxi lusi s auto to problima?? me paideuei edw kai xronia!! emena stin arxi de mou bgaze pou8ena tono ektos apo ena programma, to winedt (gia latex) ..alla twra de mou bgazei oute ekei..diladi exei tin idia sumperifora me ti dikia sou periptwsi..mia bgazei mia de bgazei..
thanks
sotiris |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Thu Nov 22, 2007 4:57 pm Post subject: |
|
|
Haven't you tried remapping?
_________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
iason
Joined: 01 Nov 2005 Posts: 135
|
Posted: Thu Nov 22, 2007 5:55 pm Post subject: |
|
|
| Quote: | | how can I make shift+; to type : in greek as it does in english? | You have it already: Shift+Q. Anyway you can remap as said above.
| Quote: | | 2) and generally, how do I represent the click of a key that does nothing but it stresses the next character? ... 3) how do I make hotkeys specific for a "keyboard input"? |
You can check the language in your scripts. Examples:
| Code: | WinGet, ActiveWinID, ID, A
tid_ActiveWinID := DllCall( "GetWindowThreadProcessId", "uint", ActiveWinID, "uint", 0 )
lang_id := DllCall( "GetKeyboardLayout", "uint", tid_ActiveWinID ) & 0xFFFF
if ( lang_id != 0x0408 ) ; english
PostMessage, 0x50, 0x1,,, A ; toggle to el
if ( lang_id != 0x0409 ) ; greek
PostMessage, 0x50, 0x1,,, A ; toggle to en
|
Hope it helps. Kali epityxia!  _________________ help to be helped |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Nov 24, 2007 9:49 pm Post subject: |
|
|
iason, have you by any chance come across the same problem as me and azure? not being able to type tonous every time? I m under the impression it must have to do with too many applications/ahk scripts running at the same time...after i had closed some applications and ahk scripts, everything was ok (and i m almost sure it's not the ahk scripts themselves that produce the problem in the first place!)
sorry for typing in greek before btw..
sotiris |
|
| Back to top |
|
 |
iason
Joined: 01 Nov 2005 Posts: 135
|
Posted: Mon Nov 26, 2007 12:56 pm Post subject: |
|
|
| Quote: | | iason, have you by any chance come across the same problem as me and azure? | Explicitly i would not call this a "problem", since this is the way the keys are supposed to function. So if you want it otherwise, refer to standards, and remap. AHK is perfect on that..
As to the third question, just detect the keybord state beforehand and then instruct your hotkeys to act in either case.
| Quote: | | after i had closed some applications and ahk scripts, everything was ok | This makes me suspect that you had conflicts in your script(s). AFAIK. _________________ help to be helped |
|
| Back to top |
|
 |
sfranky
Joined: 25 Nov 2007 Posts: 8
|
Posted: Mon Nov 26, 2007 1:11 pm Post subject: |
|
|
| I m sorry, my post wasn't clear..I skimmed through azure's post and wrongly assumed it was about the same problem as in one of his other posts, not being able to type in accents (tonous) *every single time* .. This is what my problem is, not the other three.. I can't type accents all the time.. |
|
| Back to top |
|
 |
iason
Joined: 01 Nov 2005 Posts: 135
|
Posted: Mon Nov 26, 2007 5:23 pm Post subject: |
|
|
Can't type accents? No 'iota me tonno', no 'omikron me tonno'? Probably this does not have to do with AHK... Are you you on windows with some sort of MUI or what? Strange...  _________________ help to be helped |
|
| Back to top |
|
 |
sfranky
Joined: 25 Nov 2007 Posts: 8
|
Posted: Tue Nov 27, 2007 1:20 pm Post subject: |
|
|
No, no mui..i have a theory, that too many ahk scripts overload the system and it is somehow unable to deliver the tonnos every single time..
if i close some of them the tonnos is pressed more frequently!!
One of my scripts has about 100 hotkeys and 50hotstrings..maybe that could burden the system?
 |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Tue Nov 27, 2007 5:01 pm Post subject: |
|
|
that should not be much of a burden at all. What is the CPU usage of each program that has issues? _________________
(Common Answers) |
|
| Back to top |
|
 |
iason
Joined: 01 Nov 2005 Posts: 135
|
Posted: Wed Nov 28, 2007 9:59 am Post subject: |
|
|
I would suggest that you check all those hotkeys that interfere with keyboard, i.e. have commands like Send, Sendraw etc.
I once had this type of problem with a hot key that had to do with Left-Click and i finally resolved playing with SetKeyDelay. _________________ help to be helped |
|
| Back to top |
|
 |
sfranky
Joined: 25 Nov 2007 Posts: 8
|
Posted: Tue Dec 04, 2007 11:18 am Post subject: |
|
|
thanks very much! It could be that, since I do have the lmb as a hotkey in different situations!
i will try it as soon as i can and post any results here.. thanks again!
sotiris |
|
| Back to top |
|
 |
sfranky
Joined: 25 Nov 2007 Posts: 8
|
Posted: Fri Dec 07, 2007 6:22 pm Post subject: |
|
|
| hmm i rechecked the script, tried commenting out various sections, and guess what: it doesn't really matter which part you comment out!! i tried commenting out block by block, and momentarily each time I thought I had found the culprit, but it turns out that no specific block is responsible for the accents not printing !!!! weird or what?! |
|
| Back to top |
|
 |
sfranky
Joined: 25 Nov 2007 Posts: 8
|
Posted: Sat Jan 05, 2008 10:28 pm Post subject: |
|
|
update!
this only happens when i have hotstrings in my scripts!!
(greek or english, doesn't matter)
Could this be a bug? |
|
| Back to top |
|
 |
|