How to Code Your Own Macros | AHK

preview_player
Показать описание
In this video I show you how you can use Autohotkey programming language to create your own scripts. These macro scripts are ideal to avoid hours of training to press a certain button combination or automate a tedious process.

This is the site where you can download AHK:

Рекомендации по теме
Комментарии
Автор

This is just a very simple starting guide. There is a lot more that you can do with AHK and some of it I will cover in future videos.

AdamSchadow
Автор

my left ear is hearing really well what your saying you know

LoloIsSolsRngAddict
Автор

This guide is very informative. Also, I saw you click File->Save, but there's a hotkey for that, you can just click ctrl+s which is a super useful thing when it comes to coding.

zoteiscool
Автор

tysm i kinda just reverse engineered what you did to use it for something else, but alot of other guides were not using like the send{} thing so it didnt work for me, still helping a year later!

jephq
Автор

So I got a very simple script working, but after a minute of running it, it was gone. I checked in my folder and it just deleted itself.

EDIT: It was my damn Antivirus automatically deleting it. I had to change some settings so it wouldn't do that.

TheDevourerOfGods
Автор

So is it bad my left headphone stopped working?

DellesTheFirst
Автор

How do I create a macro that counts up from 1 (X+1)

urnotagamer
Автор

alternatively, you can use while loops

clr
Автор

man i was confused why this isnt working in v2 turn out that they change syntax

LuminousSpace
Автор

Thanks because i was recently playing lifeboat network prisons someone killed me and i lost all my good stuff, so now im lookin to bring terror to lifeboat.

GhostGaming--uw
Автор

Hey I have a question. How can I make it that my mouse goes from the Chat in the left corner to the middle of the screen without moving it?

Conan
Автор

Can i make it HOLD DOWN 2 buttons at a time? If yes could you tell me how 😅

sakkoloppi
Автор

is there a way to not type in every key click?

areyouseriousholmes
Автор

I tried to Macro something with Mousemovement involed in Minecraft, but when i try it out the sensitivity goes Nuts on my Homescreen the macro works completly fine but in Minecraft it just does not work any ideas why?

typischtraum
Автор

i want to make a script for when i press "c" it will send it to "2" then back to "c" but i think this creates an infinite loop or something so can i make this work?

solan
Автор

it's too hard, or impossible to make an efficient keyboard listener in C# Win forms, i'll give ahk a try

thefrieber_
Автор

i'm deaf in my left ear, I can't hear anything.

stevvu
Автор

hey man i have a problem with my code #Persistent

SetTimer, CheckColor, 100 ; Set the timer to check every 100 milliseconds

CheckColor:
If GetKeyState("z", "P") ; Check if the 'z' key is pressed
{
; Get the color of the middle of the screen
PixelGetColor, color, % A_ScreenWidth // 2, % A_ScreenHeight // 2

; Check if the color is not orange (adjust RGB values as needed)
if !(color = 0xFFA500)
{
Click ; Press the left mouse button
}
}
return im trying so when i press and hold the key z the script will look for the color orange if theres is the color orange on the middle of my screen nothing happens it keeps on searching until there isnt the color orange on my screen then it presses left click now my code just keeps on pressing left click repetedly il be glad if you could help

yohailev
Автор

people who are deaf on their left ear aint gonna hear this, maybe fix that next vid

justragnar
Автор

my left ear thought this video make my brain feel weird help

MinymanPlays