summaryrefslogblamecommitdiffstats
path: root/ahk-assistant.ahk
blob: 5ee9852c8e41308b6ff00bda400ca6da9022268f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
 
                        
 
 


                     


                            
                                 
                                                                                                                                                                                          





                             

                                                                     
                                                                                                    
 

               
                                  
                                                              
                   
                                    


                                
                              


      
                                           




                               
                                    


      
                                       

        
                                                              


                                         

                                                          
           

                        
                                                    


      
                                         

        
              

                        
                                                      


      
                                                         

        

                                                                           
                                     
                                           


                     

                             

                                                                                        


                                                                

                                          

                               

                                               
        
                                                       






                            
                                     


                                           
        









                                                                      
                              
                     










                                                                                                                                 



                            
                            








                                                                       




                               
                  
                      
                    



                          
                      
                      
                               

                                                 
                                                               
                                     







                            
                          



                       


                        
                       
                       
                        
                           
                           
                       




                     
                    

                          

                     



                                                            


                        
                                  


      
                                        




                        
                      








                             
                             


      





                                   

        
 













                        






























                                                                   
 
                                    





































































                                                                                           
; ^ctrl #win !alt +shift


;environment
#NoEnv
#SingleInstance,Force
SetTimer, ScriptReload, 1000
SetWinDelay,2
CoordMode,Mouse
SetWorkingDir %A_MyDocuments%\..\
ProgramFilesX86 := A_ProgramFiles . (A_PtrSize=8 ? " (x86)" : "") ;pfx86 variable from http://www.autohotkey.com/board/topic/79160-a-programfiles-for-programs-in-windows-7-x86-directory/

;keystates
SetCapsLockState, AlwaysOff
SetScrollLockState, AlwaysOff
SetNumLockState, AlwaysOn

;includes
#Include, %A_ScriptDir%\appspecific.ahk ;application specific hotkeys
#Include, *i %A_ScriptDir%\secret.ahk ;physical and ip address completions, only included if exists.

;hotkeys
#q::Run notepad
^q::Send !{F4} ;quit most programs
#+q::Run notepad.exe "%A_MyDocuments%\Vault\docs\faulties.txt"
#w::Run firefox.exe
#+w::Run firefox.exe -private-window
#e:: ;launch documents directory
if A_OSVersion in WIN_XP
  {
  Run explorer %A_MyDocuments%
  }
  Else