MSFN Forum: Variable getOSver() - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Variable getOSver() Rate Topic: -----

#1 User is offline   SirHaschke 

  • Junior
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 20-October 08

Posted 21 October 2010 - 07:36 AM

Hello,
in WPI there is the variable getOSver()
Usage: getOSver()=="XP"
Returns: 08, 03, Vista, XP, 2K, NT, ME, 98, or 95

I use Windows 7. Is it like Vista?

Thanks
Dennis


#2 User is offline   GhostAvatar 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 04-October 10
  • OS:none specified
  • Country: Country Flag

Posted 21 October 2010 - 01:33 PM

Those are just a few examples, for 7 it would be getOSver()=="Win7"

Also if you check the box that says "Insert conditions values or examples", it will actually pre-fill based off the variables of the current machine you are performing it on. So for example if you do that on your current machine it will prefill as I have posted above, that also goes for all dependencies.

#3 User is offline   SirHaschke 

  • Junior
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 20-October 08

Posted 22 October 2010 - 01:31 AM

Great.
Thanks for your help.

Dennis

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy