(At least,) Command SendMessage's first arg Msg doesn't support expression in AHK V2.
So
Code: Select all
x:=12,
SendMessage x,.. ;don't work
SendMessage % x,.. ;could work
Code: Select all
x:=12,
SendMessage x,.. ;don't work
SendMessage % x,.. ;could work
v2-changes wrote:Command args are never expressions by default, except with control flow statements such as Return. The % (percent followed by space) prefix can still be used to force an expression.
Users browsing this forum: No registered users and 41 guests