| Author |
Message |
Topic: how to make things simple look complicated? |
Slanter
Replies: 8
Views: 676
|
Forum: Ask for Help Posted: Sun Nov 01, 2009 7:29 pm Subject: how to make things simple look complicated? |
| RegEx likely won't work for the purposes of math functions, it's meant for advanced string matching and replacing. |
Topic: Crash when commands sent through AHK, not when manual |
Slanter
Replies: 5
Views: 477
|
Forum: Ask for Help Posted: Sun Nov 01, 2009 12:45 am Subject: Crash when commands sent through AHK, not when manual |
| It may not be targeting programs like AHK directly, but it is possible that there is an anti-cheat mechanism in the game. By what you described this seems like a problem with the game itself or your s ... |
Topic: What is the symbol for the space bar? |
Slanter
Replies: 2
Views: 3083
|
Forum: Ask for Help Posted: Wed Apr 22, 2009 10:49 pm Subject: Re: What is the symbol for the space bar? |
| Is there a list of the symbols for certains keys somwehereYes... yes there is [url=http://www.autohotkey.com/docs/KeyList.htm]List of Keys, Mouse Buttons, and Joystick Controls |
Topic: [solved]Check if variable contains letters/numbers etc.. |
Slanter
Replies: 12
Views: 869
|
Forum: Ask for Help Posted: Tue Apr 21, 2009 5:12 am Subject: [solved]Check if variable contains letters/numbers etc.. |
MyVar = 123abc
If MyVar is not digit
MsgBox MyVar contains something other than the numbers 0-9!
; Or
MyVar2 = 123456
If MyVar2 is digit
MsgBox MyVar2 contains only the numbers 0-9! |
Topic: Updating of script |
Slanter
Replies: 1
Views: 306
|
Forum: Ask for Help Posted: Fri Apr 17, 2009 3:11 am Subject: Updating of script |
#includes are automatically included in the coding of the compiled script. Updating the external ahk files will not have any effect on the compiled script.
ex. ; AHK1.ahk
#Include AHK2.ahk
MsgBox ... |
Topic: Looping Issue |
Slanter
Replies: 7
Views: 643
|
Forum: Ask for Help Posted: Fri Apr 17, 2009 3:07 am Subject: Looping Issue |
| The code I posted does end with the second press of the hotkey... did you try my example? |
Topic: Invalid Hotkey |
Slanter
Replies: 6
Views: 1088
|
Forum: Ask for Help Posted: Wed Apr 15, 2009 7:46 pm Subject: Invalid Hotkey |
You should be using a hotstring, not a hotkey.
:B0:www:: ; B0 is an option that prevents deletion of the string
; Do Something
Return |
Topic: Looping Issue |
Slanter
Replies: 7
Views: 643
|
Forum: Ask for Help Posted: Wed Apr 15, 2009 7:30 pm Subject: Looping Issue |
I think it may be much simpler to change the basic way it works.#MaxThreadsPerHotkey 2
#z::
LoopZ := !LoopZ
If (LoopZ) {
While (LoopZ) {
... |
Topic: Clarification on functions or subroutines |
Slanter
Replies: 4
Views: 748
|
Forum: Ask for Help Posted: Tue Apr 14, 2009 8:41 pm Subject: Clarification on functions or subroutines |
| For 1 you are correct. Subroutines declared outside of functions may be called from anywhere in the script. For 5 I don't believe that A_ variable currently exists, your workaround or a similar one is ... |
Topic: Anyone here use RegShot? |
Slanter
Replies: 22
Views: 8264
|
Forum: Utilities & Resources Posted: Mon Apr 13, 2009 9:04 pm Subject: Anyone here use RegShot? |
It shouldn't be too difficult to do with AHK, here's a rather basic one that seems to get the job done SetBatchLines, -1
Roots = HKLM|HKU|HKCU|HKCR|HKCC
Reg := A_Now
Loop, Parse, Roots, |
... |
Topic: need help first binding |
Slanter
Replies: 6
Views: 649
|
Forum: Ask for Help Posted: Mon Apr 13, 2009 8:52 pm Subject: need help first binding |
That will continue to execute until you let go of the middle mouse button. If that's what you're looking for, it can be condensed into this:
MButton::
While (GetKeyState("MBu ... |
Topic: Clarification on functions or subroutines |
Slanter
Replies: 4
Views: 748
|
Forum: Ask for Help Posted: Mon Apr 13, 2009 8:48 pm Subject: Clarification on functions or subroutines |
1) I believe this example may help
func1() {
a = 1
GoSub, add
MsgBox % a
add:
a++
Return
}
func2() {
a = 1
GoSub, add ; Fai ... |
Topic: not always on top |
Slanter
Replies: 2
Views: 351
|
Forum: Ask for Help Posted: Mon Apr 13, 2009 8:22 pm Subject: not always on top |
| How to set a GUI to be " Always @ Bottom " ?posted by SKAN |
Topic: need help first binding |
Slanter
Replies: 6
Views: 649
|
Forum: Ask for Help Posted: Mon Apr 13, 2009 8:19 pm Subject: need help first binding |
Everything you need to know can probably be found in these three sections of the manual...
|
Topic: Autohotkey to do global google search |
Slanter
Replies: 7
Views: 1835
|
Forum: Ask for Help Posted: Fri Apr 10, 2009 8:10 am Subject: Autohotkey to do global google search |
Something like this would probably work
#g::
ClipTemp := Clipboard
Send ^c
Run, http://www.google.com/search?q=%Clipboard%
Clipboard := ClipTemp
return |
| |