how to add an X=msgbox command using sendkeys vbs

Zatando Source

when I try adding the " quotes in

X=msgbox"Writing",48,"Title" 

but the quotes wont recognise.

I've tried using {} but that doesn't help either?

vbscriptvirtualsendkeysbasic

Answers

answered 6 days ago Theo #1

If you want to capture the result of the MsgBox in variable X, you need to put brackets around the parameters like so:

X = Msgbox("Writing",48,"Title")

comments powered by Disqus