Jump to content

Recommended Posts

Posted

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

Posted

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

Posted (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;-)
EndIf

So long...

Edited by Holger
  • 12 years later...
Posted (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 by antonioj84
old tread

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...