user6464678
user6464678

Reputation:

How to pass a percent sign to a msgbox?

Using ^w::MsgBox, 100% returns:

This parameter contains a variable name missing.

But the same line without % sign works. How to fix it?

Upvotes: 2

Views: 2375

Answers (1)

sixtytrees
sixtytrees

Reputation: 1233

You must escape certain characters, such as % , , , ;. To escape them use the ` character.

 ^w::MsgBox, 100`%

Upvotes: 5

Related Questions