Posted by member 5575 on 2006-09-02 15:45:33 link

Yep. Release notes say:
3. Resource Expansions

CompileDate
ResolutionX
ResolutionY
UserName


Changelog says:
- Modified [lsapi / Message / 2000-10-18]
- Added two new variables ResolutionX and ResolutionY which is the screen height and
width in pixels, not very usefull with the current if,else implementation, but
provided for future use with expressions


Been there a looooong time. Is ResolutionX defined properly? Hard to imagine how you could have the one but not the other, unless for some reason this call is failing:
StringCchPrintf(szTemp, MAX_PATH, "%d", GetSystemMetrics(SM_CYSCREEN));
SetVariable("ResolutionY", szTemp);