Apply Windows 7 Themes Using AutoHotkey and Bat File


Ever wondered if it’s possible to apply Windows 7 themes using a single keystroke? It sure as hell is possible!

How to quickly apply Windows 7 themes

Download And Install AutoHotkey

1. Head over to http://www.autohotkey.com and download the fantastic installer
2. After the installation get familiar with Autohotkey

You will find various Autohotkey tutorials on our site:

Create Batch File To Apply Windows 7 Themes

As described in our tutorial how to schedule Windows 7 themes you can apply themes using a batch file.

1. Open the notepad editor
2. Insert the following text:

rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:”C:\Windows\Resources\Themes\1.theme”

Make sure to replace the quotes with real quotes and rename 1.theme to the name of your own theme e.g. Skyrim.theme

3. When you save the text file, select “All files” from the dropdown and add the extension .bat to the filename

4. Open the AutoHotkey.ahk text file and insert:

^!i::Run C:\scripts\apply.bat

5. Change the path C:\Scripts\apply.bat to the location of your own bat file that we created in step 2.
^ = CTRL
! = ALT
i = i

You can now use the key combo CTRL + ALT + I to change your Windows 7 theme to the specified theme in the bat file.

6. Simply modify the script using the AutoHotkey syntax if you don’t like the current key combo. Shift is a plus sign, but you can use all other keys as well.

Applying the Windows 7 themes with a single key combo is a nice option if you have multiple favorite themes that you regularly use. Once you get bored of a theme you can quickly change to another without opening up the Personalization Control Panel.

Do you have any other cool ideas for AutoHotkey scripts that involve Windows 7 themes? If so send them to us via mail win7themes at googlemail dot com – we’ll reward the best tips.

Rate this article:
This article was rated 5 out of 5 stars
Based on 1 votes

Sexy Fantasy Themes: Allods Online
10 Nice Custom Windows 7 Themes
10 Cute Pink Windows 7 Themes

Juicy Logo White You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific.

If you have some awesome desktop themes, tips or want to write for us, then drop us a mail!



Written by: Oliver Krautscheid (Nick: oliversk)
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common e.... Full Bio

Contact The Author: support@windows7themes.net Get Free Help.png

Connect:

facebook google twitter LinkedIn


Need help? Ask a question at our QA site, click the red button to get started:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>