Search found 444 matches

by Nwb
21 Feb 2018, 05:24
Forum: Ask For Help
Topic: How do I set a hotkey combination to not affect individual hotkey?
Replies: 2
Views: 232

How do I set a hotkey combination to not affect individual hotkey?

Hey, so I want two hotkeys in my script. I want the hotkey (Rbutton & Lbutton) which does an action. And (Rbutton UP) which does another action. (Rbutton & Lbutton) is the hotkey for - holding right mouse button and pressing left mouse button. And (Rbutton UP) is the hotkey when right mouse button i...
by Nwb
21 Feb 2018, 05:14
Forum: Ask For Help
Topic: Fix my script (simple) Topic is solved
Replies: 18
Views: 646

Re: Fix my script (simple) Topic is solved

BoBo wrote:If (Mod(%Number%, 2) = 0) ; if even
vs
If (Mod(Number, 2) = 0) ; if even
Oh my god it works flawlessly! Thanks!

Also I don't need the return for If statements right? Or do I?
And what do I put in the image search for it to search the entire screen?
by Nwb
21 Feb 2018, 04:37
Forum: Ask For Help
Topic: Fix my script (simple) Topic is solved
Replies: 18
Views: 646

Re: Fix my script (simple) Topic is solved

So I need to put exitapp and return inside parenthesis? Gotcha. And yea I don't know how but I apparently confused coordinates to search within for - to retrieved coordinates of the image (variable name). Is using keywait mousenotches a good idea for the sensitivity part like I mentioned (I wanted t...
by Nwb
21 Feb 2018, 03:30
Forum: Ask For Help
Topic: Fix my script (simple) Topic is solved
Replies: 18
Views: 646

Re: Fix my script (simple) Topic is solved

I don't know how the number values etc work I just took a shot at the dark.
by Nwb
21 Feb 2018, 03:29
Forum: Ask For Help
Topic: Fix my script (simple) Topic is solved
Replies: 18
Views: 646

Re: Fix my script (simple) Topic is solved

The reason I put suspend on wheelup and wheeldown so that the hotkey won't trigger twice. Is that possible? I don't even know. Is there a better method?


Also can I make it so that wheelup and wheeldown hotkey lines will trigger only if I keep scrolling up or down for more than a second?
by Nwb
21 Feb 2018, 03:27
Forum: Ask For Help
Topic: Fix my script (simple) Topic is solved
Replies: 18
Views: 646

Fix my script (simple) Topic is solved

Heya can you help me fix my script please? Anything that you feel can be done better or is not done right. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new sc...
by Nwb
28 Dec 2017, 01:05
Forum: Gaming
Topic: How do I write this Topic is solved
Replies: 5
Views: 938

Re: How do I write this Topic is solved

That's perfect now I want the entire thing to loop for an hour. And F7 to also stop the block of script.
When it stops the timer should reset to 0 along with A.
by Nwb
28 Dec 2017, 00:50
Forum: Gaming
Topic: How do I write this Topic is solved
Replies: 5
Views: 938

Re: How do I write this Topic is solved

You may want make that F7 a hotkey (double colon)? But if you only want it controlled by the menu, I'd recommend not using a key name just to avoid that confusion. It's fine do use just an F7: label if you really want to. You'll need to make the Menu , Tray, Add, ___, etc. I would recommend using S...
by Nwb
27 Dec 2017, 23:47
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Re: Can't get settimer to work?

Okay can somebody help me just rewrite this block entirely? I'm not that good with ahk ;p
https://autohotkey.com/boards/viewtopic.php?f=5&t=42002
by Nwb
27 Dec 2017, 23:46
Forum: Gaming
Topic: How do I write this Topic is solved
Replies: 5
Views: 938

How do I write this Topic is solved

Can somebody help me write this script? I'm really confused and keep messing it up. Here is what I want to happen. F7:: Toggleplant: toggle3 := !toggle3 Starts the block of script ^ if toggle3 Menu, tray, Rename, Start Planting (F7), Stop Planting (F7) else Menu, tray, Rename, Stop Planting (F7), St...
by Nwb
27 Dec 2017, 23:12
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Re: Can't get settimer to work?

That is perfect but how do I stop the block of script from persisting?
by Nwb
27 Dec 2017, 09:26
Forum: Ask For Help
Topic: Messagebox does not appear.
Replies: 3
Views: 200

Re: Messagebox does not appear.

Send is not a command for a message box to appear, and that's why you did not get any message box to appear. Try this ^j:: Msgbox, My First Script Return Msgbox, "text" is the command for a basic message box. While Send is for input. So the computer thinks you are typing My First Script when you ran...
by Nwb
27 Dec 2017, 09:15
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Re: Can't get settimer to work?

Hmmm I do not know why but the script is not performing the first looping task? Here is what I expected to happen: The script performed so that ControlSend, ahk_parent, {Blind}{right down}, ahk_exe Growtopia.exe Sleep, %collectspeed% ControlSend, ahk_parent, {Blind}{right up}, ahk_exe Growtopia.exe ...
by Nwb
27 Dec 2017, 09:14
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Re: Can't get settimer to work?

But it does not obey toggle?
What do I change to make it check for toggle's value?
by Nwb
27 Dec 2017, 08:52
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Re: Can't get settimer to work?

Thanks a lot!
by Nwb
27 Dec 2017, 08:23
Forum: Ask For Help
Topic: Can't get settimer to work?
Replies: 7
Views: 393

Can't get settimer to work?

Hello can somebody assist me with this script? f7:: TogglePlant: toggle3 := !toggle3 if toggle3 Menu, tray, Rename, Start Planting (F7), Stop Planting (F7) else Menu, tray, Rename, Stop Planting (F7), Start Planting (F7) Loop { if not toggle3 break else Loop { settimer, planting, 2000 planting: brea...
by Nwb
16 Aug 2017, 06:29
Forum: Ask For Help
Topic: If any key is pressed. send "" Topic is solved
Replies: 12
Views: 1160

Re: If any key is pressed. send "" Topic is solved

looks like nothing seems to type out when var is above 10... Just the backtick ` and no array value.
by Nwb
15 Aug 2017, 09:33
Forum: Ask For Help
Topic: If any key is pressed. send "" Topic is solved
Replies: 12
Views: 1160

Re: If any key is pressed. send "" Topic is solved

What if I had to write some other text other than 1-9? so it's like ``1-``9 and ``b``p, ``! ``$?
by Nwb
15 Aug 2017, 05:38
Forum: Ask For Help
Topic: If any key is pressed. send "" Topic is solved
Replies: 12
Views: 1160

Re: If any key is pressed. send "" Topic is solved

I think I'll use the secound method. But I've come across a problem. backtick (`) seems to automatically open a textbox in my game. It's like {enter} so the game thinks I want to type text. However I also use wasd to move around. That means that when I'm trying to move, it would type out instead of ...
by Nwb
14 Aug 2017, 07:45
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 17007

Re: [POLL] Commissions sub-forum

+1 there's no reason why this shouldn't be allowed.

Go to advanced search