|
Due to the need to preserve backward compatibility, only those parameters explicitly marked in the help file with "this can be an expression" can be an expression natively. However, by preceding any parameter with a "% " (percent sign and space), it becomes an expression.
I think you tried to do this, but it didn't work because the "% " must be the first thing in the parameter (it can't be in the middle of a parameter). Here is a revised line that might do what you want. Note that the leading spaces in things like " y" and " w" are required to build the string into something that can be parsed properly:
GUI, Show, % "x" . SystemDialogX . " y" . SystemDialogBottom " w" . SystemDialogW - 5 . " h84 NA", Choose Drive
|