lyledg Posted March 10, 2005 Share Posted March 10, 2005 GUys I have written a script lately that needs to detect the OS. I know currently Autoit detects the usual and current OS's, but will there be plans to incorporate the detection of a Tablet OS in any future releases of Autoit..? Cheers Link to comment Share on other sites More sharing options...
cowsmanaut Posted March 12, 2005 Share Posted March 12, 2005 the way I would think you could detect that would be to see if any of the tablet OS unique processes were running. I'm sure there are a few. just a thought.. moo Link to comment Share on other sites More sharing options...
CyberSlug Posted March 12, 2005 Share Posted March 12, 2005 Run regedit and search for the term "Tablet" to see if any registry keys identify Tablet version of Windows?Might also look at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Holger Posted March 12, 2005 Share Posted March 12, 2005 (edited) Or you could use DllCall() like:Global Const $SM_TABLETPC = 86 $IsTablet = DllCall("user32.dll","int","GetSystemMetrics","int",$SM_TABLETPC) If Not @error And $IsTablet[0] Then ; It's a tablet pc;-) EndIfSo long... Edited March 12, 2005 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
antonioj84 Posted May 4, 2017 Share Posted May 4, 2017 (edited) On 3/12/2005 at 6:22 PM, Holger said: Or you could use DllCall() like: Global Const $SM_TABLETPC = 86 $IsTablet = DllCall("user32.dll","int","GetSystemMetrics","int",$SM_TABLETPC) If Not @error And $IsTablet[0] Then ; It's a tablet pc;-) EndIf So long... Edited May 4, 2017 by antonioj84 old tread 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