View unanswered posts | View active topics

Reply to topic  [ 1 post ] 
AHK Hotkey to quickly switch between themes 
Author Message

Joined: Fri Jul 23, 2010 10:26 am
Posts: 146
Reply with quote
If you switch a lot between themes, e.g. use a light theme during daytime and a dark theme in the after hours, you might find this AHK script useful.
In this example, use Ctrl-Alt-1 to switch to SolarizedDark, Ctrl-Alt-2 to switch to SolarizedLight and Ctrl-Alt-3 to switch to DefaultTheme.

#if WinActive("ahk_exe FlashDevelop.exe")
   ; Load SolarizedDark UI theme
   ; Load SolarizedLight UI theme
   ; Load Default UI theme
   LoadFDTheme(ThemeName) {
      Send {Ctrl up}{Alt up}^s!t{Up 8}{Enter}
      WinWaitActive, ahk_class #32770,, 1
      if (ErrorLevel == 0)
         Send %ThemeName%{Enter}

Sat Oct 17, 2015 7:33 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.