Search found 13 matches

by Larkal
09 Aug 2020, 18:59
Forum: AutoHotkey v2 Development
Topic: Community Question - What Built In Variables Would You Add?
Replies: 0
Views: 538

Community Question - What Built In Variables Would You Add?

If you had your choice to add built-in variables to the main branch of AHK2 what would you add and why? For me, I would personally add A_AhkDir (AutoHotkey_H ftw), A_AppDataLocal, A_ProgramData (looking at you A_AppDataCommon). A_AhkDir, because I use it often enough. A_AppDataLocal, so I don't have...
by Larkal
01 Aug 2020, 02:40
Forum: AutoHotkey v2 Scripts and Functions
Topic: [v2] Yaml and JSON parser
Replies: 23
Views: 5840

Re: [v2] Yaml and JSON parser

Any chance of an update? I would love to use YAML as a configuration format for a project I am working on.
by Larkal
29 Jul 2020, 00:26
Forum: AutoHotkey v2 Help
Topic: Problem With Dynamically Generated TrayMenu Topic is solved
Replies: 2
Views: 1722

Re: Problem With Dynamically Generated TrayMenu Topic is solved

Thanks, I managed to get it working with func/bind. #SingleInstance Force A_TrayMenu.Delete ; Remove the default tray menu. global testArray := [ 21, 32, 54] Loop testArray.Length { A_TrayMenu.Add "testArray[" A_Index "] = " testArray[A_Index], Func("WhatsTheNumber").Bind(A_Index) } A_TrayMenu.Add ;...
by Larkal
26 Jul 2020, 22:27
Forum: AutoHotkey v2 Help
Topic: Problem With Dynamically Generated TrayMenu Topic is solved
Replies: 2
Views: 1722

Problem With Dynamically Generated TrayMenu Topic is solved

#SingleInstance Force A_TrayMenu.Delete ; Remove the default tray menu. global testArray := [ 21, 32, 54] Loop testArray.Length { A_TrayMenu.Add "testArray[" A_Index "] = " testArray[A_Index], (*) => WhatsTheNumber(A_Index) } A_TrayMenu.Add ; Separator A_TrayMenu.Add "Exit", (*) => ExitApp() WhatsT...
by Larkal
19 Jul 2020, 07:47
Forum: AutoHotkey v2 Scripts and Functions
Topic: MsgBox Creator for AHK v2 - a115
Replies: 10
Views: 3638

Re: MsgBox Creator for AHK v2 - a115

Awesome! Thanks, amazing work! I used to use the one for AHK 1 as well, much appreciated.
by Larkal
12 Jul 2020, 00:03
Forum: AutoHotkey v2 Help
Topic: Help and Questions about RegisterWindowMessage Topic is solved
Replies: 1
Views: 1231

Help and Questions about RegisterWindowMessage Topic is solved

I'm playing around with SKAN's RegisterWindowMessage Shellhook. (https://autohotkey.com/board/topic/80644-how-to-hook-on-to-shell-to-receive-its-messages/) From what I understand the ShellMessage function should only be receiving 2 parameters (wParam and lParam). However, when I use it it's receivin...
by Larkal
04 Jul 2020, 18:54
Forum: AutoHotkey v2 Help
Topic: Help Updating Lexikos ShellRun for Latest AutoHotkey 2 Release Topic is solved
Replies: 5
Views: 2004

Help Updating Lexikos ShellRun for Latest AutoHotkey 2 Release Topic is solved

I'm trying to get Lexikos's ShellRun running on AutoHotkey 2, but I'm running into problems. I'm not good with DllCalls and COM objects, so I'm at a bit of a loss. I'm running into these errors and I don't know what to do: Error: No valid COM object! ---> shellObj := ComObject(9, pdisp, 1).Applicati...
by Larkal
09 Apr 2020, 02:06
Forum: AutoHotkey_H
Topic: AutoHotkey_H v2 A_TrayMenu Problem
Replies: 2
Views: 1079

Re: AutoHotkey_H v2 A_TrayMenu Problem

Awesome thanks that fixed it!
by Larkal
08 Apr 2020, 05:59
Forum: AutoHotkey_H
Topic: AutoHotkey_H v2 A_TrayMenu Problem
Replies: 2
Views: 1079

AutoHotkey_H v2 A_TrayMenu Problem

A_TrayMenu.Add "Exit", "ExitApp" This was working in a previous version of AutoHotkey_H 2, but I just updated to the latest release ( as of 2 days ago ) and now this code throws an error Error: Invalid number of parameters. Line# ---> 002: A_TrayMenu.Add("Exit", "ExitApp") The current thread will e...
by Larkal
08 Mar 2019, 23:49
Forum: AutoHotkey_H
Topic: AutoHotkey_H 2 vs AutoHotkey v2
Replies: 1
Views: 1185

AutoHotkey_H 2 vs AutoHotkey v2

So I'm trying to figure out what I should transition to in regards to AutoHotkey 2 or AutoHotkey_H 2. I have a large collection of scripts written for AutoHotkey 1.1 that I'm currently converting to AHK v2. Is AutoHotkey_H 2 suitable as a standalone scripting environment or is it designed solely to ...
by Larkal
08 Mar 2019, 23:43
Forum: AutoHotkey v2 Development
Topic: Why Should I Switch to AHK v2?
Replies: 4
Views: 1350

Re: Why Should I Switch to AHK v2?

Thanks for the input! Anything you can tell me about the improved performance?
Also is AHK 2 feature complete when compared to 1.1 does it — in it's current state, have all the same features as AHK 1.1?
by Larkal
08 Mar 2019, 05:46
Forum: AutoHotkey v2 Development
Topic: Why Should I Switch to AHK v2?
Replies: 4
Views: 1350

Why Should I Switch to AHK v2?

I love being on the bleeding edge of technology and using the latest and greatest version of a software.
But why would I want to use AutoHotkey v2 over AutoHotkey 1.1 which works amazingly?

Go to advanced search