Jump to content











Photo
- - - - -

Documentation: %HostOS%


  • Please log in to reply
7 replies to this topic

#1 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 08 March 2010 - 09:54 AM

Hi,

i am unsure what values for %HostOS% are valid, and the %HostOS% is not mentioned in the manual...

Thanks

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 March 2010 - 12:05 PM

Hi,

i am unsure what values for %HostOS% are valid, and the %HostOS% is not mentioned in the manual...

Thanks

minorVersion := osVerInfo.dwMinorVersion;

	majorVersion := osVerInfo.dwMajorVersion;

	if majorVersion <= 4 then

	  HostOS &#58;= &#39;NT&#39;

	else if &#40;majorVersion = 5&#41; and &#40;minorVersion = 0&#41; then

	  HostOS &#58;= &#39;W2000&#39;

	else if &#40;majorVersion = 5&#41; and &#40;minorVersion = 1&#41; then

	  HostOS &#58;= &#39;XP&#39;

	else if &#40;majorVersion = 5&#41; and &#40;minorVersion = 2&#41; then

	  HostOS &#58;= &#39;W2003&#39;

	else if &#40;majorVersion = 6&#41; and &#40;minorVersion = 0&#41; then

	  HostOS &#58;= &#39;Vista&#39;

	else if &#40;majorVersion = 6&#41; and &#40;minorVersion = 1&#41; then

	  HostOS &#58;= &#39;Win7&#39;;

Peter

#3 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 08 March 2010 - 12:11 PM

Thanks...if possible please also add this to the documentation und variables...

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 March 2010 - 06:28 PM

[German]
Du nervst!

Wenn Du demnächst einen Molotow-Cocktail in Deinem Wohnzimmer findest, denk mal nach ...
[/German]

[English]
Just something from friend to friend ...
[/English]

Peter :ranting2:

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 08 March 2010 - 06:56 PM

[English]
Just something from friend to friend ...
[/English]

:ranting2: Why do i suddenly hope, that we're not friends? :ranting2:

:ranting2:

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 March 2010 - 07:00 PM

:ranting2: Why do i suddenly hope, that we're not friends? :ranting2:

:ranting2:

You know that I sometimes hate you!

Peter :ranting2:

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 March 2010 - 08:40 AM

I have to apologize.

What I told ctmag some posts above, I meant as joke. I thought to express this by the 'cheers' smiley.

But it has been a bad joke and lead to misunderstandings.

Th opposite of the 'appearent sence' is valid:

In the past and still currently ctmag gives a lot of useful reports showing bugs or giving enhancement suggestions.

Sorry, ctmag, for my bad joke!

Peter

#8 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 09 March 2010 - 08:49 AM

All cleared now...thanks peter




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users