KeeWay Posted November 12, 2009 Share Posted November 12, 2009 where does the macro @osversion pull its information from? I have a script that checks the os version but i need to isolate a couple workstations but i don't want to rewrite the script just for the few workstations. I was thinking of changing what the @osversion returns on those workstations but i need to know where it is getting its info "WIN_XP" from. thanks James Link to comment Share on other sites More sharing options...
EndFunc Posted November 12, 2009 Share Posted November 12, 2009 where does the macro @osversion pull its information from?I have a script that checks the os version but i need to isolate a couple workstations but i don't want to rewrite the script just for the few workstations. I was thinking of changing what the @osversion returns on those workstations but i need to know where it is getting its info "WIN_XP" from.thanksJameswhy not isolate them by something unique like Ipaddress or machine name? EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
KeeWay Posted November 12, 2009 Author Share Posted November 12, 2009 why not isolate them by something unique like Ipaddress or machine name?thanks i thought about that as well but to be honest one of my co-workers wrote this script awhile back and lost the original code so all we have is the exe. i was hoping it was some registry key that can be changed on the local workstation so that it shows up as something other than "WIN_XP" to the autoit script.thanksJames Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 12, 2009 Share Posted November 12, 2009 thanks i thought about that as well but to be honest one of my co-workers wrote this script awhile back and lost the original code so all we have is the exe. i was hoping it was some registry key that can be changed on the local workstation so that it shows up as something other than "WIN_XP" to the autoit script.thanksJamesNo it's more likely to be a call to GetVersionEx or similar .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now