Switch the order around. For example:
a & s = 83632
a & d & s = mlpphubji
You'll have to remember the correct order to press them in, but they shouldn't conflict.
Search found 557 matches
- 16 Apr 2018, 08:56
- Forum: Ask for Help (v1)
- Topic: What Limits >2 Key Combos?
- Replies: 19
- Views: 3899
- 16 Apr 2018, 08:36
- Forum: Ask for Help (v1)
- Topic: String to number Topic is solved
- Replies: 3
- Views: 635
Re: String to number Topic is solved
If you put MsgBox, %addebito% and MsgBox, %interessi% in your code, what do those messageboxes display?
- 13 Apr 2018, 12:02
- Forum: Ask for Help (v1)
- Topic: Hide all GUIs in one line
- Replies: 3
- Views: 1203
Re: Hide all GUIs in one line
If the guis have predictable names, you should be able do something like this:
Code: Select all
Loop, 20
GUI M%A_Index%:hide
- 13 Apr 2018, 11:58
- Forum: Ask for Help (v1)
- Topic: End characters do not get read after trigiring autotext Topic is solved
- Replies: 14
- Views: 1922
Re: End characters do not get read after trigiring autotext Topic is solved
Strange, this works fine for me when I try it. What if you add * to the options of the first hotkey, does that help?
- 12 Apr 2018, 13:36
- Forum: Gaming Help (v1)
- Topic: send input at program starts
- Replies: 37
- Views: 7058
Re: send input at program starts
Can you post the script you have so far?
- 12 Apr 2018, 08:10
- Forum: Ask for Help (v1)
- Topic: Creating Constants Within a Class? Topic is solved
- Replies: 3
- Views: 814
Re: Creating Constants Within a Class? Topic is solved
I mean an immutable number. In my specific use case, I need to store the decimal value of an RGBA value, so that instead of needing to remember 4294967295, I can just reference this.colorWhite, and the same with three other colors I use with that class.
- 11 Apr 2018, 15:29
- Forum: Ask for Help (v1)
- Topic: Creating Constants Within a Class? Topic is solved
- Replies: 3
- Views: 814
Creating Constants Within a Class? Topic is solved
So working with classes is still pretty new to me and I'm relatively inexperienced.
Is there a way to define a constant within a class, such that, for example, in any given instance of class Cube, this.NumberOfSides always equals 6?
Is there a way to define a constant within a class, such that, for example, in any given instance of class Cube, this.NumberOfSides always equals 6?
- 09 Apr 2018, 10:07
- Forum: Ask for Help (v1)
- Topic: variable not recognized in literal string Topic is solved
- Replies: 3
- Views: 1227
Re: variable not recognized in literal string Topic is solved
That won't work, either, since that line is in expression mode; Do this instead:
Code: Select all
"<span class='tooltip'>" . fronttext . "<span class='tooltiptext'>" . backtext . "</span></span>"
- 09 Apr 2018, 10:05
- Forum: Off-topic Discussion
- Topic: Codestyle: implicit and explicit concatenation
- Replies: 23
- Views: 7883
Re: Codestyle: implicit and explicit concatenation
I always use explicit concat for the same reason that I always use forced expression mode: It's much more clear what is going on if someone else reads my code. And if I haven't looked at a piece of code in three months, then I qualify as "someone else", too.
- 05 Apr 2018, 08:19
- Forum: Ask for Help (v1)
- Topic: Confusing associative arrays Topic is solved
- Replies: 7
- Views: 1543
Re: Confusing associative arrays Topic is solved
I think what confused me was the fact that sometimes it is needed to use "[]" and sometimes "%%" when creating arrays. These are two completely different things. If you use %% you are creating what are called pseudo-arrays. Pseudo-arrays aren't actually arrays at all; the variables in the pseudo-ar...
- 03 Apr 2018, 16:12
- Forum: Ask for Help (v1)
- Topic: Confusing associative arrays Topic is solved
- Replies: 7
- Views: 1543
Re: Confusing associative arrays Topic is solved
Just as an idea, you could create a two dimensional associative array. So for example, PictureArray[ButtonA][1] would be the name of the first ButtonA, and PictureArray[ButtonB][3] would be the third ButtonB. That should be relatively easy to add to on the fly. EDIT: It also has the advantage that y...
- 02 Apr 2018, 11:46
- Forum: Ask for Help (v1)
- Topic: Array Syntax Question Topic is solved
- Replies: 2
- Views: 617
Array Syntax Question Topic is solved
Suppose I have a two dimensional associative array like this: SubArray1 := {Alpha : 1 , Beta : 2 , Gamma : 3} SubArray2 := {Delta : 4 , Epsilon : 5 , Phi : 6} MyArray := {First : SubArray1 , Second : SubArray2} Are these two commands identical? MyVar := MyArray.First.Alpha MyVar := MyArray[First,Alp...
- 02 Apr 2018, 09:41
- Forum: Ask for Help (v1)
- Topic: Documentation Not Working? Topic is solved
- Replies: 3
- Views: 675
Re: Documentation Not Working? Topic is solved
Chrome. Weird. Will try clearing my cache, I suppose.
EDIT: Clearing cookies and cache worked. No idea what that bug was, but it's resolved now. XD
EDIT: Clearing cookies and cache worked. No idea what that bug was, but it's resolved now. XD
- 02 Apr 2018, 09:30
- Forum: Gaming Help (v1)
- Topic: Sending a key to an inactive game Topic is solved
- Replies: 2
- Views: 617
Re: Sending a key to an inactive game Topic is solved
Many games are written under the (typically quite logical) assumption that if their window is not focused, they will not be receiving keypresses; often games are written to ignore any keypresses received while the window isn't focused. Many games also pause whenever they lose focus. Because of this,...
- 02 Apr 2018, 09:26
- Forum: Ask for Help (v1)
- Topic: Help With Script Topic is solved
- Replies: 2
- Views: 605
Re: Help With Script Topic is solved
There is an extra "v" in the variable names under the ButtonOK label (i.e. it should just be %Asset% and %Description%).
- 02 Apr 2018, 09:21
- Forum: Ask for Help (v1)
- Topic: Documentation Not Working? Topic is solved
- Replies: 3
- Views: 675
Documentation Not Working? Topic is solved
Odd one here - when I try to go to the docs website, the address constantly flashes back and forth between https://autohotkey.com/docs/AutoHotkey.htm and https://autohotkey.com/docs/frame.htm#AutoHotkey.htm, the page keeps reloading, and it never finishes. Is it just me, or is there an issue with th...
- 02 Apr 2018, 08:55
- Forum: Ask for Help (v1)
- Topic: Two keys
- Replies: 3
- Views: 809
Re: Two keys
For that use case you don't need to use &. Just do ^+A:: and it should work fine.
- 30 Mar 2018, 15:59
- Forum: Ask for Help (v1)
- Topic: Leader Key+ sequence
- Replies: 3
- Views: 1945
Re: Leader Key+ sequence
Actually, there is a much better solution. EvilC wrote a piece of code specifically for triggering a function with a sequence of keys. His code, including an example, is reproduced below. You don't really need to know how it works entirely; just drop everything except the examples into an otherwise ...
- 30 Mar 2018, 15:33
- Forum: Ask for Help (v1)
- Topic: New mouse thumb buttons
- Replies: 2
- Views: 549
Re: Alt + left arrow/right arrow
Do you mean mapping left and right arrow on the keyboard? That's fairly easy. For example: !Right::Space If you mean mapping the new buttons on the mouse, that could be tricky. You might see if XButton1 or XButton2 work - with many mouses that is what the fourth or fifth buttons are recognized as. O...
- 27 Mar 2018, 09:48
- Forum: Ask for Help (v1)
- Topic: Script checks date and not open on two computers at the same time
- Replies: 10
- Views: 3367
Re: Script checks date and not open on two computers at the same time
You aren't going to have much luck with reasonably competent users, since basically anyone who knows what they are doing could decompile the script and remove your timer from it. DRM is hard, especially when you are talking about a program that was never designed to support it.