Search found 80 matches

by Noo0B
30 Apr 2020, 19:20
Forum: Ask For Help
Topic: How do I make timers run consecutively? Topic is solved
Replies: 5
Views: 364

Re: How do I make timers run consecutively? Topic is solved

Hi, Really impressive coding, I couldn't come up with anything like it myself. I'm scratching my head here to understand what you did. I think it's my lack of understanding how timers work and call functions that prevended me from figuring out how this works. Anyways, it works perfect as long the ch...
by Noo0B
29 Apr 2020, 22:53
Forum: Ask For Help
Topic: How do I make timers run consecutively? Topic is solved
Replies: 5
Views: 364

Re: How do I make timers run consecutively? Topic is solved

If I write it like this it runs the first loop iteration correctly but that's all, the timers never go into effect to reset the timer variable: #SingleInstance, force timer1:= 0 timer2:= 0 timer3:= 0 timer4:= 0 timer5:= 0 timer6:= 0 timer7:= 0 latency1:= 1500 latency2:= 2000 latency3:= 2500 latency4...
by Noo0B
29 Apr 2020, 22:20
Forum: Ask For Help
Topic: How do I make timers run consecutively? Topic is solved
Replies: 5
Views: 364

Re: How do I make timers run consecutively? Topic is solved

I used this and now they run nonstop without respecting the timers: #SingleInstance, force timer1:= 0 timer2:= 0 timer3:= 0 timer4:= 0 timer5:= 0 timer6:= 0 timer7:= 0 latency1:= 1500 latency2:= 2000 latency3:= 2500 latency4:= 3000 latency5:= 3500 latency6:= 4000 latency7:= 4500 F1:: gui, add, check...
by Noo0B
29 Apr 2020, 22:12
Forum: Ask For Help
Topic: How do I make timers run consecutively? Topic is solved
Replies: 5
Views: 364

How do I make timers run consecutively? Topic is solved

Hi, I'm trying to write a code that execute several subroutines, with each on a timer to repeat itself. The best I could come up with is a code that waits for the previous timer to end in order to continue with the next timer, in a cascade effect. It doesn't run all the subroutines independently. He...
by Noo0B
12 Apr 2020, 01:24
Forum: Gaming
Topic: Path of Exile Script help - Expert needed
Replies: 0
Views: 444

Path of Exile Script help - Expert needed

Hi, I have this script but now it fails to add cooldown timers to multiple autocast buffs. It works well for a single buff, but when I try to add extra spells it wont cast them again. Here's how to configure the script, it's a bit complicated: Ctrl & f10 = Reload Ctrl & f11 = Pause Ctrl & f12 = Exit...
by Noo0B
27 Mar 2020, 22:19
Forum: Ask For Help
Topic: Checkbox text disappeared, how do I use -wrap?
Replies: 1
Views: 172

Re: Checkbox text disappeared, how do I use -wrap?

I've found what's wrong with the code
Gui, Add, Checkbox, % "x10 y130 h13 vType2MoveToggleHotkey" Hk " Checked" Type2MoveToggleHotkey%Hk%, Move mouse
Removing w13 lets the text be displayed.
Thanks again,
Regards!
by Noo0B
27 Mar 2020, 21:23
Forum: Ask For Help
Topic: Checkbox text disappeared, how do I use -wrap?
Replies: 1
Views: 172

Checkbox text disappeared, how do I use -wrap?

hi, I came back to my script after a while and found that the checkbox texts were not displaying anymore. I checked the help section and found that it's a desktop theme issue, and it recommended using -wrap at the options. However, it had no effect. Since I'm a bit rusty with AHK, I decided that ask...
by Noo0B
22 Oct 2018, 10:05
Forum: Ask For Help
Topic: Spiral drawing script how to make it run from current mouse coordinates?
Replies: 7
Views: 1300

Re: Spiral drawing script how to make it run from current mouse coordinates?

Hi, You may want to try this: #SingleInstance Force CoordMode, Mouse SetFormat, Float, 0.7 $Pi := 4 * ATan(1) Radius:= 20 Sides:= 3 CenterOffset:= 3 ; Swapping sin to cos and vice versa below toggles the Offset vertical to horizontal and the rotation direction. If negative values are used here here ...
by Noo0B
19 Oct 2018, 23:34
Forum: Scripts and Functions
Topic: Temptive moving perimeter scan
Replies: 0
Views: 548

Temptive moving perimeter scan

Hi, I'm pretty sure there's better ways to achieve the same goal; I tried breadcrumbrling with the perimeter color and it worked weomewhat well, but if anyone would like to try and expand on this, and maybe correct where I went wrong I'd appreciate. It freezes at around 359 degrees, and increasingly...
by Noo0B
19 Oct 2018, 11:20
Forum: Ask For Help
Topic: Monitor sysget breaks code that works with ghost variables? Topic is solved
Replies: 2
Views: 479

