The concept that drove your sql hotkey saves my life. I have hundreds of lines of code from multiple languages that can all be accessed instantly using hotsrings. Id hate to image where I'd be without it.
This is a nice video! I love the concept that you start with ] character. There is no confuses when you write a plain text or an „ .ahk command ”. Great job! I want to see more content from you!
Hi @Robi Megu, thanks for the kind words, I really appreciate it! Yeah, the concept of using the ] character makes it easy for me to know that it is tied to a .ahk command 😎. I will add more content down the road, stay tuned, and thanks for your support!
⭐This method can be easily managed with a software called Beeftext. In addition, you can embed shortcut keys in the text and specify the final position of the mouse cursor, such as when adding parentheses. In addition, the clipboard returns to the one before sending properly.
Like the date time stuff. Great for my job as I use dates a lot in document names and folder names. Now I tried to come up with a way to autoinclude subscript in the dates (example: substitute 'May 01' with 'May 1st', 02 with 2nd, etc). Other than a long series of IF statements could not come up with anything.
You are welcome! I use the date/time function everyday at work. It’s so much easier to type few letters and get the date/time stamp. Saves me a lot of time.
Yeah, I realize it’s not the most efficient way of printing 1-100. When I was learning AHK at that time, I didn’t know you could loop. Since then, I built a better way of printing numbers 1-n, which n is set as a variable 😎 but yeah I can see why you pointed out the long code haha. Take care!
Hello! I want to change my writing language from English to Bulgarian with AHK. How can I do this and change the color of the taskbar at the same time? I found a script that changes the typing language using CapsLock. But his keyboard light won't turn on.
Hi! I don’t think you can change the function names to a different language. But I may be wrong. I am not sure what you mean by changing the color of the taskbar? Usually changing the appearance of the taskbar is done through the Settings in Windows. Thanks for your comment 😎
What application are you using to display the keys on the screen? Is it a standalone application or is it incorporated into your editing software? Do you have to add them manually when editing the video, or is it automatic? Thank you very much, your video is done in a very professional way.
Hi there! I am using Camtasia for editing and recording, and it has the capability to insert the keys. Also, I have to manually add the keys while editing the video. Thanks for your support and kind words!
Hello, complete newbie to AHK here. I was wondering if there was a script that can be used to control individual application volume via knobs (e.g. one knob control main volume, another controls Spotify etc.)
Hi there, I couldn’t find anything that would do what you asked. I am not sure if that’s possible using AHK. You can try QMK/VIA software to try to remap the keys/knobs functions of your keyboard. Not all keyboards are QMK programmable. Thanks 😎
I can try to help you. I'll try my best. For normal button change to make a volume button. Example if you wanted Left arrow to do volume down. You would write the script like this. left:: sendinput {volume_down} return The way you want is individual apps. You would have to use this. #If WinActive , your app goes here Look on RUclips for a more clear explanation. You get the app name by hovering the mouse over the app with windows spy. So whatever script you wrote with the (#If) it will only be affective on that specific app. This is what I use the most for everything. #if getkeystate ("shift", "P") w:: send have a nice day{!} #if return The hotkey "w" will only work if "shift " is held down. Hoped this help you.
Here's an idea to control the volume based on application Play around with it. Hope it helps! ; Define your preferred volume increment VolumeIncrement := 5 ; Define the keyboard shortcut for volume control ^Up:: { ; Check if Spotify is the active window IfWinActive, ahk_exe Spotify.exe { ; Send volume up command to Spotify Send {Volume_Up} } else { ; Send volume up command to main volume Send {Volume_Up} } return } ^Down:: { ; Check if Spotify is the active window IfWinActive, ahk_exe Spotify.exe { ; Send volume down command to Spotify Send {Volume_Down} } else { ; Send volume down command to main volume Send {Volume_Down} } return } ; You can modify the above code to customize the volume control behavior ; based on your preferences or specific requirements.
Can you have a separate document that you can call to input a large amount of text? Like say I have a bunch of 10 - 15 line text documents I use for documentation, could I have AHK output them without making my ahk file a mile long?
Hi Carlos, if I understood your question correctly, then there are multiple ways of accomplish this. Say you have a master.ahk file, and you make changes in that file, you can create a reload function within the file and assign a Shortcut key. For example: F10:: Run, “%A_ScriptFullPath%” Return The script above will reload the file when pressing the F10 key. Hope this helps 😎
Hi Carlos, I thought of something else you can try. You can create a AutoHotkey file called something like ReloadAll.ahk and in that file you can list all the .ahk files you would like to reload. For example: Run, "C:\Users\UserName\Documents\AutoHotKeyFile1.ahk" Sleep, 10 Run, "C:\Users\UserName\Documents\AutoHotKeyFile2.ahk" Return The above script will reload AutoHotkeyFile1.ahk and AutoHotKeyFile2.ahk. Then if you have some kind of Master.ahk file that you use on a regular basis, you can assign a shortcut to call the ReloadAll.ahk file like this: ^F10:: Run, "C:\Users\UserName\Documents\ReloadAll.ahk" Now, say your Master.ahk file is running in the background, you can press CTRL + F10 keys, and that would call the ReloadAll.ahk file, which in turn would reload the two other .ahk files. Hope this makes sense. Thanks :)
Right click on the particular form/box, then select Inspect Element, and from there you can figure out what element to use. As I mentioned, I played with it a little bit but don’t have working knowledge on how to use it. 😎
Hello, may you help me for a autohotkey script? I am trying to make a autohotkey for excel for jump in excel sheets tabs. If you can plz send me yes. Or send idea.
How would I create a hotkey that would automatically scroll on my 2nd monitor when I press a hotkey? (Ex. I press L 2 times and the page on my second monitor scrolls down) I tried making my own hotkey, but it would only scroll down when I was focused on the window, but I want it to work even when I'm not focused on my 2nd monitor :*:LL:: WheelDown
Are you wanting to scroll a specific application on your second monitor? If so, that approach may be easier because there’s a function in autohotkey to focus on the application/window and then it can send the WheelDown command. If you’re wanting to scroll any app/window on the second monitor, then that may be more challenging. Let me know. Thanks!
@@HowToWorkFromHomeUSA Yea when I'm playing a game or doing some work on my main monitor, I like reading on my 2nd monitor. I use the brave browser which is basically just google chrome, but better.
could you help me out pls, i cant seem to get this script to work, this is my first doing any type of coding x := 1 while (x > 0) { t::7 e::5 v::e } return F4:: x := x*-1 return
Hi Kiwin, in Notepad++ you can go to Language at top menu bar, then A -> then select AutoIt and it will set the color syntax. Or you can checkout this link on how to download the .xml syntax highlighting: stackoverflow.com/questions/45466733/autohotkey-syntax-highlighting-in-notepad
The concept that drove your sql hotkey saves my life. I have hundreds of lines of code from multiple languages that can all be accessed instantly using hotsrings. Id hate to image where I'd be without it.
Yeah, I would be lost without AHK. It sure saves me a lot of time 😎
I"ve always said "HotStrings are the hidden gems in AutoHotkey". They're a total live saver!
Nice autohotkey scripts. Date time made my day.
Awesome! Yes, I use the Date time multiple times a day. Comes in very handy 😎
The best AutoHotkey - scripts on the biz! Thanks mate!
You’re welcome and thank you for your kind words! 😎
The best tutorial for autohotkey on youtube. Thank you!!!
Wow! Thank you so much for your kind comment 😎
Never knew I had such power with using AHK!!!!!!!!!!! thank you.
Happy to help! 😎
In AutoHotkey v2 you can use Reload function binded to any key, in order to reload a script.
Thanks for the recommendation 😎
This is a nice video! I love the concept that you start with ] character. There is no confuses when you write a plain text or an „ .ahk command ”.
Great job! I want to see more content from you!
Hi @Robi Megu, thanks for the kind words, I really appreciate it! Yeah, the concept of using the ] character makes it easy for me to know that it is tied to a .ahk command 😎. I will add more content down the road, stay tuned, and thanks for your support!
⭐This method can be easily managed with a software called Beeftext. In addition, you can embed shortcut keys in the text and specify the final position of the mouse cursor, such as when adding parentheses. In addition, the clipboard returns to the one before sending properly.
Thanks for your comment 😎
GREAT I needed smith to make a recoil control in CSGO n valorabt
Good introduction for new AutoHotKey player like myself.
Awesome, welcome to the AutoHotkey community haha 😎
your channel is impresive!
I appreciate that! 😎
AutoHotkey is crazy powerful!
Yes, AHK is one of my fav programs out there! 😎
great work man you have done great job brother thank you
I am happy you like the video, and thank you for the kind comment! 😎
thx for this, learned a couple of neat tricks!
You’re welcome! Happy to hear! Thx 😎
Love making these videos myself with ahk on my channel. keep it up great stuff.
Thanks and AHK is fun once you start playing with it 😎
Like the date time stuff. Great for my job as I use dates a lot in document names and folder names. Now I tried to come up with a way to autoinclude subscript in the dates (example: substitute 'May 01' with 'May 1st', 02 with 2nd, etc). Other than a long series of IF statements could not come up with anything.
Awesome! Glad it helps your work. As far as appending the 1st, 2nd, 3rd the only thing that comes to mind is using If/Else statements haha
Thanks. Date time will be very useful for me at work.
You are welcome! I use the date/time function everyday at work. It’s so much easier to type few letters and get the date/time stamp. Saves me a lot of time.
Not sure why you have such long code. For example, if you want to type numbers from 1-100 with enters, you can just write a loop in a line or two.
Yeah, I realize it’s not the most efficient way of printing 1-100. When I was learning AHK at that time, I didn’t know you could loop. Since then, I built a better way of printing numbers 1-n, which n is set as a variable 😎 but yeah I can see why you pointed out the long code haha. Take care!
In case you or anyone else wanted the short AHK script to print 1-100, here it is:
::]1-100::
Loop, 100
{
Send %A_Index%{,}
}
Return
Very very useful, thank you👍.
Glad it was helpful! 😎
Hello! I want to change my writing language from English to Bulgarian with AHK. How can I do this and change the color of the taskbar at the same time? I found a script that changes the typing language using CapsLock. But his keyboard light won't turn on.
Hi! I don’t think you can change the function names to a different language. But I may be wrong. I am not sure what you mean by changing the color of the taskbar? Usually changing the appearance of the taskbar is done through the Settings in Windows. Thanks for your comment 😎
What application are you using to display the keys on the screen?
Is it a standalone application or is it incorporated into your editing software?
Do you have to add them manually when editing the video, or is it automatic?
Thank you very much, your video is done in a very professional way.
Hi there! I am using Camtasia for editing and recording, and it has the capability to insert the keys. Also, I have to manually add the keys while editing the video. Thanks for your support and kind words!
Hello, complete newbie to AHK here. I was wondering if there was a script that can be used to control individual application volume via knobs (e.g. one knob control main volume, another controls Spotify etc.)
Hello there! Thanks for your comment. I will look into your question and get back to you when I find out more. Thanks 😎
Hi there, I couldn’t find anything that would do what you asked. I am not sure if that’s possible using AHK. You can try QMK/VIA software to try to remap the keys/knobs functions of your keyboard. Not all keyboards are QMK programmable. Thanks 😎
I can try to help you. I'll try my best. For normal button change to make a volume button. Example if you wanted Left arrow to do volume down. You would write the script like this.
left::
sendinput {volume_down}
return
The way you want is individual apps. You would have to use this.
#If WinActive , your app goes here
Look on RUclips for a more clear explanation. You get the app name by hovering the mouse over the app with windows spy.
So whatever script you wrote with the (#If) it will only be affective on that specific app.
This is what I use the most for everything.
#if getkeystate ("shift", "P")
w::
send have a nice day{!}
#if
return
The hotkey "w" will only work if "shift " is held down.
Hoped this help you.
Here's an idea to control the volume based on application Play around with it. Hope it helps!
; Define your preferred volume increment
VolumeIncrement := 5
; Define the keyboard shortcut for volume control
^Up::
{
; Check if Spotify is the active window
IfWinActive, ahk_exe Spotify.exe
{
; Send volume up command to Spotify
Send {Volume_Up}
}
else
{
; Send volume up command to main volume
Send {Volume_Up}
}
return
}
^Down::
{
; Check if Spotify is the active window
IfWinActive, ahk_exe Spotify.exe
{
; Send volume down command to Spotify
Send {Volume_Down}
}
else
{
; Send volume down command to main volume
Send {Volume_Down}
}
return
}
; You can modify the above code to customize the volume control behavior
; based on your preferences or specific requirements.
Thank you guys for your responses, really appreciate them! I'll try them out once I begin building my first macropad :)
Can you have a separate document that you can call to input a large amount of text? Like say I have a bunch of 10 - 15 line text documents I use for documentation, could I have AHK output them without making my ahk file a mile long?
Hi! You can call any document or other AHK script from within a AHK script. You just have to point to it. Let me know if that helps! 😎
Can you help me create a script to "reload" the script after I've made changes? Thanks.
Hi Carlos, if I understood your question correctly, then there are multiple ways of accomplish this.
Say you have a master.ahk file, and you make changes in that file, you can create a reload function within the file and assign a Shortcut key. For example:
F10::
Run, “%A_ScriptFullPath%”
Return
The script above will reload the file when pressing the F10 key.
Hope this helps 😎
Hi Carlos, I thought of something else you can try. You can create a AutoHotkey file called something like ReloadAll.ahk and in that file you can list all the .ahk files you would like to reload. For example:
Run, "C:\Users\UserName\Documents\AutoHotKeyFile1.ahk"
Sleep, 10
Run, "C:\Users\UserName\Documents\AutoHotKeyFile2.ahk"
Return
The above script will reload AutoHotkeyFile1.ahk and AutoHotKeyFile2.ahk.
Then if you have some kind of Master.ahk file that you use on a regular basis, you can assign a shortcut to call the ReloadAll.ahk file like this:
^F10::
Run, "C:\Users\UserName\Documents\ReloadAll.ahk"
Now, say your Master.ahk file is running in the background, you can press CTRL + F10 keys, and that would call the ReloadAll.ahk file, which in turn would reload the two other .ahk files.
Hope this makes sense. Thanks :)
Hello there,
I am trying to use a simple script to replace '
Hi @Russels_Viper, try this option. ::
@@HowToWorkFromHomeUSA can you tell why mine is not working.
Maybe because you’re missing :: infront of the < sign.
@@HowToWorkFromHomeUSA Thank you
You’re welcome. I just tested this on my computer and this script worked. ::
Thanks much. Very practical and clear presentation.
You’re welcome and thanks for your support.
Is this AutoHotkey ver.2 ?
I use AutoHotkey Version 1.1.
Good question - please let us know when you update to Vs2
Looks like v1.1 is deprecated per www.autohotkey.com page. They have v2.0 to download but I haven’t installed it yet
Can u tell me how to fill form using autohotkey in web!!
It depends on what browser you use. I played around Internet Explorer a bit but don’t have too much knowledge on that subject
@@HowToWorkFromHomeUSA ok thnx dude for ur reply !!
@@HowToWorkFromHomeUSA ok can u help me out .....how to go to particular element on web page .....do I need to use library for it ?
Right click on the particular form/box, then select Inspect Element, and from there you can figure out what element to use. As I mentioned, I played with it a little bit but don’t have working knowledge on how to use it. 😎
@@HowToWorkFromHomeUSA ok thnx a lot !!
Hello, may you help me for a autohotkey script?
I am trying to make a autohotkey for excel for jump in excel sheets tabs. If you can plz send me yes. Or send idea.
Hi there, what exactly are you trying to do in Excel with AutoHotkey? I need a better idea of what you are trying to accomplish. Thanks! 😎
You can jump between different Excel Tabs by using the CTRL + Page Up or CTRL + Page Down keys.
How would I create a hotkey that would automatically scroll on my 2nd monitor when I press a hotkey? (Ex. I press L 2 times and the page on my second monitor scrolls down)
I tried making my own hotkey, but it would only scroll down when I was focused on the window, but I want it to work even when I'm not focused on my 2nd monitor
:*:LL:: WheelDown
Hi there! I can take a look at your request and get back to you once I figure out the script. Thanks for watching!
@@HowToWorkFromHomeUSA Any luck?
No, I’ve been busy lately, but I’ll keep it on my to to list.
Are you wanting to scroll a specific application on your second monitor? If so, that approach may be easier because there’s a function in autohotkey to focus on the application/window and then it can send the WheelDown command. If you’re wanting to scroll any app/window on the second monitor, then that may be more challenging. Let me know. Thanks!
@@HowToWorkFromHomeUSA Yea when I'm playing a game or doing some work on my main monitor, I like reading on my 2nd monitor. I use the brave browser which is basically just google chrome, but better.
Very helpful. Thank you.
You’re welcome. Glad you found it helpful 😄
@@HowToWorkFromHomeUSA hi
Hey there @Ar7 Gaming!
@@HowToWorkFromHomeUSA Hi
very helpful video!!!!!!!!!
Awesome! I’m happy you found it helpful 🥳
could you help me out pls, i cant seem to get this script to work, this is my first doing any type of coding
x := 1
while (x > 0)
{
t::7
e::5
v::e
}
return
F4::
x := x*-1
return
Hi there! What are you trying to accomplish with the script?
Nice, really Thanks
I’m happy you like the video 😎 Thanks!
I have a question Sir, where are the settings to have a color scheme on Notepad for .ahk files ?
Hi Kiwin, in Notepad++ you can go to Language at top menu bar, then A -> then select AutoIt and it will set the color syntax. Or you can checkout this link on how to download the .xml syntax highlighting: stackoverflow.com/questions/45466733/autohotkey-syntax-highlighting-in-notepad
Thanks! I just started to write my own scripts and this is very helpful for debugging
Yeah for sure! It’s helpful when you have the color scheme. Take care and thanks for watching!
Thank You!
You’re welcome! 😎
I need the best delay...
Hey there, not sure what kind of delay you need? Can you please explain?
where can i download AHK?
www.autohotkey.com/download/
Kindly share as soon as possible 🙆
Here are the scripts: github.com/how-to-work-from-home/autohotkey/wiki/AutoHotkey-AHK-My-fav-scripts
Great Video For productivity👍
Please share this .ahk file link also.
Thank you! I am working on a script sharing repository and will share my .ahk files there. Stay tuned!
Here are the scripts: github.com/how-to-work-from-home/autohotkey/wiki/AutoHotkey-AHK-My-fav-scripts
@@HowToWorkFromHomeUSA WOW!! thanks 👍
3:52 doxxed
😎
Excellent
Thank you!