Jump to content

Changing Windows Themes >in the background<


newhere
 Share

Recommended Posts

Hey,

Im completely new to AutoIt and therefore am completely clueless what to do or understanding topics with similar problems.

Ive got the following script:

RunWait(@ComSpec & " /c " & '%SystemRoot%system32rundll32.exe %SystemRoot%system32shell32.dll,Control_RunDLL %SystemRoot%system32desk.cpl desk,@Themes /Action:OpenTheme /file:"C:UsersUsernameAppDataLocalMicrosoftWindowsThemesDay.theme"', "", @SW_HIDE)
WinWait("Anpassung")
WinClose("Anpassung")

Where "Anpassung" is the Windows 7 Personalization Window where you change/create themes (I dont know the exact name in the english version of Windows). This combined with the task schedule function of windows 7 changes my themes according to daytime.

It works perfectly except for one thing that is bugging me:

It opens the Personalization window for a short moment, even when Im doing something in another application (browsing, playing a game and so on).

My question: Is it somehow possible to change the script so it opens the window and closes in the background?

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...