Search found 2854 matches

by Exaskryz
15 May 2018, 16:44
Forum: Ask For Help
Topic: Can someone assist with this Loop statement?
Replies: 9
Views: 98

Re: Can someone assist with this Loop statement?

If WinExist vs IfWinExist.

You had it right in your "Else" statement.
by Exaskryz
14 May 2018, 08:14
Forum: Ask For Help
Topic: Really new to this, need help with macro
Replies: 2
Views: 65

Re: Really new to this, need help with macro

Ooh, I noticed that the Ctrl+Volume_Up hotkey ^Volume_Up:: does *not* work on my system as is. When I press the Ctrl key, it defaults to using the normal F1-F12 key functions. Take my keyboard as an example. F5 refreshes webpages, but I need to press Fn+F5 to get the F5 behavior. Otherwise, it does ...
by Exaskryz
10 May 2018, 07:37
Forum: Ask For Help
Topic: Repeating Hotkey for Twitch ads in X-split
Replies: 1
Views: 49

Re: Repeating Hotkey for Twitch ads in X-split

I assume you understand and intend for ! to be the Alt key. What you need is to tell AHK you want to press the Numpad5 key instead of typing out N u m p a d 5. Use Send, !{Numpad5}

Also, do not include the ExitApp inside the loop. Or else your script will close after the first time you do the loop.
by Exaskryz
08 May 2018, 19:46
Forum: Ask For Help
Topic: if statement just isn't having any of it
Replies: 3
Views: 53

Re: if statement just isn't having any of it

I think the i ++ should be without a space, so i++. However, without having access to your Array nor what current_xp is, it's hard to diagnose an issue. And what is it you expect each variables value to be at the end of your process?
by Exaskryz
08 May 2018, 08:55
Forum: Ask For Help
Topic: WASD key combo to numpad movement? Topic is solved
Replies: 5
Views: 101

Re: WASD key combo to numpad movement? Topic is solved

I may be shortsighted, and this issue has come up before on the forums (check out the gaming section), but try something like this: w::Up ; Numpad8? a::Left ; Numpad4? ~w & a::Numpad7 ~a & w::Numpad7 ; starts a comment on the line. This uses the ~ modifier to permit the native action of w an...
by Exaskryz
04 May 2018, 20:54
Forum: Ask For Help
Topic: Really new to this, need help with macro
Replies: 2
Views: 65

Re: Really new to this, need help with macro

Fn key is difficult to use, because often not even Windows can see it, only the system BIOS. See https://autohotkey.com/docs/KeyList.htm#SpecialKeys See https://autohotkey.com/docs/Hotkeys.htm#combo for how to do a custom combination of keys. You may be interested in doing just Ctrl+Volume Up/down, ...
by Exaskryz
28 Apr 2018, 00:27
Forum: Ask For Help
Topic: to press the keys at regular intervals.
Replies: 4
Views: 62

Re: to press the keys at regular intervals.

