Is it possible to have Autohotkey v1 and v2 on one computer? Topic is solved
Is it possible to have Autohotkey v1 and v2 on one computer?
I want to upgrade to v2, but some libraries that I use haven't been converted.
Re: Is it possible to have Autohotkey v1 and v2 on one computer?
Yes, its possible.
Generally just install v1 then install v2
You can get more complicated than that but I find that my IDE VSCode gets confused if you have a complex configuration
Generally just install v1 then install v2
You can get more complicated than that but I find that my IDE VSCode gets confused if you have a complex configuration
Re: Is it possible to have Autohotkey v1 and v2 on one computer? Topic is solved
From the v2 documentation: Installing with v1
Re: Is it possible to have Autohotkey v1 and v2 on one computer?
What I did not know is that I need a new file extension and to connect that file extension Autohotkey v2, as explained in How to Fool Around with the New AutoHotkey Version 2.0. Is this process explained in the docs so that new v2 can transition easier? If so then I want to read what file extension they recommend, if they don't then what do you recommend (I want to use what everyone's using).
EDIT: I'm don't know which file to associate the extension with AutoHotkey 64 or AutoHotkey 64_UIA from the folder C:\Program Files\AutoHotkey\v2.
EDIT: I'm don't know which file to associate the extension with AutoHotkey 64 or AutoHotkey 64_UIA from the folder C:\Program Files\AutoHotkey\v2.
Re: Is it possible to have Autohotkey v1 and v2 on one computer?
You don’t. That advice/instruction is misguided. You use the .ahk extension for both, and the launcher will determine which version a script needs and run the appropriate one, especially if you use #Requires (link for v1) and #Requires (link for v2) at the top of your script to identify the version it was written in.LAPIII wrote: ↑ What I did not know is that I need a new file extension and to connect that file extension Autohotkey v2, as explained in How to Fool Around with the New AutoHotkey Version 2.0.
Yes — the link is in my last post. And that explanation doesn’t say anything about different extensions because that’s not what’s recommended.
The extension I recommend and what (almost) everyone is using .ahk.
Don’t do any associations yourself. Just run the installers as outlined in the documentation.
Re: Is it possible to have Autohotkey v1 and v2 on one computer?
Thank you, I see what the problem was. In Scite4Autohotkey, when running a script, it says "This script requires AutoHotkey v2.0-.". I found instructions on how to change this at https://www.autohotkey.com/scite4ahk/pages/ahkv2.htm.
Re: Is it possible to have Autohotkey v1 and v2 on one computer?
I converted some scripts that I had in the startup folder and now when I startup, I get these windows:
Is there a way that I can make these not come up without uninstalling version 1?
Is there a way that I can make these not come up without uninstalling version 1?