🔥Unlock the power of AutoHotkey v2 with this easy SciTE4AutoHotkey setup guide🔥

preview_player
Показать описание

TLDR: AutoHotkey V2 can be used with VS Code for lightweight editing, and requires a few extra steps to switch between versions in the portable version.

1. 00:00 🔥 AutoHotkey V2 is now the official version and can be used with VS Code for lightweight editing.
1.1 AutoHotkey V2 is now the official version and can be configured in VS Code for a lightweight editing experience.

2. 00:20 🔑 Download Cipher Hotkey, portable version needs a tweak.
2.1 Download the installer or portable version of Cipher Hotkey, with a minor tweak for the portable version to work properly.

3. 01:05 💾 Install the program and select your options, then close the window.
3.1 Hit install and select your options, then close the window as the settings are saved automatically.

4. 02:17 🔴 Switching code versions requires script to be in AutoHotkey folder.
4.1 Switching between V1 and V2 code requires the script to be in the AutoHotkey folder, and the highlight will turn red if the code is invalid for the version.

6. 03:58 🔧 Switching between B1 and B2 in portable version requires an extra step.
6.1 Switching between B1 and B2 in the install version is done automatically, but in the portable version an additional step is needed.

7. 05:24 🔧 Replace variables with AutoHotkey path and reload platforms to make hotkeys work.
7.1 Replace all variables with the path of AutoHotkey installation and reload platforms to make the hotkeys work.

8. 07:06 🔍 Quickly switch between versions of a platform with a search and replace on the properties.
8.1 You can easily switch between versions of the platform by doing a simple search and replace on the properties.

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

Thanks for taking the time to explain how to integrate AutoHotkey V2 with Scite4AutoHotkey.
I've bookmarked this video so I can come back to it later.
Because even if I am a pragmatist, I unfortunately also remain a procrastinator when it comes to upgrading to V2.
In my case, it's not so disastrous, since I only do programming as a hobby, as a personal challenge.

thepragmatic
Автор

Experimental video idea (maybe you might find it interesting too): benchmark v1.1 vs v2 in terms of performance. Both versions have different optimizations and in one quick benchmark I did v2 was apparently slower. There's surely things where v2 is faster, but I think seeing benchmarks in different areas might be interesting.

LeonAlkoholik
Автор

Calltips in the new scite version is still busted right? will this method shown work with the older scite version? I'm assuming so?

dpinched
Автор

great thing we already have scite for v2, is there any guide for vscode setups for v2?

fenchai
Автор

Would be great to have a semi-automatic code converter to v2

Sergij_Vari
Автор

Hello. Can I specify a relative path for the portable version of SciTE to the folder with AHK?

chempionporukopashnomuseks
Автор

Trying to follow along, I did find that I was running version 3.1.00, but I don't get the V2 option under the Platform. I get Default, Ansi, Unicode, x64. And I'm pretty sure I downloaded it to the right location..

ConfidentFitness
Автор

does this work on AHK ver 1.1? ITs the only version my work place allows currently.

Darnelj
Автор

Thanks, that's neat, and just seeing that line
msgbox A_AhkPath
reminds me how much I hated the dual syntax! Having a single way to write something makes it so much easier. I'll be switching to v2 now it's the default. HOW I do that I'm not sure yet - I mean whether to install v2 but leave v1 so earlier scripts run without debugging them or try to switch everything over to v2. I better read up on it. I guess there may be tools coming to convert scripts, or I could just see how many of those red highlights I get. I generally tried to use expression syntax anyway, but no doubt there will be other illegal stuff to fix.

lettersquash
Автор

What if I can't open the download file? It opens but automatically closes right after. Please help!

krzysztofsilski
Автор

After installing the scite fix the font at the very bottom of the scite screen is very large. How can that be fixed???

ricksable
Автор

Scite without the calltips really sux...

Karrasco
Автор

F5 and/or run just returns an error. It doesn't work

docokdoco