expression "resolutiony" not defined Thread last updated on 2008-06-16 17:31:52

Posted by member 18698 on 2006-09-02 13:08:35

i get this message on a some themes (West's Discovery, and Ashtefere's Ultimatum) ... some said this should be a litestep verison problem. however i believe i have the latest releases: omar's installer updated with the litestep-2006-03-30 experimental build.
maybe im looking at the wrong place for the latest thing?
or it is not a version problem

Posted by member 212670 on 2006-09-02 14:38:41 link

If the theme has a command in it, try this in it...

!alert $resolutiony$

or if it doesn't, put this in windows 'run' (winkey+r)...

c:\litestep\litestep.exe !alert $resolutiony$
(change ls path if needed)

What happens?

If one of the above returns your actual horizontal resolution, maybe it's a typo in the theme.

Posted by member 18698 on 2006-09-02 15:00:22 link

it says variable not defined
and as i mentioned, it happened on more themes reported to work ...

Posted by member 1 on 2006-09-02 15:06:37 link

what is your horizontal resolution?

Posted by member 18698 on 2006-09-02 15:11:27 link

sorry im not sure ... desktop resolution is 1024*768

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

That'd be 1024 then. =)

Posted by member 212670 on 2006-09-02 15:39:04 link

Don't know what you tell you, then. I'm running the same (omar's and last exp build) and both return my horizontal res. Pretty sure that's a var the core makes?

Posted by member 1 on 2006-09-02 15:44:04 link

yea...it is a core evar.

Next question...are you running LS on top of explorer when you get the error?

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);

Posted by member 18698 on 2006-09-02 15:45:56 link

nope, it always runs it alone (at least i believe so) task manager does not show explorer at least

Posted by member 18698 on 2006-09-02 15:46:55 link

it means it got lost somehow?

Posted by member 5575 on 2006-09-02 15:50:42 link

Hmmm, are you using some other type of vwm or desktop manager? Perhaps one that came with a video card or something?

Posted by member 18698 on 2006-09-02 15:55:09 link

not any that i know of ... something supposed to clash with litestep?

Posted by member 5575 on 2006-09-02 16:00:56 link

What about resolutionx and username?

!alert $resolutionx$
!alert $username$

Are those defined?

Posted by member 18698 on 2006-09-02 16:04:12 link

hm they both are

Posted by member 5575 on 2006-09-02 16:10:58 link

I dunno - the core sets it, and although you can modify the value you can't "undefine" an evar. Very strange.

Posted by member 18698 on 2006-09-02 16:38:57 link

im lost
WHYYY?

Posted by member 1 on 2006-09-02 17:08:55 link

yer lost because you were on Oceanic flight 815.

Posted by member 18698 on 2006-09-02 17:14:00 link

i never actually was on a plane B'(

Posted by member 280260 on 2006-09-02 17:23:01 link

In the meantime you can go through the theme files and replace every occurence of $resolutionx$ with 1024. Not a great solution, but you won't get errors anymore.

Posted by member 18698 on 2006-09-02 17:24:12 link

you mean resolutiony, i presume ...

Posted by member 1 on 2006-09-02 17:49:56 link

rapchee...the problem is that millions have downloaded and installed LS without this problem. There is something unique to your machine that is causing this problem. What are the "special" or "unique" applications that you run?

Posted by member 18698 on 2006-09-02 18:07:38 link

actually i've been using it for a while without a problem
what i could think about right now is some sh!t that my roomate recently installed, like google earth, desktop dontknow what else ...
so i think i should look for unusual resident tasks?

Posted by member 1 on 2006-09-02 18:17:07 link

hrmm...try uninstalling it and see what happens. also find out what else he loaded.

Posted by member 219700 on 2006-09-02 19:10:56 link

I told you! Google is the devil!

Posted by member 1885 on 2006-09-02 19:46:55 link

Then hell must be knowing everything that's on the internet.

Posted by member 1 on 2006-09-02 19:57:26 link

why is it that I get blamed for everything that goes wrong in the world?

Posted by member 5575 on 2006-09-02 19:59:12 link

Cuz' you da man, er, da bOi.

Posted by member 1885 on 2006-09-02 20:01:59 link

You should really take legal action against the writers of that horrid old book.

Posted by member 18698 on 2006-09-03 06:49:23 link

still wont work B{

Posted by member 18698 on 2008-06-16 17:31:52 link

the problem solved with 0.24.8RC. megayays! sw33tn3s! \o/\o/\o/