Spoiler
This is very useful for me since im always making a new script and testing things
and its really annoying having to use the drop down menu to make a new script
so i found a way to automate it
What it does:
Problems:
Spoiler
Here is a script i created that allows you to use hotkeys to create an AHK script Thanks to the people who helped me make this script via r/autohotkey and discord
This is very useful for me since im always making a new script and testing things
and its really annoying having to use the drop down menu to make a new script
so i found a way to automate it
What it does:
- All of your files are named based off a timestamp
- F9: Takes any directory you copied from your clipboard and puts the file in that same directory
- F10: Auto Creates An AHK file straight to your desktop
Code: Select all
formattime, timestamp, a_now , yyyyMMdd_HHmmss
;Random, var, 1, 6 <- alternative way to renaming files
F9::
ClipSaved := Clipboard
Send ^l^c
FileAppend This is a script BOI, %Clipboard%\%timestamp%.ahk ;file%var%.ahk <- alternative way to renaming files
Clipboard := ClipSaved
return
F10::
filename= %A_Desktop%\%timestamp%.ahk
;%A_Desktop%\filename%var%.ahk ;another way to approach autonaming the files
;text= gey ;dosent really need any text in the file
FileAppend, %text%, %filename% ;WORKS BUT ONLY ONCE
return
- Cant create more than one file in order for you to create more you need to reload the script
- Dont know how to fix it Still new to AHK