Re: Monitor sysget breaks code that works with ghost variables? Topic is solved

Thanks for the answer! I have used these variables without quotes all the time on all my other scripts. Somehow in this script It took some time to get it going with the quotes and it worked for about a month with them, and now testing it works without them like all other scripts again. I wonder if ...
by Noo0B
19 Oct 2018, 05:50
Forum: Ask For Help
Topic: Monitor sysget breaks code that works with ghost variables? Topic is solved
Replies: 2
Views: 479

Monitor sysget breaks code that works with ghost variables? Topic is solved

Hi, I had this script working perfectly, but today I noticed I could have deleted this code: SysGet, Monitor2, Monitor, 2 I tried adding it again, but it started breaking the script. So I changed it to Mon2 for the output variable, and noticed the part of the script still using Monitor2 would work, ...
by Noo0B
04 Sep 2018, 02:44
Forum: Ask For Help
Topic: Variable value disappears Topic is solved
Replies: 7
Views: 1175

Re: Variable value disappears Topic is solved

I suppose AHK reads all the code first and uses values for the first gui at the second gui part of the sub, and "if" is only for execute. Not really sure what this means, but doesn't sound accurate. Obviously variables can be changed during runtime and AHK will use the up-to-date variable contents ...
by Noo0B
03 Sep 2018, 05:03
Forum: Ask For Help
Topic: Variable value disappears Topic is solved
Replies: 7
Views: 1175

Re: Variable value disappears Topic is solved

Yeah that was what I was using all the time but somehow it stopped working for me, you may want to see my last post to get an idea what began to happen. I used quotes both on the variables and ifs to get it going. I'll try to get bck on it later. I realized the script was derailing because of someth...
by Noo0B
03 Sep 2018, 02:25
Forum: Ask For Help
Topic: Variable value disappears Topic is solved
Replies: 7
Views: 1175

Re: Variable value disappears Topic is solved

Hi, many thanks for your reply and sorry for the poorly expanded post. There's no %Swap1%. but "Swap1-2" and "Swap2-2". I understand now that the "_" instead of "-" would have been a better choice on the moment I decided to try that approach. So only my f2 example is valid, which is pretty much how ...
by Noo0B
30 Aug 2018, 19:46
Forum: Ask For Help
Topic: Variable value disappears Topic is solved
Replies: 7
Views: 1175

Variable value disappears Topic is solved

Hello everyone, Thanks for reading. This code does not seem to work, and I'm just starting to troubleshoot my gui variable forking: f1:: Swap:=Swap1-2 ;Swap:=Swap2-2 Swap1Tab:=2 Swap2Tab:=2 If (Swap=Swap1-2 AND Swap1Tab=2 OR Swap=Swap2-2 AND Swap2Tab=2) MsgBox, % "Swap is: " Swap ", Swap1Tab is: " S...
by Noo0B
27 Aug 2018, 05:05
Forum: Ask For Help
Topic: Different behavior from IniRead to in-script values
Replies: 4
Views: 702

Re: Different behavior from IniRead to in-script values

I guess there must be a difference between an active script variable and a value loaded from the file.
The variable probably derefs at activation.
by Noo0B
26 Aug 2018, 04:48
Forum: Ask For Help
Topic: Different behavior from IniRead to in-script values
Replies: 4
Views: 702

Re: Different behavior from IniRead to in-script values

Thanks for the reply. That's what the message box shows. `% shouldn´t be the case, since it's the same literal string on both Msgbox codes. Changing %FrameTime% to FrameTime on the .ini file then so made no difference. I also changed the In-script values Msgbox code to add an extra deref, but it sti...
by Noo0B
23 Aug 2018, 01:04
Forum: Ask For Help
Topic: Help with math please
Replies: 9
Views: 1747

Re: Help with math please

Sorry but I need the math, by using only the MouseMove command, AHK calculates the coordinates by itself, thus I can't accept this as accepted answer, sorry ;) I was wondering, if in case you need math help, StackOverflow or so might be a better bet for you. Either way, you will need to formulate b...
by Noo0B
22 Aug 2018, 07:28
Forum: Ask For Help
Topic: Help with math please
Replies: 9
Views: 1747

Re: Help with math please

Maybe this will give a more homogeneous spread: #SingleInstance, Force CoordMode, Mouse SetFormat, Float, 0.6 SetDefaultMouseSpeed, 0 ExplosionSpeed:= 2 Esc:: ExitApp F1:: Loop { Mousemove, A_ScreenWidth/2, A_ScreenHeight/2 Random, SpreadX, -1.00000, 1.00000 Random, SpreadY, -1.00000, 1.00000 Mousem...

Go to advanced search