Search found 15 matches

by NewberEnerNeeder1
18 Jul 2019, 21:12
Forum: Scripts and Functions
Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Replies: 40
Views: 8278

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

[email protected] i also like that it uses fk so much haha okay so i got the basic to work and have no idea how to do much more. how do i obfuscate "Loop, Read, C:\Program Files (x86)\myfile\myfile.txt" "If A_loopreadline contains mykeyword" or at least "C:\Program Files (x86)\myfile\myfile.txt" "mykey...
by NewberEnerNeeder1
06 Jul 2019, 18:45
Forum: Ask For Help
Topic: FileRead help / quesitons
Replies: 5
Views: 259

Re: FileRead help / quesitons

thank you guys both ways work well i tried both i was a bit confused on how the first one worked and as i hit reply flyingdmon posted and it didnt let me reply. tried to reply anyway said it went through but didnt kind of odd i do understand the way flyingdmon has it set up ty. the part that confuse...
by NewberEnerNeeder1
06 Jul 2019, 18:29
Forum: Ask For Help
Topic: FileRead help / quesitons
Replies: 5
Views: 259

Re: FileRead help / quesitons

Here is a newbie way of doing it, someone with more experience can suggest a better way. Loop, Read, YourFile.txt { If A_loopreadline contains HELPTHENEWBIE { WordFound = 1 break ; no need to continue running it } } If (WordFound != "1") ExitApp Msgbox, The Word Was Found ; your script ExitApp than...
by NewberEnerNeeder1
06 Jul 2019, 15:37
Forum: Ask For Help
Topic: FileRead help / quesitons
Replies: 5
Views: 259

FileRead help / quesitons

hi,

trying to read a .txt file and if the file contains a word inside of it like "HELPTHENEWBIE" then the script will run and if it doesnt then the script will close.

i dont know if this is even possible.


Can anyone help with this?

Code: Select all


f1::
{
FileRead, OutputVar, C:\My File.txt





}
return


by NewberEnerNeeder1
10 Jun 2019, 17:55
Forum: Ask For Help
Topic: need help to save gui hotkeys after close for next re-open (script included)
Replies: 4
Views: 237

Re: need help to save gui hotkeys after close for next re-open (script included)

ty for the help. i tried the script and it did work! it saved the hotkey on the close. i tried to see if i can make a 2nd hotkey and got that to work. but then i tested it in a couple of ways. 1) it saved when i close it but then the 2nd time i close it... it goes back to default like no hotkey was ...
by NewberEnerNeeder1
10 Jun 2019, 10:57
Forum: Ask For Help
Topic: need help to save gui hotkeys after close for next re-open (script included)
Replies: 4
Views: 237

need help to save gui hotkeys after close for next re-open (script included)

After i set the hot key i would like it to save on close so it remembers for the next time i open it. can anyone help with this? #Persistent #SingleInstance Force #NoEnv Gui, New, Gui, Add, Hotkey,w300 gOneHotkey VHkey Gui, Show Return OneHotkey: HClear:=Hkey If (StateHKey="On") { HKeyOldest:=HClear...
by NewberEnerNeeder1
11 Apr 2019, 15:27
Forum: Ask For Help
Topic: A simple script for limiting clicks
Replies: 2
Views: 172

Re: A simple script for limiting clicks

Code: Select all

f1::
      loop 300
       {
          click 
          sleep 200
       }
return
by NewberEnerNeeder1
29 Mar 2019, 18:45
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

i would like to be able to press f1 to start the function and if i press f1 again while it is running the f1 will not start it a 2nd time This is what your existing code does. A hotkey will not fire if the thread for the previous fire of that hotkey has not finished yet. So the problem is not what ...
by NewberEnerNeeder1
28 Mar 2019, 19:23
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

You can disable hotkeys. F1:: hotkey,% a_thisHotkey,off Loop, 5 Send 0123456789{enter} hotkey,% a_thisHotkey,on return This thing really needs sleep times SetKeyDelay maybe its just the f1 key but if i press f1 2x or more fast it it opens a webpage https support.microsoft.com /en-us/hub/4338813/win...
by NewberEnerNeeder1
26 Mar 2019, 16:35
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

Make sure you did not specify one of the following directive on the top of the script: #MaxThreadsBuffer #MaxThreadsPerHotkey And switch back them to their respective default value, if need be, i.e. : #MaxThreadsBuffer Off #MaxThreadsPerHotkey 1 [EDIT] And make sure you specified the following stat...
by NewberEnerNeeder1
26 Mar 2019, 13:16
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

Scr1pter wrote:
26 Mar 2019, 12:55
Seems you're too fast for AHK :P
Just joking, can't help you any further. :(

Good luck anyway!

Cheers!
ty for trying sir

i have tried so many things.

i feel like its just some type of simple over site but i cant figure it out.

anyone else got an idea?
by NewberEnerNeeder1
26 Mar 2019, 12:34
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

sinkfaze wrote:
26 Mar 2019, 12:21

Code: Select all

#SingleInstance, Force

f1::
if	!sending
{
	sending :=	1
	Loop, 5
		Send 0123456789{ENTER}
	sending :=	0
}
return
:?:


i tried this but still same problem.


any other ideas?
by NewberEnerNeeder1
26 Mar 2019, 11:23
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

Re: trying to prevent a function from running more than once at a time

i copied and pasted the code and tried it.

it work better than mine but i was still able to shoot off the script more than once

i even tried changing the SetTimer, DisableSend, 50 to 10000 but it didnt help

any other ideas?
by NewberEnerNeeder1
26 Mar 2019, 10:33
Forum: Ask For Help
Topic: trying to prevent a function from running more than once at a time
Replies: 22
Views: 1421

trying to prevent a function from running more than once at a time

i would like to be able to press f1 to start the function and if i press f1 again while it is running the f1 will not start it a 2nd time. the example below isnt working correctly was testing it in an open notepad but it doesnt work. if i press f1 5x in a row very fast it will send it 5x i would lik...

Go to advanced search