SetTimer can avoid the waiting for return to complete. Alternatively, use an If statement (plus else s) with A_ Index and the Mod () function. Example to alternate between 1 and 2 but turn it off after either of them: ~$XButton2:: $stop := 0 Loop { If (Mod(A_Index,2)=1) { SendInput, 1 Sleep, % ran(1...
by Exaskryz
27 Apr 2018, 09:34
Forum: Ask For Help
Topic: to press the keys at regular intervals.
Replies: 4
Views: 62

Re: to press the keys at regular intervals.

Something akin to this: Loop { SendInput 1 Sleep 10000 SendInput 2 Sleep 10000 ... SendInput 4 Sleep 20000 Sleep 5 } So take the code you have now, and really change the sleep, % ran(18, 100) to sleep % ran(9000, 11000) or just straight sleep 10000 if you'd like. Otherwise, you can e...
by Exaskryz
26 Apr 2018, 02:33
Forum: Ask For Help
Topic: Does this software have a version of the mobile phone? Topic is solved
Replies: 7
Views: 162

Re: Does this software have a version of the mobile phone? Topic is solved

I use "Automate" on Android as a free app. You can purchase a super-powerful app called Tasker for $2.99 last I knew. Tasker has been around for years, and with the revenue they've generated from app sales, I'd expect they're up to date and making the most of any android OS version.
by Exaskryz
23 Apr 2018, 15:55
Forum: Ask For Help
Topic: Auto type a sentence after a code word is typed?
Replies: 9
Views: 100

Re: Auto type a sentence after a code word is typed?

It should work to do just ::ates::/uns seat , but you may want to use :*:ates:: so that you don't need a space or period afterward, your preference. Why it won't work in a game is probably because your game is running with administrator privileges. Grant AHK admin privileges too. Also see https://au...
by Exaskryz
22 Apr 2018, 11:04
Forum: Ask For Help
Topic: Getting a key to hold down when pressed twice?
Replies: 2
Views: 56

Re: Getting a key to hold down when pressed twice?

The built-in variables you want to use are A_ PriorKey and A_ TimeSincePriorHotkey . You also want the $ modifier to prevent recursion. Create an If statement that compares PriorKey to being the same as your target key, and also that it was pressed twice in quick enough succession by using an inequa...
by Exaskryz
21 Apr 2018, 22:43
Forum: Ask For Help
Topic: Need help with keystroke script
Replies: 1
Views: 50

Re: Need help with keystroke script

The tutorial should cover this. But you can also check out (Note: The first link is from the old forums, the second link is on these forums) http://www.autohotkey.com/board/topic/6 ... re-thread/ or https://autohotkey.com/boards/viewtopic.php?f=7&t=11952
by Exaskryz
21 Apr 2018, 22:42
Forum: Ask For Help
Topic: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved
Replies: 7
Views: 133

Re: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved

What happens if you just use if ( len + ( Strlen(Arr[a_index] " ")) <= cpl_sixty) { ? I haven't run the code, but notice how we didn't use %len% in there -- When you wrap the If expression in parentheses, every word put in there are treated as the names of variables...
by Exaskryz
20 Apr 2018, 12:07
Forum: Ask For Help
Topic: input a word and replace it's letters as output
Replies: 11
Views: 436

Re: input a word and replace it's letters as output

You could change the word list so the left column isn't just letters. Then you just need to change Loop, Parse, TestString under the Find: label to use the delimiters you like (probably a space; I'd denote it as Loop, Parse, TestString, %A_Space% myself. I have not run Night's code, and of course no...
by Exaskryz
16 Apr 2018, 07:35
Forum: Ask For Help
Topic: how to replicate alt+numpad with ahk?
Replies: 3
Views: 80

Re: how to replicate alt+numpad with ahk?

I might try something like this, where we make LAlt the hotkey so then AHK starts watching for inputs. LAlt:: var:="", sequence:="" ; make sure var and sequence are empty, for any subsequent use of this hotkey While GetKeyState("LAlt","P") { Input, var, L1 T1 ...
by Exaskryz
06 Apr 2018, 09:14
Forum: Ask For Help
Topic: a quick question Topic is solved
Replies: 1
Views: 37

Re: a quick question Topic is solved

(Note: The first link is from the old forums, the second link is on these forums) http://www.autohotkey.com/board/topic/6 ... re-thread/ or https://autohotkey.com/boards/viewtopic.php?f=7&t=11952

Great examples you can use as a template. Customize as you need.
by Exaskryz
31 Mar 2018, 09:46
Forum: Ask For Help
Topic: check digit for a 11 digit number
Replies: 4
Views: 103

Re: check digit for a 11 digit number

There are multiple ways to create a check digit. Are you saying that you can add on a twelfth digit? Some algorithms are just sum all 11 digits up and take the last digit (doing Modulus 10) I wouldn't even use AHK on this necessarily. While this is cumbersome, in your B column (assuming the 500,000 ...
by Exaskryz
28 Mar 2018, 07:07
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 400
Views: 66716

Re: Suggestions on documentation improvements

Generally not; I don't use IE. I'd guess it's IE 9? Could be 10. I just checked, I'm actually on 11 -- had no idea it went up that high. Once any browser is loaded into RAM and has done all its prep, navigating to the help page works just fine. I haven't experienced any issues in particular when usi...
by Exaskryz
28 Mar 2018, 05:49
Forum: Ask For Help
Topic: The question is not on topic Topic is solved
Replies: 7
Views: 222

Re: The question is not on topic Topic is solved

So it sounds like you need to find the angle between 5,10 and 20,20. Then you need to translate that geometric angle into the in-game camera angle -- this part we'd need details on. There are two different angles you may be working with. It depends on where the origin is. In Autohotkey using ImageSe...

Go to advanced search