Use local variables as integer and not as a string
Posted: Fri Apr 13, 2018 3:43 pm
I am newbie, so I hope you understand 
I use the task editor to declare 2 local variables
WIDTH=0
HEIGHT=0
Then I use Window Get Size and Position to get the width and the height of the active window and store these values in the variables
That's working
Then I use Window Size and Position to place the active Window
To keep it simple I want to change the position of the Window, let's say:
X: {ScreenW(0)}-{WIDTH}
Y: {HEIGHT}
The X value is not accepted:
Thanks in advance for your support and have a nice day

I use the task editor to declare 2 local variables
WIDTH=0
HEIGHT=0
Then I use Window Get Size and Position to get the width and the height of the active window and store these values in the variables
That's working
Then I use Window Size and Position to place the active Window
To keep it simple I want to change the position of the Window, let's say:
X: {ScreenW(0)}-{WIDTH}
Y: {HEIGHT}
The X value is not accepted:
What am I doing wrong?The value "1920-427" is not an integer value. XPos has been reset to default value (0)
Thanks in advance for your support and have a nice day