| Author |
Message |
Topic: Script not running on Windows 7 |
YMP
Replies: 9
Views: 124
|
Forum: Ask for Help Posted: Sat Feb 04, 2012 12:48 pm Subject: Script not running on Windows 7 |
| It doesn't work for me either (Win7 HP), unless I comment out SendMode, Play. There seem to be some problems with this mode on Win7. |
Topic: Help mapping CTRL-c to COMMAND-c |
YMP
Replies: 2
Views: 335
|
Forum: Ask for Help Posted: Sat Jan 15, 2011 3:20 am Subject: Help mapping CTRL-c to COMMAND-c |
^c:: Send, #c
|
Topic: A bit of help about the Copy Command in AHK_L? |
YMP
Replies: 3
Views: 215
|
Forum: Ask for Help Posted: Thu Dec 02, 2010 6:53 am Subject: A bit of help about the Copy Command in AHK_L? |
| Because the name of the Ins key is the same for all input languages. While "character" keys change their names when you switch to another language. To work around this, you can also use virt ... |
Topic: A bit of help about the Copy Command in AHK_L? |
YMP
Replies: 3
Views: 215
|
Forum: Ask for Help Posted: Wed Dec 01, 2010 9:49 am Subject: A bit of help about the Copy Command in AHK_L? |
Try if this will work better:
Send, ^{Ins}
|
Topic: BinaryToString UTF-16 |
YMP
Replies: 2
Views: 327
|
Forum: Ask for Help Posted: Thu Nov 04, 2010 5:34 am Subject: BinaryToString UTF-16 |
What you need is HexToBin. This works on AHK Basic:
; ========= Example of usage ============
Src = 480065006C006C006F002C00200077006F0072006C0064002100
VarSetCapacity(Dest, StrLen(Sr ... |
Topic: Changing unicode characters to "ascii representatiosn&q |
YMP
Replies: 1
Views: 211
|
Forum: Ask for Help Posted: Sat Oct 30, 2010 4:29 pm Subject: Changing unicode characters to "ascii representatiosn&q |
| Use the Unicode build of AutoHotkey_L. Save the clipboard text to a string (it will be Unicode) and replace any character with what you want. Then save the string to a file in whatever encoding you li ... |
Topic: ControlClick fails to perform a double click in the Pos mode |
YMP
Replies: 18
Views: 6430
|
Forum: Wish List Posted: Fri Oct 29, 2010 7:50 am Subject: ControlClick fails to perform a double click in the Pos mode |
| Lexikos, what do you think about adding a double-click option to ControlClick? For example, "2" for two single clicks and "-2" for a double click? Sometimes people ask for it. |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 1:05 pm Subject: Double Click For ControlClick |
From your code:
ControlSend,,{Enter},ahk_class %WinID%)
The extra ')' at the end may be the cause of the failure, as it is appended to the class name. If not that, then I can only ... |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 12:52 pm Subject: Double Click For ControlClick |
| There may be several windows of the same class opened simultaneously, but each of them has a unique ID. On the other hand, IDs are temporary things — valid only for the time the window remains opened. ... |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 10:56 am Subject: Double Click For ControlClick |
I am pretty certain i get the right ID.
Then this should work:
ControlClick2(x, y, "ahk_id " WinID)
|
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 9:49 am Subject: Double Click For ControlClick |
Yes, you can place it at the end of the script, it will work. With Shift it will look like this:
+LButton::
If (A_ThisHotkey = A_PriorHotkey and A_TimeSincePriorHotkey < 300) ... |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 9:13 am Subject: Double Click For ControlClick |
Also how can i make the script use GetMousePos when a doublick is detected.
For example, this way:
~LButton::
If (A_ThisHotkey = A_PriorHotkey and A_TimeSincePriorHotkey < ... |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 7:04 am Subject: Double Click For ControlClick |
I don't think it needs modification. Here's the exact code that works for me in Notepad (double-clicking on a word highlights it):
; ================== Example of usage =================
F11: ... |
Topic: Double Click For ControlClick |
YMP
Replies: 17
Views: 675
|
Forum: Ask for Help Posted: Thu Oct 28, 2010 3:56 am Subject: Double Click For ControlClick |
| This was discussed (and a workaround found by Lexikos) here: [url=http://www.autohotkey.com/forum/topic16826.html]ControlClick fails to perform a double click in the Pos mode. |
Topic: Encoding/SendMessage only sending first str char? UNSOLVED |
YMP
Replies: 15
Views: 619
|
Forum: Ask for Help Posted: Wed Oct 27, 2010 4:41 pm Subject: Encoding/SendMessage only sending first str char? UNSOLVED |
Yes, now it looks fine.  |
| |