AutoHotkey Community

It is currently May 27th, 2012, 12:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: May 21st, 2009, 4:30 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
... that is, the receiving application has to be able to handle this kind of input. Many don't.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 13th, 2010, 12:11 pm 
Offline

Joined: September 13th, 2007, 8:59 pm
Posts: 23
Location: Haiti
shimanov wrote:
SendInput in Unicode mode is supported by Windows 2000 and XP. The SendInputU function has been tested with Notepad and Word 2003 on Windows XP.]

What about Vista? Scripts that worked well on my XP desktop fail on my Vista laptop.
Is it because the OS is different? Or because the keyboard is? (Sorry, I am pretty ignorant about dll calls.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 4:48 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
It works well with Vista and Windows 7, too. You only have to make sure that the script is in administrator mode if the receiving application is in that mode.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2011, 5:34 am 
Offline

Joined: May 19th, 2011, 2:24 pm
Posts: 21
Hi!
Great script, but it does not work with ALT, CTRL or SHIFT combination.
Now I try to describe what I need.
If I use notepad, when I push CTRL+F I will get search window.
If my keyboard is switched to cyrillic language then I also get this searh window if I push CTRL+F in Notepad.
But if I have this code i AHK
Code:
F11:: Send, ^F

then it does not work when keyboard is switched to cyrillic language.
And with your script it only writes me the letter "F"
What can I do?
Thank You!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2011, 10:03 am 
1) Starting using AutoHotkey_L, it supports unicode natively
2) You have the uppercase F which also implies that SHIFT is being pressed


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2011, 11:07 am 
Offline

Joined: May 19th, 2011, 2:24 pm
Posts: 21
1) I use AutoHotkey_L
2) I mean that program does not get CTRL+S, it gets CTRL+Ы if I switched to cyrillic language and therefore I need that script which encode to unicode on the fly.
But this script does not understand ALT+button, CTRL+button combinations


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2011, 11:15 am 
Can't you use
WinMenuSelectItem wrote:
Invokes a menu item from the menu bar of the specified window.
Source: http://www.autohotkey.com/docs/commands/WinMenuSelectItem.htm
or setup a dual hotkey, perhaps detecting the current language http://www.autohotkey.com/forum/post-491260.html#491260


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2011, 11:42 am 
Offline

Joined: May 19th, 2011, 2:24 pm
Posts: 21
Quote:
Invokes a menu item from the menu bar of the specified window.
Source: http://www.autohotkey.com/docs/commands ... ctItem.htm

This one I can not use because I am working in program that has shortcuts which cannot get from "file" or from "edit" like notepad.
I can use virtual key codes http://www.autohotkey.net/~goyyah/Tips-N-Tricks/InputKey/VK_NAMES.ini
But I have a lot of longs and complex combinations of shortcuts and it is not so comfortable for me.
I create new topic in "Ask for help section",
http://www.autohotkey.com/forum/viewtopic.php?t=80008
because I think that this problem will not be solved with this script.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Bon, bowen666, Yahoo [Bot] and 19 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