A_MsgBoxResult is always blank?

Ask for help, how to use AHK_H, etc.
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

A_MsgBoxResult is always blank?

25 Mar 2017, 13:27

https://hotkeyit.github.io/v2/docs/comm ... htm#Result

Code: Select all

msgBox, 36, Save first?, Would you like to save first? otherwise any unsaved changes won't be applied.
toolTip >%A_MsgBoxResult%<
msgBox %A_MsgBoxResult%
tested with the latest ahk_h v1, Win32w
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: A_MsgBoxResult is always blank?

25 Mar 2017, 15:02

perhaps, I assumed it was a general ahk_h feature as it doesn't mention [version #] anywhere, and It's on the ahk_h docs page.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: A_MsgBoxResult is always blank?

25 Mar 2017, 15:11

It was available in AHK v2 only but is not anymore, I have not updated the docs yet, see https://lexikos.github.io/v2/docs/comma ... ode]msgBox, Would you like to save first? otherwise any unsaved changes won't be applied., Save first?,36, A_MsgBoxResult
toolTip >%A_MsgBoxResult%<
msgBox %A_MsgBoxResult%[/code]
guest3456
Posts: 3463
Joined: 09 Oct 2013, 10:31

Re: A_MsgBoxResult is always blank?

25 Mar 2017, 17:46

it was removed in the latest AHK v2
https://autohotkey.com/boards/viewtopic ... 41#p138141

MsgBox thread:
https://autohotkey.com/boards/viewtopic ... 37&t=24001

i think the AHK_H web docs are mostly for AHK_H v2

HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: A_MsgBoxResult is always blank?

25 Mar 2017, 17:54

guest3456 wrote:i think the AHK_H web docs are mostly for AHK_H v2
Correct, it is v2 only and most of the new features apply to v1.
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: A_MsgBoxResult is always blank?

25 Mar 2017, 19:21

I see
rawr. fear me.
*poke*
Is it December 21, 2012 yet?

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 48 guests