There are some challenges with running v1 & v2 of AutoHotKey on the same PC and also in VS Code. In this video I go through my setup to show how I’m able to run both versions at the same time using 2 different extensions .ahk & .ahk2.
Please read the article https://cr8ive.tk/?p=7327 as to how Thom from Tab Nation sets up extension association of the different file types ( • AutoHotkey v2 - .ahk vs .ahk2 -How to... )
For VS Code you will need” vscode-autohotkey-debug” extension by zero-plusplus (https://marketplace.visualstudio.com/...) and also A separate extension that supports the AutoHotkey language is required(The most famous is slevesque.vscode-autohotkey). If you are using AutoHotkey v2, another extension that supports it required. (e.g. dudelmoser.vscode-autohotkey2)
The Launch.json file, if you have installed v2 in a subdirectory of v1 AutoHotKey folder is :
{
"configurations": [
{
"name": "AutoHotkey1 Debug",
"type": "autohotkey",
"program":"${file}",
"request": "launch",
"runtimeArgs_v1":[".ahk"],
"port":"9003",
"runtime_v1": "AutoHotkey.exe",
"runtimeArgs":[ "/ErrorStdOut=UTF-8"]
},
{
"name": "AutoHotkey2 Debug",
"type": "autohotkey",
"request": "launch",
"program":"${file}",
"runtimeArgs_v2":[".ah2"],
"runtime_v2": "v2/AutoHotkey64.exe",
"runtimeArgs":[ "/ErrorStdOut=UTF-8"]
},
{
"name": "AutoHotkey2 Debug",
"type": "autohotkey",
"request": "launch",
"runtimeArgs_v2":[".ahk2"],
"port":"9010",
"runtime_v2": "v2/AutoHotkey64.exe",
"program":"${file}",
"runtimeArgs":[ "/ErrorStdOut=UTF-8"]
}
]
}
For version 1 to version 2 AutoHotKey script converter go to :
https://www.autohotkey.com/boards/vie... & github repository : https://github.com/mmikeww/AHK-v2-scr...
I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias
Please visit my blog for similar topics: https://cr8ive.cf
Tags,
Productivity, VS Code, AHK, AHK V1, AHK v2 beta , Script converter v1 to v2
FileSaveLaunch
• File Save Launch
Free productivity tool for conveniently giving files extra descriptions and accessing files
This program allows you to select a file from your PC, add a Comment/Note/Description and saves it to a file.
Winkey + Spacebar hotkey will open a List of stored files that you can click on to open in the program you have designated to open its specific extension.
eg if you have a .txt file and you've assigned "notepad.exe" as the program to edit that file then when you click on the row of that file it will activate and open it.
Compiled and other program files on Github: https://github.com/drakemax/FileSaveL...
Help file for the program: https://pir2.tk/index.php/files-save-...
Joe Glines Easily pushing delimited data into a ListView in AutoHotkey & video and script ( • Easily pushing delimited data into a ... & https://www.the-automator.com/easily-...) that was able to display data from a file into a table and sort the table.
For AHK-just-me - LV-color-Class (https://github.com/AHK-just-me?tab=re....
I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias
Please visit my blog for similar topics: https://cr8ive.tk
AutoHotKey Computer Productivity eBook Book 0 in series
Free Book from these sites https://books2read.com/u/mZQ7vl
about $1 on Amazon - http://mybook.to/AHK_Comp_Productivity
AutoHotKey Computer Productivity: eBook BOOK 1 in series
Amazon http://mybook.to/AutoHotKey1
AutoHotKey Computer Productivity: eBook BOOK 2 in series
Coming shortly
AutoHotKey Computer Productivity: eBook BOOK 2 in series
Coming shortly
Udamy Courses:
AutoHotKey Computer Productivity Course 1
https://www.udemy.com/course/autohotk...
AutoHotKey Computer Productivity Course 2
In development. Coming shortly
AutoHotKey Computer Productivity Course 3
To come
AutoHotKey Computer Productivity Course 4
To come
Watch video AHK V1 & V2 & VS Code online without registration, duration hours minute second in high quality. This video was added by user Max Drake 01 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,68 once and liked it 3 people.