msgbox and objects ?

Get help with using AutoHotkey and its commands and hotkeys
bish01
Posts: 90
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] [Download] GeSHi © Codebox Plus

msgbox, % Object.LiteralKey1 " `n" Object.LiteralKey2


But what about this?
(without using var:=Object.LiteralKey, and displaying %var%)

Code: [Select all] [Download] GeSHi © Codebox Plus

msgbox, 
(
Object.LiteralKey1
Object.LiteralKey2
)


cheers
MaxAstro
Posts: 516
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: 90
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”

Who is online

Users browsing this forum: abcjme, andya34, cem, RickC, Shin1113, SirRFI and 27 guests