msgbox and objects ?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bish01
Posts: 96
Joined: 22 Feb 2016, 03:57

msgbox and objects ?

21 Mar 2018, 13:40

Hi, how do I properly display object in msgbox?

I understand this:

Code: Select all

msgbox, % Object.LiteralKey1 " `n" Object.LiteralKey2
But what about this?
(without using var:=Object.LiteralKey, and displaying %var%)

Code: Select all

msgbox, 
(
Object.LiteralKey1
Object.LiteralKey2
)
cheers
MaxAstro
Posts: 557
Joined: 05 Oct 2016, 13:00

Re: msgbox and objects ?

21 Mar 2018, 14:08

When you use a continuation section, you still need to put a % so that it knows you aren't sending a literal parenthesis.

EDIT: Sorry, that's slightly wrong, it figures out the parenthesis just fine but you do still need the %.
bish01
Posts: 96
Joined: 22 Feb 2016, 03:57

Re: msgbox and objects ?

24 Mar 2018, 20:06

Thanks Max for all your help. I just could not figure it out. But it is not important so no need to go further.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, Darkmaster006, ShatterCoder and 149 guests