Posted by member 302889 on 2006-02-21 21:11:23 link
cheers xcal.
i had a look at some docs on wiki.litestep and i figured out that i could do it this way as well...
*Hotkey WIN S !execute [C:\LiteStep\utilities\LSThemeInstaller.exe "/switch" "austerity"]
but what if i wanted to setup a !bang command in the hotkey.rc file so it was something like this
*Hotkey WIN S !ToggleTheme
what i don't know how to do is to create a bang command which detects which theme is currently loaded and based on that loads the other theme (i know i'll need an IF...ENDIF). Also i don't know where to put bang commands. There are over 500 pages on wiki when i search for bang that i feel lost in terms of a starting point for creating my own bang commands.
I know i can put a couple of comments in the evars.rc file like this...
Theme1 ""C:\LiteStep\utilities\LSThemeInstaller.exe" "/switch" "austerity""
Theme2 ""C:\LiteStep\utilities\LSThemeInstaller.exe" "/switch" "Obsidian-v1""
and then call them from a bang command using "$Theme1$" or "$Theme2$" so that i have an easy place to change the themes to toggle between in the future but i don't know much else.
i had a look at some docs on wiki.litestep and i figured out that i could do it this way as well...
*Hotkey WIN S !execute [C:\LiteStep\utilities\LSThemeInstaller.exe "/switch" "austerity"]
but what if i wanted to setup a !bang command in the hotkey.rc file so it was something like this
*Hotkey WIN S !ToggleTheme
what i don't know how to do is to create a bang command which detects which theme is currently loaded and based on that loads the other theme (i know i'll need an IF...ENDIF). Also i don't know where to put bang commands. There are over 500 pages on wiki when i search for bang that i feel lost in terms of a starting point for creating my own bang commands.
I know i can put a couple of comments in the evars.rc file like this...
Theme1 ""C:\LiteStep\utilities\LSThemeInstaller.exe" "/switch" "austerity""
Theme2 ""C:\LiteStep\utilities\LSThemeInstaller.exe" "/switch" "Obsidian-v1""
and then call them from a bang command using "$Theme1$" or "$Theme2$" so that i have an easy place to change the themes to toggle between in the future but i don't know much else.