Search found 16 matches

by Maped
05 Oct 2018, 21:12
Forum: Ask For Help
Topic: Auto backup (no overwrites)
Replies: 2
Views: 95

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
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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
02 Aug 2018, 17:03
Forum: Gaming
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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

Well.. It does not beep at all. :<
by Maped
27 Jul 2018, 11:47
Forum: Ask For Help
Topic: please check my script
Replies: 0
Views: 172

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
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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
Topic: start timer, send beep but reset the timer if i press key
Replies: 9
Views: 539

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
Topic: Spam button after 100 ms delay?
Replies: 2
Views: 326

Re: Spam button after 100 ms delay?

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

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
Topic: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved
Replies: 8
Views: 368

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
by Maped
09 Jul 2018, 07:20
Forum: Gaming
Topic: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved
Replies: 8
Views: 368

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

Does this randomize time delay between 25 and 50?: random, time, 25, 50 sleep, time It shows me that there is a random response 0,03 or 0,05. How to check how long is the delay? 015: While,GetKeyState("LButton","P") 021: Return (0.73) 015: While,GetKeyState("LButton","P") 017: Send,{Blind}l (0.01) 0...
by Maped
09 Jul 2018, 06:59
Forum: Gaming
Topic: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved
Replies: 8
Views: 368

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

Thank you! :> Im surprised that Space was the issue. Now it works almost as good as I wanted. (proud me) The last script works great but it does not spam. I do not need it but it would be nice to know how to do it. "~" made a huge difference. Why sleep for 100ms? I have noticed that in many scripts ...
by Maped
08 Jul 2018, 16:15
Forum: Gaming
Topic: Trying to get keystrokes and simultaneous mouse actions on different circumstances... to no avail. Topic is solved
Replies: 8
Views: 368

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

Hello everyone. I spent whole day studying AHK and I cannot find solution for my problem. This is what I'm trying to do: - press left mouse button (LMB click) to start an action and also send a keystroke {L} but.. when i hold LMB I would like it to keep it that way for as long as I am pressing LMB, ...

Go to advanced search