I have been personally using AHK Basic for several years now & never saw a need to learn AHK_L until just recently. I wanted to be able to have AHK operate on selected files with reliability & I saw AHK_L as having some advantages on this. I downloaded & installed AHK_L then created a script with the extension .ahkl. I associated this with the new AHK_L & it ran just fine. Then I tried to re-associate the .ahk extension with AHK Basic. I was shocked & dismayed to learn that I could NOT re-associate my AHK Basic scripts to the AHK Basic extension. Then I remembered, sadly, when AHK_L first came out I downloaded & installed it, excited to try the new AHK... yet for this reason I had to uninstall it. I don't have the time to rewrite all of my AHK Basic scripts. Who wants to go to that much trouble ! If there was a program that could convert all of my old scripts to AHK_L that would be great ! Since there is not... I need a simple solution to be able to run BOTH side by side (sxs).
Here's the SIMPLE SOLUTION:
AFTER READING THE PROBLEMS OTHERS HAVE HAD IN TRYING TO RUN BOTH SIDE BY SIDE this is what I have come up with: Starting point: AHK Basic installed to a unique directory, I downloaded & installed AHK_L to its own unique directory. I created a script & gave it the extension .ahkl which I associated with AHK_L
1. In AHK Basic program directory I copied AutoHotKey.exe & pasted it into its own same directory resulting in AutoHotKey_2.exe which I renamed AutoHotKey_B.exe. Explanation: This results in AutoHotKey_B.exe & AutoHotKey.exe in the same directory which avoids problems later in running Ahk2exe.exe, etc. Which has been an issue for others according to what I read on this site.
2. Then I associated .ahk files with AHK Basic as follows:
Right click .ahk script > Select Open With > Choose Default program > navigate to & select AutoHotKey_B.exe.
Both AHK Basic & AHK_L are installed side by side with both Ahk2Exe.exe compilers working for each perspective scripts & each having their own extensions .ahkl & .ahk for basic. This has been my SIMPLE SOLUTION. Which so far works without a hitch.