Search found 152 matches
- 18 Oct 2020, 22:27
- Forum: Ask for Help (v1)
- Topic: AHK allow only to run on specific hdd serial Topic is solved
- Replies: 17
- Views: 1787
Re: AHK allow only to run on specific hdd serial Topic is solved
My previous code showed the volume serial number. This one uses the HDD number. If !hddsn("50026B77828278E9") { MsgBox, 48, Failure, Maybe next time! Aborting. ExitApp } MsgBox, 64, Success, You are good to go! ; Main code goes here ExitApp hddsn(sn := "") { objWMIService := ComObjGet("winmgmts:{im...
- 18 Oct 2020, 20:15
- Forum: Ask for Help (v1)
- Topic: AHK allow only to run on specific hdd serial Topic is solved
- Replies: 17
- Views: 1787
Re: AHK allow only to run on specific hdd serial Topic is solved
DriveGet DriveGet, sn, Serial, % SubStr(A_WinDir, 1, 2) MsgBox, 64, Serial number, %sn% Here is something related-- will be unique to the installation. https://www.autohotkey.com/boards/viewtopic.php?p=354914#p354914 im really sorry as I am really newbie to this kind of stuff, a good sample of scri...
- 18 Oct 2020, 19:38
- Forum: Ask for Help (v1)
- Topic: AHK allow only to run on specific hdd serial Topic is solved
- Replies: 17
- Views: 1787
AHK allow only to run on specific hdd serial Topic is solved
I want to prevent my ahk script getting pirated or avoid getting spread to public.
How to make it only work on a specific hdd serial?
How to make it only work on a specific hdd serial?
- 25 Aug 2020, 07:05
- Forum: Ask for Help (v1)
- Topic: toogle with overlay status Topic is solved
- Replies: 4
- Views: 621
Re: toogle with overlay status Topic is solved
Each independent toggle switch needs its own state variable. Try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reli...
- 24 Aug 2020, 13:00
- Forum: Ask for Help (v1)
- Topic: toogle with overlay status Topic is solved
- Replies: 4
- Views: 621
Re: toogle with overlay status Topic is solved
Hallo, try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consi...
- 23 Aug 2020, 21:21
- Forum: Ask for Help (v1)
- Topic: toogle with overlay status Topic is solved
- Replies: 4
- Views: 621
toogle with overlay status Topic is solved
I made a toggle script but is it even possible to have an overlay status if toggle is enabled or disabled? like for example, if I activated the toggle, it will display in lower left that its activated or deactivated This is the code #NoEnv ; Recommended for performance and compatibility with future ...
- 17 Aug 2020, 05:33
- Forum: Gaming Help (v1)
- Topic: Hold a key in a background/Inactive game
- Replies: 1
- Views: 914
Hold a key in a background/Inactive game
This is possible?
I want it to hold A and S and L key in a background game or game that is not active.
I hope someone can help me or make me this simple script. Thank you
I want it to hold A and S and L key in a background game or game that is not active.
I hope someone can help me or make me this simple script. Thank you
- 13 Jun 2020, 21:07
- Forum: Ask for Help (v1)
- Topic: ahk not working in OpenGL render mode
- Replies: 2
- Views: 1672
ahk not working in OpenGL render mode
i tried to change my emulator render mode to opengl and it seems ahk doesnt work at all
tried running in administration but no luck, still does not work
I hope this will be fixed in next update
tried running in administration but no luck, still does not work
I hope this will be fixed in next update
- 18 Mar 2020, 06:02
- Forum: Ask for Help (v1)
- Topic: ahk is not working on opengl
- Replies: 3
- Views: 757
- 12 Mar 2020, 09:52
- Forum: Ask for Help (v1)
- Topic: ahk is not working on opengl
- Replies: 3
- Views: 757
ahk is not working on opengl
I used a memu emulator
when i select opengl for render mode in memu emulator, my ahk script does not work
how to fix this?>
when i select opengl for render mode in memu emulator, my ahk script does not work
how to fix this?>
- 14 Nov 2019, 08:55
- Forum: Ask for Help (v1)
- Topic: help me display overlay text when pixel is found
- Replies: 1
- Views: 556
help me display overlay text when pixel is found
Hello AHKers Can anyone help me please, i need to the pixel i found to display a overlay text at the middle of the screen if the pixel is found this is my script #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting...
- 08 Apr 2019, 21:55
- Forum: Ask for Help (v1)
- Topic: my scripts is running a bit slower now
- Replies: 7
- Views: 4309
Re: my scripts is running a bit slower now
What swagfag is talking about is that without a script there is no way to know what is going on that could be causing a slow down. I suggest you post your script so people can help determine the problem. As for software slow down it depends on how many programs you are running. If you are running l...
- 08 Apr 2019, 08:38
- Forum: Ask for Help (v1)
- Topic: my scripts is running a bit slower now
- Replies: 7
- Views: 4309
- 08 Apr 2019, 05:58
- Forum: Ask for Help (v1)
- Topic: If script is pause.suspend Topic is solved
- Replies: 7
- Views: 3338
Re: If script is pause.suspend Topic is solved
^z:: Suspend On MsgBox, Script has been paused/suspended Pause On return #If (A_IsPaused) ^z:: Suspend Off Pause Off MsgBox, Script has been unpaused/unsuspended return #If the perfect answer ive been looking for. knowledge is power is upon you my lord You have my eternal gratitude, sir
- 08 Apr 2019, 04:20
- Forum: Ask for Help (v1)
- Topic: my scripts is running a bit slower now
- Replies: 7
- Views: 4309
my scripts is running a bit slower now
When first i freshly installed AHK and made my script for my game. It works so fast but now it work a bit slow, What is the cause of this? Does ahk store temp files or cache and cookies that makes them slow down? does other software can cause them to slow down too? How to make my script work faster ...
- 31 Mar 2019, 03:56
- Forum: Ask for Help (v1)
- Topic: If script is pause.suspend Topic is solved
- Replies: 7
- Views: 3338
Re: If script is pause.suspend Topic is solved
Osprey wrote: ↑27 Mar 2019, 17:53Just put it before the pause and suspend. The script isn't technically paused yet, but does it really matter?
Code: Select all
^z:: MsgBox, Script has been paused/suspended Pause Suspend return [/quote] I cant seem to re-enable it again after pressing control Z
- 27 Mar 2019, 08:17
- Forum: Ask for Help (v1)
- Topic: If script is pause.suspend Topic is solved
- Replies: 7
- Views: 3338
Re: If script is pause.suspend Topic is solved
ys i do know about and it can use GUI instead but what i dont know is how to make it pop-up when the script is pause/suspend
example, when i press control+z, it will pause/suspend the script while give u e message onscreen that it is paused/suspended
- 27 Mar 2019, 04:25
- Forum: Ask for Help (v1)
- Topic: If script is pause.suspend Topic is solved
- Replies: 7
- Views: 3338
If script is pause.suspend Topic is solved
can anyone help me how to do this
This is the script
^z::
Pause
Suspend
return
whenever the sript is pause/suspend , it will also pop-up a message "Script has been paused/suspended"
This is the script
^z::
Pause
Suspend
return
whenever the sript is pause/suspend , it will also pop-up a message "Script has been paused/suspended"
- 21 Mar 2019, 08:38
- Forum: Ask for Help (v1)
- Topic: When X key hold press will point on a specific pixel Topic is solved
- Replies: 4
- Views: 1145
Re: When X key hold press will point on a specific pixel Topic is solved
You can add a ~ before the x, to keep its native functionality. ~x:: For the rest I can't help you at the moment. Maybe you need some tolerance? But somehow I'm having a bad feeling about the usage of this script... Cheers! Thank you so much, even replying is enough as i notice not so much people i...
- 15 Mar 2019, 19:27
- Forum: Ask for Help (v1)
- Topic: When X key hold press will point on a specific pixel Topic is solved
- Replies: 4
- Views: 1145
Re: When X key hold press will point on a specific pixel Topic is solved
You really should try creating some script first. From what I understand those functions might be useful: PixelGetColor while GetKeyState PixelSearch Read the AHK documentation to find out more about those functions. Cheers! I did, here's my code #NoEnv ; Recommended for performance and compatibili...