# ============================================================================ # Shortcuts configuration file for TorkilsTaskSwitcher # # Basic Shortcut Configuration # ---------------------------- # Basic definition of a shortcut consists of four items: # Name: The name shown in the GUI. # TitleRegExp: A regular expression used to identify the window to be # activated when the shortcut is chosen. # Command: Command to run if no window matches TitleRegExp. Optional. # Environment variables (surrounded by '%') may be used. # Key: The shortcut key. Examples: # a-z # 0-9 # f1-f12 # Optionally above keys can be prefixed with # + = Shift # ! = Alt/AltGr # ^ = Ctrl # # Note that after changing the shortcuts file, TorkilsTaskSwitcher must # be restarted (ctrl-r). # # # Advanced Shortcut Configuration # ------------------------------- # For more advanced shortcut configuration TitleRegExpNeg can be used: # TitleRegExpNeg: A negative title regular expression, i.e. a regexp # which the window title must NOT match. # # When TitleRegExpNeg is used, TorkilsTaskSwitcher will # switch to the first window for which the title does NOT # match TitleRegExpNeg and does match TitleRegExp. # CommandDir: Directory from which Command is started. # # # One shortcuts file can be included in another using a "include" statement: # "include my_file.cfg" # # # Regular Expressions # ------------------- # If you are unfamiliar with regular expressions (as used in TitleRegExp and # TitleRegExpNeg), then a few tips are: # To match a text anywhere in the window title, use # TitleRegExp=My Window Title # # To match a text only at the start of the window title, use # TitleRegExp=^My Window Title # # To match a text only at the end of the window title, use # TitleRegExp=My Window Title$ # # For the purpose of this configuration file, above regular expression # examples should cover the need of most users. # # For more advanced regular expressions refer to: # http://perldoc.perl.org/perlrequick.html # http://perldoc.perl.org/perlretut.html # ---------------------------------------------------------------------------- # Browsers # -------- Name=Internet Explorer TitleRegExp=Windows Internet Explorer Command=%PROGRAMFILES%\Internet Explorer\iexplore.exe Key=i Name=Mozilla Firefox TitleRegExp=Mozilla Firefox$ Command=%PROGRAMFILES%\Mozilla Firefox\firefox.exe Key=f Name=Google Chrome TitleRegExp=Google Chrome$ Command=%PROGRAMFILES%\Google\Chrome\Application\chrome.exe Key=c # Email clients # ------------- Name=Microsoft Outlook TitleRegExp=- Microsoft Outlook$ Command=%PROGRAMFILES%\Microsoft Office\Office12\OUTLOOK.EXE Key=o Name=Mozilla Thunderbird TitleRegExp=Mozilla Thunderbird$ Command=%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe Key=t # Various applications # -------------------- Name=Microsoft Excel TitleRegExp=^Microsoft Excel Command= Key=x Name=Microsoft PowerPoint TitleRegExp=^Microsoft PowerPoint Command= Key=p Name=Microsoft Visio TitleRegExp=Microsoft Visio$ Command=%ALLUSERSPROFILE%\Start Menu\Programs\Microsoft Office\Microsoft Office Visio 2007 Key=s Name=Microsoft Word TitleRegExp=(- Microsoft Word$|^Microsoft Word$) Command= Key=w Name=Adobe Reader/Acrobat TitleRegExp=^(.*Adobe Reader|Adobe Acrobat.*)$ Command= Key=a Name=Windows Media Player TitleRegExp=^Windows Media Player$ Command=%PROGRAMFILES%\Windows Media Player\wmplayer.exe /prefetch:1 Key=m Name=VLC media player TitleRegExp=VLC media player$ Command=%PROGRAMFILES%\VideoLAN\VLC\vlc.exe Key=v # Folders # ------- Name=C: TitleRegExp=^C:\\$ Command=%WINDIR%\explorer.exe c:\ Key=+c # "My Documents" Name=My Documents TitleRegExp=^My Documents$ Command=%SystemRoot%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103} Key=+d # "Computer" Name=Computer TitleRegExp=^Computer$ Command=%SystemRoot%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D} Key=!c # ---------------------------------------------------------------------------- # End of File # ============================================================================