Search found 6 matches

by Dystopia
26 Jun 2020, 12:08
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 81
Views: 41282

Re: AHK源代码加密器 v3.0

Hello, I'm a beginner trying to use this to encode some stuff, and while it works, I have some questions: 1) When encoded, the name of my script in the taskbar changes to a seemingly random string. Can I make it retain the original name of my script? 2) The encoded script installs an Autohotkey.exe,...
by Dystopia
03 Jun 2020, 12:23
Forum: Ask For Help
Topic: Help with InStr() always finding/not finding string Topic is solved
Replies: 3
Views: 137

Re: Help with InStr() always finding/not finding string Topic is solved

Thanks, both of you! Wasn't expecting a response so quickly, and it's working perfectly now. Didn't know that variables declared within a function was only local, but now I do :D
by Dystopia
03 Jun 2020, 11:51
Forum: Ask For Help
Topic: Help with InStr() always finding/not finding string Topic is solved
Replies: 3
Views: 137

Help with InStr() always finding/not finding string Topic is solved

Hello, I'm trying to lock a script to a mac address (just trying as a small project of mine), and I've sort of hit a roadblock. The code I have now is this: GetMacAddress(){ tempfile = %A_Temp%\mac.txt RunWait, %ComSpec% /c getmac /NH > %tempfile%, , Hide ; ipconfig (slow) FileRead, mac, %tempfile% ...
by Dystopia
02 May 2020, 13:13
Forum: Gaming
Topic: GUI Help
Replies: 0
Views: 221

GUI Help

Hello again. I'm trying to make a GUI that toggles on/off various hotkeys. This is what I've come up with so far: #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 SetTitleMatchMode, 2 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetWinDelay, -1 Set...
by Dystopia
28 Apr 2020, 21:15
Forum: Gaming
Topic: Issue with inconsistent script speed
Replies: 2
Views: 366

Re: Issue with inconsistent script speed

Rohwedder wrote:
28 Apr 2020, 05:41
Hallo,
perhaps:

Code: Select all

v::
while GetKeyState(A_ThisHotkey)
{
	SendInput,	o[
	Sleep, 8
	SendInput,	{space}
	Sleep, 27
}
return
This seems to have made it a lot more consistent, thanks!
by Dystopia
26 Apr 2020, 21:46
Forum: Gaming
Topic: Issue with inconsistent script speed
Replies: 2
Views: 366

Issue with inconsistent script speed

So I'm trying to make a script that rapidly fires off a number of commands while a key is pressed. So far, it works seemingly fine(?), but I noticed the script randomly slows down as if lagging sometimes. Initially I thought this was due to the game lagging, but my friend who used his keyboard drive...

Go to advanced search