Search found 404 matches

by Almost_there
13 May 2017, 04:23
Forum: Ask For Help
Topic: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
Replies: 7
Views: 615

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?
by Almost_there
12 May 2017, 17:48
Forum: Ask For Help
Topic: A Key = 1st time; Action 1 / next time: Action 2 Topic is solved
Replies: 7
Views: 615

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
}
by Almost_there
10 May 2017, 16:23
Forum: Gaming
Topic: Help me create my Macro script ( with STEPS and DIAGRAM)
Replies: 6
Views: 520

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 :D
oMNMct8_inkscaped.png
oMNMct8_inkscaped.png (37.5 KiB) Viewed 495 times
by Almost_there
05 May 2017, 18:31
Forum: Gaming
Topic: faulty script (Realm of the Mad God)
Replies: 7
Views: 590

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 ...
by Almost_there
03 May 2017, 10:24
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 1691

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.
by Almost_there
02 May 2017, 15:37
Forum: Scripts and Functions
Topic: Random fully autoclicker
Replies: 2
Views: 528

Re: Random fully autoclicker

Avoid using labels and functions with identical name.
by Almost_there
02 May 2017, 15:35
Forum: Gaming
Topic: help meee
Replies: 2
Views: 268

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".
by Almost_there
02 May 2017, 15:26
Forum: Ask For Help
Topic: Returning to running program with WinActivate not working
Replies: 1
Views: 186

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.
by Almost_there
02 May 2017, 15:19
Forum: Ask For Help
Topic: Trying to combine 2 different ahk scripts....no luck yet
Replies: 1
Views: 192

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.
by Almost_there
02 May 2017, 15:13
Forum: Ask For Help
Topic: Zero key stopped working
Replies: 20
Views: 1189

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...
by Almost_there
02 May 2017, 15:08
Forum: Pulovers Macro Creator
Topic: help with else line
Replies: 1
Views: 724

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 ...
by Almost_there
02 May 2017, 14:52
Forum: Ask For Help
Topic: Do Not Work with Mouse Keyboard Function
Replies: 2
Views: 251

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.
by Almost_there
02 May 2017, 14:50
Forum: Gaming
Topic: Almost there! Need some help creating 2 toggles :) Topic is solved
Replies: 6
Views: 618

Re: Almost there! Need some help creating 2 toggles :) Topic is solved

Looks like you got help. Why asking specific for me?
by Almost_there
27 Apr 2017, 15:44
Forum: Ask For Help
Topic: Using copy for a link that you cannot right click and 'copy'?
Replies: 6
Views: 408

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.
by Almost_there
26 Apr 2017, 15:14
Forum: Ask For Help
Topic: PixelSearch help
Replies: 1
Views: 175

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...
by Almost_there
25 Apr 2017, 14:42
Forum: Ask For Help
Topic: Chording with Mouse
Replies: 1
Views: 179

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...
by Almost_there
25 Apr 2017, 12:55
Forum: Ask For Help
Topic: Function hierarchy and if( ){}
Replies: 2
Views: 241

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...
by Almost_there
24 Apr 2017, 14:29
Forum: Ask For Help
Topic: Zezenia highscores
Replies: 5
Views: 399

Re: Zezenia highscores

Ok, you'll probably need some library that can use COM (IE only) to control and read web elements I guess.
by Almost_there
23 Apr 2017, 18:27
Forum: Ask For Help
Topic: How can I make this script work?
Replies: 2
Views: 242

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.
by Almost_there
23 Apr 2017, 18:24
Forum: Ask For Help
Topic: Can someone help me create this command Topic is solved
Replies: 2
Views: 276

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?

Go to advanced search