...
I have also found a new bug and let the author know around permissions. One can not run telnet and see certain files when jumping to the command line using Hoekey.
Code Block | ||
---|---|---|
| ||
; Simple Example HoeKey config ; ; Key Modifiers: ; ~=windows, _=shift, ^=ctrl, @=alt ; ; More details at http://www.bcheck.net/apps/hoe.htm ; Tin's hoekey.ini for Windows 7 64-bit ; See http://en.wikipedia.org/wiki/Environment_variable to understand environment variables ; Start in system tray Start=TrayIcon|1|Double-click to configure your Windows Key =Rem|-- General -- ~Q=Config ;win+Q: Configure HoeKey ~^O=Run|"D:%SystemDrive%\Tin\connectivity\2keys mail and ciphershare.tlp" ;win+ctrl+o: Bitvise Tunneling for Outlook and Ciphershare ~O=Run|"C:%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Outlook 2007.lnk" ;win+o: Outlook ~I=Run|"C:\Users\Server Admin\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer (64-bit).lnk" ;win+i: IE 64-bit ~^I=Run|"C:%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Mozilla Firefox\Mozilla Firefox.lnk" ;win+ctrl+i: Firefox ~@I=Run|"C:\Users\Server Admin\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk" ;win+alt+i: IE 32-bit ~_I=Run|"C:\Users\Server Admin\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk" ;win+shift+i: Chrome ~J=Run|cmd.exe|||D:\ ;; There is currently a bug where telnet.exe and some other commands will not work. ; This appears to be due to permissions. "dir telnet.exe /s" using Hoekey can not see. ; c:\Windows\System32\telnet.exe ; Strangely C:\Windows\System32\ping.exe works and appears to have the exact same permissions. ; ; Temporary solution, as a regular user copy telnet.exe to C:\Windows\ which is already in the system path. ; ~J=Run|%COMSPEC%|||C:\ ;win+j: Command shell ~^J=Run|cmd.exe%COMSPEC%|||%c %c ;win+ctrl+j: Command shell in current directory =Rem|-- Communication -- ~K=Run|D:\data-vmshared\%SystemDrive%\apps\KiTTY\kitty.exe exe ;win+k: Kitty Putty ~^K=Run|"C:\Program Files %ProgramFiles(x86)%\ExpanDrive\ExpanDrive.exe" ;win+ctrl+k: ExpandDrive SSH Drive Mapping ; For working directory to work properly you must startup using a shortcut. ~C~[=Run|"C:%SystemDrive%\apps\Putty Connection Manager\puttycm.shortcut.lnk" ;win+c: Putty Connection Manager =Rem|-- Utilities -- ; For some reason Araxis will not launch through Hoekey via the .lnk ~A=Run|"C:\Program Files\%ProgramW6432%\Araxis\Araxis Merge\Merge.exe" ;win+a: Araxis Merge ~^A=RUN|"C:\Program Files\%ProgramW6432%\Araxis\Araxis Merge\Merge.exe" %c %c ;win+ctrl+a: Araxis Merge Folder Comparison first argument is current folder ; This should be improved to change d:\ to the desktop variable ~N=Run|C:%SystemDrive%\apps\metapad351\metapadnpp.5.7.bin\unicode\notepad++.exe|||d:%USERPROFILE%\Desktop ;win+n: Metapad ~^N=Run|notepad.exe ;win+ctrl+n: Notepad ~Z=Run|D:\data-vmshared\Notepad Plus Plus, default saves to desktop ~^N=Run|%SystemDrive%\apps\npp.5.7.bin\unicode\notepad++.exe %s||| ;win+p: Load selected file into Notepad Plus Plus ~^Z ~Z=Run|D:\data-vmshared\apps\npp.5.7.bin\unicode\notepad++.exe %s||| ;win+p: Load selected file into Notepad Plus Plus ; Attempt to replace puretext but does %SystemDrive%\apps\metapad351\metapad.exe|||%USERPROFILE%\Desktop ;win+z: Metapad, start in desltop ~^Z=Run|notepad.exe|||%USERPROFILE%\Desktop ;win+ctrl+z: Notepad ; Does not work as I expect and logs me out ;~V=Keys|%p%p ;win+v current clipboard as plaintext ;~^v=Keys|%P ;win+ctrl+v current clipboard as plaintext, removing returns and newlines ; Edit host file with admin rights ; This requires the elevate scripts ;~^H=Run|C:\apps\elevate.from.command.line\elevate.cmd C:\apps\metapad351\metapad.exe C:\Windows\System32\drivers\etc\hosts ;win+ctrl+h: edit hosts file using elevate utility ; ; Though the above works, I find it's the elevate prompt annoying so instead, I just changed hosts file permission. ~^H=Run|C:\apps\metapad351\metapad.exe C:\Windows\System32\drivers\etc\hosts ;win+ctrl+h: edit hosts file =Rem|-- Folders -- ~S=Run|d:%SystemDrive%\svnsvn ~W=Run|D:%SystemDrive%\Tin\w =Rem|-- Windows Manipulation -- ~Y=Center||2 ~^left=MoveRel||-10 ;win+ctrl+left: move current window left 10pixels ~^up=MoveRel|||-1010 ;win+ctrl+up: move current window up 10pixels ~^right=MoveRel||10 ;win+ctrl+right: move current window right 10pixels ~^down=MoveRel|||10 ;win+ctrl+down: move current window down 10pixels ~end=Hide||1 ;win+end: hide current window to system tray ~^end=Unhide ;win+ctrl+end: show last hidden window from system try ~H=Transparency||30% ;win+h: Make current window =AlwaysOnTop ;transparent and on top ~F9=AlwaysOnTopAlwaysOnTop ;win+f9: Pin current window to always show ; Future Keys to overried ; Back 8 ; PRINt 42 ; A, Z |