system.osName

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Alan Eddie
Posts: 30
Joined: January 12th, 2012, 1:36 am
Location: Ireland
Contact:

alert(system.osName);
is giving me undefined on Win 7 x64 ?


Can't figure it out... I know it's something ultra simple that I have overlooked.
I am getting the build number etc from the other object properties.

Can anybody tell me the obvious?
Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin
Alan Eddie
Posts: 30
Joined: January 12th, 2012, 1:36 am
Location: Ireland
Contact:

$.writeln(system.osName);

is giving me.........


<![CDATA[
]]>Result: undefined


hmmmm.
Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin
Alan Eddie
Posts: 30
Joined: January 12th, 2012, 1:36 am
Location: Ireland
Contact:

Ok working now...

$.os.indexOf("Windows") != -1

is working instead.
Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin
Post Reply