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

winmove, KEDIT - [, , 15, 43, 1316, 954

I can't find anything in the WinMove documentation https://www.autohotkey.com/docs/commands/WinMove.htm

that leads me to believe my code is incorrect. There is also nothing a the documentation for a "Window Title" about this. That is at: https://www.autohotkey.com/docs/misc/WinTitle.htm

The title of the window is "KEDIT - [C:\"...

A short discussion of this is found at: https://autohotkey.com/boards/viewtopic.php?f=5&t=40946 where I first presented it as a question. There one will find a couple of very interesting points. Another is this:

At the documentation for "Functions", one finds this quote:

The "% " prefix is also permitted in parameters that natively support expressions, but it is simply ignored.

The first variant syntax for WinMove is: Winmove, x, y. The documentation states X or Y may be an expression. That being the case, why does the following suggested workaround

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

winmove, % "KEDIT - [", , 15, 43, 1316, 954

work? One would think that the "%" being ignored as in the quote above would make the preceding code not achieve the desired result.

If the "%" is simply ignored, we get:

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

WinMove, "Kedit - [", , 15, 43, 1316, 954