Search found 404 matches
- 13 May 2017, 04:23
- Forum: Ask for Help (v1)
- Topic: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
- Replies: 8
- Views: 3371
Re: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
The code works every time on my computer - are you sure you haven't added something in your own code that make it work differently? Any changes between this code and your code?
- 12 May 2017, 17:48
- Forum: Ask for Help (v1)
- Topic: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
- Replies: 8
- Views: 3371
Re: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
Here is one suggestion:
Code: Select all
f1::
If ifFirst()
MsgBox, First time you hit F1 button
Else
MsgBox, This is not the first time you hit F1 button
Return
ifFirst(){
Static onlyonce := 1
If onlyonce {
onlyonce := 0
Return 1
}
Else
Return 0
}
- 10 May 2017, 16:23
- Forum: Gaming Help (v1)
- Topic: Help me create my Macro script ( with STEPS and DIAGRAM)
- Replies: 6
- Views: 2075
Re: Help me create my Macro script ( with STEPS and DIAGRAM)
I ask the question bu image it and guess
Mostly the same questions mentioned above, but Inkscape does make a lot better arrows than ms paint
Mostly the same questions mentioned above, but Inkscape does make a lot better arrows than ms paint
- 05 May 2017, 18:31
- Forum: Gaming Help (v1)
- Topic: faulty script (Realm of the Mad God)
- Replies: 7
- Views: 2452
Re: faulty script (Realm of the Mad God)
Well, the logic about your script I cannot say anything about because I doesn't know the game. Here is my comments, hopefully some may help to identify the problem source. Loop / Process In my opinion it's bad practice to make an eternal loop like this because it will interact on other sub routines ...
- 03 May 2017, 10:24
- Forum: Ask for Help (v1)
- Topic: Chrome update, now winkill not working Topic is solved
- Replies: 18
- Views: 6604
Re: Chrome update, now winkill not working Topic is solved
Have had similar issues with one program, cannot remember its title.
I sollved mine by activate program window and closed the program by mouse click at exit-button at upper right corner. It's rude, but it works.
I sollved mine by activate program window and closed the program by mouse click at exit-button at upper right corner. It's rude, but it works.
- 02 May 2017, 15:37
- Forum: Scripts and Functions (v1)
- Topic: Random fully autoclicker
- Replies: 2
- Views: 1820
Re: Random fully autoclicker
Avoid using labels and functions with identical name.
- 02 May 2017, 15:35
- Forum: Gaming Help (v1)
- Topic: help meee
- Replies: 2
- Views: 1095
Re: help meee
Because I beleive that KeyWait cannot run/wait properly while another timer is alreadyy running.
I would consider using "SetTimer, Spam, OFF" along with Break in your loop to be sure it doesn't "misfire".
I would consider using "SetTimer, Spam, OFF" along with Break in your loop to be sure it doesn't "misfire".
- 02 May 2017, 15:26
- Forum: Ask for Help (v1)
- Topic: Returning to running program with WinActivate not working
- Replies: 1
- Views: 784
Re: Returning to running program with WinActivate not working
In your first script, you should use WinWaitActive. Unless you absolute trust your OS/disk is capable to fully load the program in a half of a second every time.
Canot help with your bottom code because the term "doesn't appear to work" doesn't explain the problem in an apropriate manner.
Canot help with your bottom code because the term "doesn't appear to work" doesn't explain the problem in an apropriate manner.
- 02 May 2017, 15:19
- Forum: Ask for Help (v1)
- Topic: Trying to combine 2 different ahk scripts....no luck yet
- Replies: 1
- Views: 792
Re: Trying to combine 2 different ahk scripts....no luck yet
The KeyGetState command in your first script is incorrect. Mode cannot be "LCtrl".
Also, I beleive that "LCtrl & ~LButton::" and "~$*LButton::" is conflicting each other, but haven't tested myself.
Also, I beleive that "LCtrl & ~LButton::" and "~$*LButton::" is conflicting each other, but haven't tested myself.
- 02 May 2017, 15:13
- Forum: Ask for Help (v1)
- Topic: Zero key stopped working
- Replies: 20
- Views: 6811
Re: Zero key stopped working
Well, I'm not sure if I really got to know your problem. Is it that your keyboard seems to malfunctions, or is it that some ahk files is deleted? Or is it that the script is running, but won't produce the expected outcome? On my keyboard Shift+0 out "=" because of language settings. Have you checked...
- 02 May 2017, 15:08
- Forum: Pulovers Macro Creator
- Topic: help with else line
- Replies: 1
- Views: 2043
Re: help with else line
It's hard to say because it's a mess. There is an If, but no belonging Else - or are the If/Else ment to be grouped, so there is one curly bracket too much? Also, the label "1" doesn't give any sense, espechially not when it's only statement within the If statement. Another problem (i think that is ...
- 02 May 2017, 14:52
- Forum: Ask for Help (v1)
- Topic: Do Not Work with Mouse Keyboard Function
- Replies: 2
- Views: 1004
Re: Do Not Work with Mouse Keyboard Function
That is because when Numlock is Off, the Numpad1 buttons turns into End button on a regular keyboard. I don't know if laptop keyboard is standarized anyhow.
- 02 May 2017, 14:50
- Forum: Gaming Help (v1)
- Topic: Almost there! Need some help creating 2 toggles :) Topic is solved
- Replies: 6
- Views: 2575
Re: Almost there! Need some help creating 2 toggles :) Topic is solved
Looks like you got help. Why asking specific for me?
- 27 Apr 2017, 15:44
- Forum: Ask for Help (v1)
- Topic: Using copy for a link that you cannot right click and 'copy'?
- Replies: 6
- Views: 1546
Re: Using copy for a link that you cannot right click and 'copy'?
If you're using Firefox (haven't tested this on other web browsers) you can jump around between links and other elements on a web site simply by pressing Tab. Then you'll get the normal right-click option using AppsKey. Maybee that works.
- 26 Apr 2017, 15:14
- Forum: Ask for Help (v1)
- Topic: PixelSearch help
- Replies: 1
- Views: 734
Re: PixelSearch help
It looks like a working script, but it will probably work too fast so yoy can't track the mouse pointer with your eyes as it mowes toward orange pixel, and almost imediately goes another direction toward the grey pixel. Furthermore you don't have considered what should happens if one or both color i...
- 25 Apr 2017, 14:42
- Forum: Ask for Help (v1)
- Topic: Chording with Mouse
- Replies: 1
- Views: 874
Re: Chording with Mouse
You need to tell more about your spechial mouse. I meet one in the woods this Easter wacation, and it wasn't afraid at all as it only concern seem to be to eat as much heather and grass as possible :mrgreen: No, I mean at leas you need to tell about the modell number and driver you have installed. M...
- 25 Apr 2017, 12:55
- Forum: Ask for Help (v1)
- Topic: Function hierarchy and if( ){}
- Replies: 2
- Views: 899
Re: Function hierarchy and if( ){}
This one: global titleString:= title ; my understanding is that this would pull from the global variable...? There isn't any variables here named "title". x:= x What are you suppose do do here? send, ^c My experience is that the "keypress" is too fast for some programs, that is the program cannot re...
- 24 Apr 2017, 14:29
- Forum: Ask for Help (v1)
- Topic: Zezenia highscores
- Replies: 5
- Views: 1587
Re: Zezenia highscores
Ok, you'll probably need some library that can use COM (IE only) to control and read web elements I guess.
- 23 Apr 2017, 18:27
- Forum: Ask for Help (v1)
- Topic: How can I make this script work?
- Replies: 2
- Views: 1009
Re: How to install standard library and make this script work?
Haven't used this specific library before, but I suggest you put the library in the same directory as the ahk file. Then see if it works.
- 23 Apr 2017, 18:24
- Forum: Ask for Help (v1)
- Topic: Can someone help me create this command Topic is solved
- Replies: 2
- Views: 1215
Re: Can someone help me create this command Topic is solved
I would use a timer for that, or keywait. What should happens if Space is pressed once more before that time is passed?