Search found 23 matches

by Maped
23 Feb 2021, 10:49
Forum: Ask for Help (v1)
Topic: Problem with rather complicated script that allows different actions based on timing, mouse position and software
Replies: 2
Views: 235

Re: Problem with rather complicated script that allows different actions based on timing, mouse position and software

Erm, is there a short version of your request (probably broken into separate projects) available? Just because of TL;DR :shifty: :shh: I tried making a segmented version. I tried to make it piece by piece but at the end it did not work because loops inside loops, hooks and other relations between s...
by Maped
23 Feb 2021, 08:51
Forum: Ask for Help (v1)
Topic: Problem with rather complicated script that allows different actions based on timing, mouse position and software
Replies: 2
Views: 235

Problem with rather complicated script that allows different actions based on timing, mouse position and software

I just spent half a day trying to write a script that would help me with automation of my work. I am a graphic designer and video editor working on a rather crappy computer. It requires a lot of unnecessary attention that could be done with a well made script. Lately u/Splongus helped me with one ch...
by Maped
23 Feb 2021, 00:12
Forum: Ask for Help (v1)
Topic: I need help with modifying a script to do action after mouse is not moving for a period of time.
Replies: 3
Views: 316

Re: I need help with modifying a script to do action after mouse is not moving for a period of time.

