Jump to content

How To retrieve windows settings???


 Share

Recommended Posts

I know how to retrieve the computer's OS version with @OSVersion and screen res with @DesktopWidth and @DesktopHeight

but i want to find the theme (ie: Classic) and windows color (ie: Standard)

Anybody can help i'd much appreciate it

Edited by vladedoty
Link to comment
Share on other sites

I don't know if there is a direct way, but windows themes are located in "C:\WINDOWS\Resources\Themes" (XP) and

"C:\Users\User-Name\AppData\Local\Microsoft\Windows\Themes" in (vista and 7) so you can get all files in this directory in a loop and then check for there names to find, say if the theme is aero, there would be and aero folder or something like that.

Link to comment
Share on other sites

I don't know if there is a direct way, but windows themes are located in "C:\WINDOWS\Resources\Themes" (XP) and

"C:\Users\User-Name\AppData\Local\Microsoft\Windows\Themes" in (vista and 7) so you can get all files in this directory in a loop and then check for there names to find, say if the theme is aero, there would be and aero folder or something like that.

ok that solves the them aspect

but how about the windows color?

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...