Install v2 over v1 Topic is solved

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
vjlantergmailcom
Posts: 5
Joined: 06 Feb 2023, 14:00

Install v2 over v1

Post by vjlantergmailcom » 06 Feb 2023, 15:48

I wish it was as simple as the subject line. Anyway, I installed v1 and was going through tutorials and couldn't make them work. Since everything referenced v2 I installed it. I also installed SciTE4. Still, nothing worked. Now I have a mess since I uninstalled and reinstalled. I get messages that I was trying to run a script written in v1 and would I like to convert it. I'm about to reinstall but go through the registry and delete all autohotkey and scite4 references.

Any ideas that would keep me from doing that would be appreciated.

P.S. I'm not crazy about any of the tutorials I've used so far.

User avatar
mikeyww
Posts: 26848
Joined: 09 Sep 2014, 18:38

Re: Install v2 over v1

Post by mikeyww » 06 Feb 2023, 16:50

Welcome to this AutoHotkey forum!

You need only three steps.

1. Uninstall all AutoHotkey.
2. Run the standard v1 installer. Use the default options.
3. Run the standard v2 installer. Use the default options.

You can now run both v1 and v2 scripts.

vjlantergmailcom
Posts: 5
Joined: 06 Feb 2023, 14:00

Re: Install v2 over v1

Post by vjlantergmailcom » 06 Feb 2023, 18:21

Thanks, but I don't care about v1.

When I right click on the desktop and click on new, there is an item for AutoHotKey script. I created an ahk file called newtest. When I right click on that file there is no "edit script". I guess I should reinstall scite4.

User avatar
mikeyww
Posts: 26848
Joined: 09 Sep 2014, 18:38

Re: Install v2 over v1  Topic is solved

Post by mikeyww » 06 Feb 2023, 19:31

I don't use SCITE, but that's worth a try.

vjlantergmailcom
Posts: 5
Joined: 06 Feb 2023, 14:00

Re: Install v2 over v1

Post by vjlantergmailcom » 06 Feb 2023, 23:09

Well , I got it to work. I can create, edit, and execute script now.

User avatar
lmstearn
Posts: 694
Joined: 11 Aug 2016, 02:32
Contact:

Re: Install v2 over v1

Post by lmstearn » 15 Feb 2024, 04:55

mikeyww wrote:
06 Feb 2023, 16:50
...
1. Uninstall all AutoHotkey.
...
Had v1 installed in to AutoHotkey (oct/2022) root, installing v2 was fine when scripts were manually associated with \v2\AutoHotkey64.exe, though weird stuff prompted uninstalling the lot. Running the installer for v2 again, with it picking up non-standard setup settings, after which the "silent" v1 install created a v1.1.37.01 folder, there were no issues! :)
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

rotamotua
Posts: 18
Joined: 20 Nov 2023, 14:19

Re: Install v2 over v1

Post by rotamotua » 19 Feb 2024, 00:16

mikeyww wrote:
06 Feb 2023, 19:31
I don't use SCITE, but that's worth a try.
What do you use your as your ahk Editor ? looking for a suggestion here - preferably write a script and run/execute capability, portable, better.

User avatar
mikeyww
Posts: 26848
Joined: 09 Sep 2014, 18:38

Re: Install v2 over v1

Post by mikeyww » 19 Feb 2024, 08:34

I have been using EmEditor for years.
  • Portable
  • Plain-text JScript 5.8 macros and a macro recorder to create your own customized sequences of editing steps
  • Plugins
  • Highly configurable
  • Auto-highlight text incompatible with current file encoding
  • Customizable syntax highlighting
  • Can run a script with a single hotkey from the editor (like "execute with associated file")
  • Copy or cut columns of text as a selected rectangular block
  • Sort by column
  • Join text
  • Create multiple selections
  • Workspaces
  • Optionally show CSV files with aligned columns (like Excel)
  • Sort selected rows
  • Bookmark lines, and manage them as such
  • Optionally highlight or auto-complete matching brackets
  • Warn on invisible or control characters
  • Show white space
  • Easily change file encoding
  • Displays line number, column number, and character code in the status bar
  • Good search and highlighting features
  • Tabbed interface to work with many documents
  • Special handling of very large text files (up to 16 TB) to maximize efficiency of loading
  • Set many options to be specific to a file extension
  • Actively developed
  • Lots of other stuff!
Other popular choices may be Notepad++, VS Code (Visual Studio Code), and Sublime Text. I use Sublime Text for other work, mainly as a markdown editor. It is very capable for that and general editing of many kinds. It has robust options, is highly configurable, and has many optional add-on packages. It is weak for printing.

Post Reply

Return to “Ask for Help (v2)”