This has been solved by a Splongus on reddit . Here is the code: loop { if (WinActive("ahk_exe notepad++.exe")) { mousegetpos,x1,y1 isIdle := 1 loop 30 { ; 30 sec sleep,1000 if (!WinActive("ahk_exe notepad++.exe") || A_TimeIdleMouse < 1000) { ; if mouse moved or window inactive, reset isIdle := 0 br...
by Maped
22 Feb 2021, 07:26
Forum: Ask for Help (v1)
Topic: I need help with modifying a script to do action after mouse is not moving for a period of time.
Replies: 3
Views: 316

Re: I need help with modifying a script to do action after mouse is not moving for a period of time.

You referenced a AHK v1 script, but posted in the AHK v2 alpha section. Was that intended? Which AHK version are you using/planning to use? It would matter for the syntax of the extension you want. If not intended, we can move the topic to the regular 'Ask For Help' (v1) forum (or to the Gaming sub...
by Maped
22 Feb 2021, 00:06
Forum: Ask for Help (v1)
Topic: I need help with modifying a script to do action after mouse is not moving for a period of time.
Replies: 3
Views: 316

I need help with modifying a script to do action after mouse is not moving for a period of time.

Hello, I found a script - https://autohotkey.com/board/topic/149735-run-script-if-mouse-dosnt-move/ - that is doing almost exactly what I want: while count<30 { MouseGetPos,x1,y1 Sleep,1000 count++ MouseGetPos,x2,y2 If ((x1<>x2) or (y1<>y2)) ;checking to see if the mouse has moved. { ExitApp } } MyS...
by Maped
02 Jul 2020, 13:00
Forum: Ask for Help (v1)
Topic: Hello Lads! I need a correction on auto fluctuation script.
Replies: 0
Views: 618

Hello Lads! I need a correction on auto fluctuation script.

I would like to make a simple script for a vid soft to emulate a camera shake. For now I have Z and G assigned to horizontal movement but in the future I will probably also add E and C to the vertical one. Right now pressing Z and G gives me +/- 10 steps movement on Z axis. The script is working onl...
by Maped
13 Oct 2019, 08:04
Forum: Gaming Help (v1)
Topic: Warframe Autofire
Replies: 6
Views: 4418

Re: Warframe Autofire

Somehow this script does not work for me. I modified it to set a random time (for avoiding anticheat purposes) and probably I did something wrong. The script does not unsuspend after clicking XButton2 again. Please tell me what am I doing wrong. XButton2::pause, toggle ;https://www.autohotkey.com/bo...
by Maped
05 Oct 2018, 21:12
Forum: Ask for Help (v1)
Topic: Auto backup (no overwrites)
Replies: 2
Views: 448

Auto backup (no overwrites)

Hello, I need a script that would save a folder (with subfolders and files) to a directory every 10 minutes while naming these newly created folders same as the original with added date and time it was created by ahk. example: I have folder "A" ahk creates a copy of folder "A" to a specific location...
by Maped
07 Aug 2018, 06:04
Forum: Gaming Help (v1)
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 3827

Re: start timer, send beep but reset the timer if i press key

Hallo, I've given you everything you need. You should be able to implement the commands correctly yourself! Nope. I told clearly that I need to stop and reset that particular part of the WHOLE ahk script by pressing one button. If I could implement it just by suspending the script I would. Your sol...
by Maped
06 Aug 2018, 08:09
Forum: Gaming Help (v1)
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 3827

Re: start timer, send beep but reset the timer if i press key

Hallo, "Suspend" disables Hotkeys and Hotstrings. It does not stop Timers! Indeed but... As I posted earlier I already have a suspend in my script. I want to keep it as compact as possible so I don't want to have few scripts running in the same time. That's why I am asking for a function that would...
by Maped
03 Aug 2018, 14:20
Forum: Gaming Help (v1)
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 3827

Re: start timer, send beep but reset the timer if i press key

My bad. It didnt send any sound because I did mute system sounds at some point. :/
Your script works.

However... Is there any way for me to stop it? Even if I suspend the whole script it still sends beep. I would like it to stop and reset the timer after I press Home.
by Maped
27 Jul 2018, 11:47
Forum: Ask for Help (v1)
Topic: please check my script
Replies: 0
Views: 476

please check my script

I am posting this in general Ask For Help because no one is able to help me in Gaming subforum. WHAT I HAVE ~*Capslock:: { Process, Priority, , Realtime Sleep, 10000 SoundBeep 700, 40 } Return WHERE AM I GOING Something similar (it was sending "u" on ScrollLock - http://www.autohotkey.com/board/topi...
by Maped
26 Jul 2018, 10:53
Forum: Gaming Help (v1)
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 3827

Re: start timer, send beep but reset the timer if i press initial button again

Well I read a lot around the forums and I found something similar (it was sending "u" on ScrollLock - http://www.autohotkey.com/board/topic/78365-restart-loop-solved-thank-you-rtcvb32-and-gamax92/?p=497935 ): (for tests i put it in 5 sec loop. In the end it should be exactly 27 seconds without lag) ...
by Maped
25 Jul 2018, 19:12
Forum: Gaming Help (v1)
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 3827

start timer, send beep but reset the timer if i press key

I assume it would be easiest to use SetTimer but somehow this function does not work properly on my pc. There is always a lag even when the script is set to be performed in real time. :/ ~*Capslock:: { Process, Priority, , Realtime Sleep, 10000 SoundBeep 700, 40 } Return How can I "reset" this loop ...
by Maped
25 Jul 2018, 19:06
Forum: Gaming Help (v1)
Topic: Spam button after 100 ms delay?
Replies: 2
Views: 1746

Re: Spam button after 100 ms delay?

Thank you! :>
by Maped
11 Jul 2018, 16:21
Forum: Gaming Help (v1)
Topic: Spam button after 100 ms delay?
Replies: 2
Views: 1746

Spam button after 100 ms delay?

Hi! I made one code and I am almost happy with how it works: ~*LButton:: While GetKeyState("LButton","P") { Send {Blind}l random, time, 25, 50 sleep, time } Return I would like to add there LButton spam only if the LButton is pressed for a time longer than 100 ms. In the same time it should anyway s...
by Maped
09 Jul 2018, 13:41
Forum: Gaming Help (v1)
Topic: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved
Replies: 8
Views: 1583

Re: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved

Any suggestions on how to add click spam?

Code: Select all

~*LButton::
While GetKeyState("LButton","P")
{
	Send {Blind}l
	random, time, 25, 50
	sleep, time
}
Return

Go to advanced search