MSFN Forum: kTool (just another software selector) - MSFN Forum

Jump to content


  • 8 Pages +
  • « First
  • 6
  • 7
  • 8
  • You cannot start a new topic
  • You cannot reply to this topic

kTool (just another software selector) Rate Topic: ***** 1 Votes

#141 User is offline   zuardin 

  • Group: Members
  • Posts: 5
  • Joined: 06-April 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2012 - 04:36 PM

View Postcluberti, on 18 January 2010 - 11:16 AM, said:

The ReturnOSVersion function should contain:
Case $VER = "WIN_7"
$OS = "Windows 7"
Case $VER = "WIN_VISTA"
$OS = "Windows Vista"
Case $VER = "WIN_XP" 
$OS = "Windows XP"
Case $VER = "WIN_2000" 
$OS = "Windows 2000"
Case $VER = "WIN_98" 
$OS = "Windows 98"
Case $VER = "WIN_ME" 
$OS = "Windows ME"
Case $VER = "WIN_95" 
$OS = "Windows 95"
Case $VER = "WIN_NT4" 
$OS = "Windows NT4"


What you do with the new responses in that source is your own design. Note you can get the version simply by returning the @OSVersion macro:

MsgBox (0, "OS Version", @OSVersion)

For example:
Posted Image


'UNKNOWN" on windows 8


#142 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,342
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2012 - 05:53 PM

As you can CLEARLY see the code does not exist for win 8...

Case $VER = "WIN_7"
$OS = "Windows 7"
Case $VER = "WIN_VISTA"
$OS = "Windows Vista"
Case $VER = "WIN_XP"
$OS = "Windows XP"
Case $VER = "WIN_2000"
$OS = "Windows 2000"
Case $VER = "WIN_98"
$OS = "Windows 98"
Case $VER = "WIN_ME"
$OS = "Windows ME"
Case $VER = "WIN_95"
$OS = "Windows 95"
Case $VER = "WIN_NT4"
$OS = "Windows NT4"

#143 User is offline   zuardin 

  • Group: Members
  • Posts: 5
  • Joined: 06-April 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2012 - 11:16 PM

View PostKelsenellenelvian, on 09 December 2012 - 05:53 PM, said:

As you can CLEARLY see the code does not exist for win 8...

Case $VER = "WIN_7"
$OS = "Windows 7"
Case $VER = "WIN_VISTA"
$OS = "Windows Vista"
Case $VER = "WIN_XP"
$OS = "Windows XP"
Case $VER = "WIN_2000"
$OS = "Windows 2000"
Case $VER = "WIN_98"
$OS = "Windows 98"
Case $VER = "WIN_ME"
$OS = "Windows ME"
Case $VER = "WIN_95"
$OS = "Windows 95"
Case $VER = "WIN_NT4"
$OS = "Windows NT4"


i hope this ktool can work on windows 8,,i was add on code WIN_8 and not working, so i try the @OSVersion macro: MsgBox (0, "OS Version", @OSVersion),,and "UNKNOWN" Message Appear,,

#144 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,342
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2012 - 11:48 PM

Add this to the ReturnOSVersion function:

Case $VER = "8"
$OS = "Windows 8"

#145 User is offline   zuardin 

  • Group: Members
  • Posts: 5
  • Joined: 06-April 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 December 2012 - 04:19 PM

thanks,,solved,,i was update autolt version to 3.3.8.1 :
Posted Image

Posted Image

#146 User is offline   BimboGigi 

  • Group: Members
  • Posts: 1
  • Joined: 02-March 10
  • OS:none specified
  • Country: Country Flag

Posted 16 January 2013 - 05:00 AM

Thanks !!!!! It's work !!!!!!!!

Share this topic:


  • 8 Pages +
  • « First
  • 6
  • 7
  • 8
  • 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 - 2013 msfn.org
Privacy Policy