├── .gitignore ├── README.md ├── Templates ├── README.md ├── Template.ahk ├── Template.au3 ├── document with header.odt ├── document.odt ├── index.html └── viatc.ini ├── ViATc-0.5.5en.ahk ├── WhatsNew.txt ├── history_of_rename.txt ├── marks.ini ├── old ├── viatc-0.5.3 │ ├── README.md │ ├── ViATc-0.5.3en.ahk │ ├── executable.zip │ ├── sample ini file │ │ ├── readme.txt │ │ └── viatc.ini │ ├── viatc.ico │ ├── viatc.lnk │ └── viatcdis.ico ├── viatc-0.5.4 │ ├── README.md │ ├── ViATc-0.5.4en.ahk │ ├── sample ini file │ │ ├── readme.txt │ │ └── viatc.ini │ ├── viatc.ico │ ├── viatc.lnk │ └── viatcdis.ico └── viatc-0.6.2unfinished │ ├── README.md │ ├── ViATc help for 0.4.1.htm │ ├── actions │ ├── General.ahk │ ├── MSWord.ahk │ ├── QDir.ahk │ ├── TCCOMMAND+.ahk │ ├── TCCOMMAND.ahk │ ├── TConly.ahk │ ├── Tools.ahk │ └── temp.ahk │ ├── viatc-0.6.2en.ahk │ ├── viatc.ico │ ├── viatc.ini │ ├── viatcdis.ico │ └── vimcore.0.2.1.ahk ├── user.ahk ├── viatc.ico ├── viatc.ini └── viatcdis.ico /.gitignore: -------------------------------------------------------------------------------- 1 | # do not track the folder below 2 | /ignored 3 | 4 | # ignore the history_of_rename.txt and history_of_rename[01].txt 5 | #history_of_rename.txt 6 | #history_of_rename* 7 | #history_of_rename\[01\].txt 8 | 9 | # ignore marks 10 | #marks.ini 11 | #marks*.ini 12 | 13 | # ignore binary files 14 | *.exe 15 | *.rar 16 | *.zip 17 | 18 | # ignore tmp and bkp files 19 | *~ 20 | ~* 21 | *.bkp 22 | *_backup.ini 23 | 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ViATc 2 | ===== 3 | ViATc - Vim mode at Total Commander 4 | 2021/12/19 version 0.5.5.4 5 | ![viatc_logo credit: https://github.com/linxinhong](https://magicstep.github.io/viatc/viatc_logo.jpg?raw=true "viatc_logo") 6 | image credit: https://github.com/linxinhong
7 | This software works on Windows as an addition to "Total Commander" :floppy_disk: - the greatest file manager :100: (keyboard friendly, two panels, advanced search, comparator, multi-rename, FTP, plugins) get it from www.ghisler.com 8 | ViATc tries to resemble the work-flow of Vim and web browser plugins like Vimium or better yet SurfingKeys. 9 | 10 | What ViATc does to Total Commander (called later TC): 11 | - it's only a separate addition, easily disabled, it doesn't modify TC 12 | - adds more shortcuts, you can add and reconfigure them 13 | - adds more functionality - supports all that AutoHotkey does, not just TC 14 | 15 | ![image credit: https://www.itqiyi.com/archives/2073](https://magicstep.github.io/viatc/viatc=Vim(AHK)TC.png?raw=true "viatc_logo") 16 | image credit: https://www.itqiyi.com/archives/2073 17 | 18 | Download 19 | ======== 20 | To get the most recent script (without exe), download 21 | https://github.com/magicstep/ViATc-English/archive/master.zip 22 | 23 | The below zip file contains an exe file, very likely it is older than the above script. I promise that the exe file is clean, however compiled AHK scripts trigger antiviruses so you might have to add an exception. 24 | ViATc-0.5.5.4_executable.zip 2021/12/19
25 | 26 | Yet older versions at https://magicstep.github.io/viatc/old.html 27 | 28 | Installation 29 | ============ 30 | - After downloading ViATc, extract, put it in any location and use it. 31 | - You can run the script if you have Autohotkey installed. Download and install Autohotkey, it is powerful for many purposes. https://autohotkey.com 32 | - Run ViATc and look for a new icon in the tray, right-click on it and choose Help or Settings to get accustomed to the shortcuts. 33 | 34 | Settings 35 | ======== 36 | You can add and remove shortcuts via the ViATc Settings window. After changes you must click Save or OK (OK will save and reload ViATc). 37 | You can also add and remove shortcuts directly in the ini file. Reload ViATc manually after any changes made directly in the ini file to take effect. 38 | In the ini file all lines that begin with a semicolon ; are ignored. It's a standard comment in ini files. 39 | CapsLock is mapped as Escape. To bypass this use Ctrl+CapsLock 40 | 41 | Usage 42 | ===== 43 | A subset of best commands: 44 | 45 | j = Down (5j=5lines) 46 | k = Up 47 | f = Page Down (5f=5pages) 48 | b = Page Up 49 | t = open tab, same as Ctrl+t 50 | x = close tab, same as Ctrl+w 51 | d = directory hotlist, same as Ctrl+d 52 | o = open drive drop-box, same as Alt+F1 or Alt+F2 53 | u = go up in directory, same as Backspace 54 | i = Enter 55 | cc = Delete 56 | ma = mark a 57 | 'a = go to mark a 58 | ah = help 59 | as = settings 60 | ar = reload 61 | sm = show mappings from ini file 62 | an = show menu to create a new file from template 63 | zw = toggle one wide panel 64 | gg = go top 65 | G = go bottom 66 | r = simple rename, same as Shift+F6 67 | Shift+r = fancy rename with a vim emulator 68 | Ctrl+[ = Esc 69 | Capslock = Esc 70 | 71 | Author 72 | ====== 73 | - Author of the original Chinese version is linxinhong https://github.com/linxinhong 74 | - Translator and maintainer of the English version is magicstep https://github.com/magicstep 75 | You can contact me with the same nickname @gmail.com 76 | - Contributors: uqqu 77 | - Project's easy website https://magicstep.github.io/viatc 78 | - Full project at https://github.com/magicstep/ViATc-English 79 | -------------------------------------------------------------------------------- /Templates/README.md: -------------------------------------------------------------------------------- 1 | Templates 2 | ========= 3 | To add a template: 4 | 1. Put a TC line-cursor on a file that will be duplicated 5 | 2. Press a then n - this will invoke menu 6 | 3. From the menu select "Add to new template (X)" 7 | The file will be copied into Templates folder in ViATc 8 | 9 | To use a template: 10 | 1. Invoke menu by pressing a then n 11 | 2. Chose a template from the list, it will be used to create 12 | a new file in the current folder location 13 | 3. Rename if needed 14 | 15 | 16 | The settings for templates are in the viatc.ini file at the bottom under [TemplateList] 17 | The name of TemplateList in older versions was ShellNew 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Templates/Template.ahk: -------------------------------------------------------------------------------- 1 | #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. 2 | ; #Warn ; Enable warnings to assist with detecting common errors. 3 | SendMode Input ; Recommended for new scripts due to its superior speed and reliability. 4 | SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. 5 | -------------------------------------------------------------------------------- /Templates/Template.au3: -------------------------------------------------------------------------------- 1 | #cs ---------------------------------------------------------------------------- 2 | 3 | AutoIt Version: 3.3.14.5 4 | Author: myName 5 | 6 | Script Function: 7 | Template AutoIt script. 8 | 9 | #ce ---------------------------------------------------------------------------- 10 | 11 | ; Script Start - Add your code below here 12 | -------------------------------------------------------------------------------- /Templates/document with header.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/Templates/document with header.odt -------------------------------------------------------------------------------- /Templates/document.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/Templates/document.odt -------------------------------------------------------------------------------- /Templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

Document

16 | magicstep.github.io/viatc 17 | 18 | 19 | -------------------------------------------------------------------------------- /Templates/viatc.ini: -------------------------------------------------------------------------------- 1 | ; Settings for ViATc - Vim mode at Total Commander. 2 | ; 2021/12/19 version 0.5.5.4 3 | ; You can edit this file, but first make a backup. 4 | ; Any built-in hotkeys can be overriden here. 5 | 6 | [Configuration] 7 | ; Vim=1 ; will enable ViATc mode at start 8 | ; Vim=0 ; all will be disabled till first Esc 9 | Vim=1 10 | Toggle=F 11 | GlobalTogg=1 12 | Suspend=` 13 | GlobalSusp=0 14 | TrayIcon=1 15 | Service=1 16 | Startup=1 17 | ; Max repeat for commands like 5j 18 | MaxCount=999 19 | ; Tooltips for the Combo Keys 20 | ComboTooltips=1 21 | ; If you don't want built-in combo commands then set the below line to 0 22 | EnableBuiltInComboHotkeys=1 23 | ; TC transparency 24 | Transparent=0 25 | ; ViATc help transparency 26 | TranspHelp=0 27 | TranspVar=200 28 | ; see history_of_rename.txt 29 | HistoryOfRename=0 30 | IsCapsLockAsEscape=1 31 | ; F11 will make TC FullScreen 32 | ; F11TC=0 ; disabled 33 | ; F11TC=1 ; same as zf= 34 | ; F11TC=2 ; same as za= 35 | ; F11TC=3 ; same as zp= 36 | F11TC=1 37 | ; jk in IrfanView will be next/prev and... 38 | ; ScrollLock in IrfanView or TC will traverse TC folders with images. 39 | ; the first file must be an image, IrfanView must be configured to exit on Esc 40 | IrfanView=1 ; all Irfanview enabled 41 | ; IrfanViewKey will trigger autoadvance folder in TotalCommander, 42 | ; ScrollLock is always hardcoded to do that, 43 | ; if your keyboard doesn't have it then set another key below 44 | IrfanViewKey= 45 | ;IrfanViewKey=Insert 46 | ;IrfanViewKey=F2 47 | ;IrfanViewKey=End 48 | 49 | 50 | [Paths] 51 | TCPath=C:\Program Files\totalcmd\totalcmd64.exe 52 | ;TCPath=C:\Program Files (x86)\totalcmd\TOTALCMD.EXE 53 | EditorPath=C:\Program Files (x86)\Vim\vim82\gvim.exe 54 | ;EditorPath=C:\Program Files (x86)\Notepad++\notepad++.exe 55 | ; for a new tab in vim use: 56 | EditorArguments= -p --remote-tab-silent 57 | 58 | [FancyVimRename] 59 | ; fancy rename opened via Shift+r 60 | ; InsertMode=1 start fancy rename in Insert mode 61 | ; InsertMode=0 start fancy rename in Visual mode 62 | InsertMode=0 63 | ; UnselectExt=1 start fancy rename with extension unselected 64 | ; UnselectExt=0 start fancy rename with whole filename selected 65 | UnselectExt=1 66 | ; Yank and put using Windows system clipboard, otherwise use an internal register 67 | UseSystemClipboard=1 68 | Enabled=0 69 | 70 | [SearchEngine] 71 | Default=1 72 | 1=https://www.google.com/search?q={%1} 73 | 2=https://duckduckgo.com/html?q={%1} 74 | 3=https://www.youtube.com/results?search_query={%1} 75 | 4=https://www.bing.com/search?q={%1} 76 | 5=https://translate.google.com/?hl=en&op=translate&sl=auto&tl=en&text={%1} 77 | 6=https://www.startpage.com/do/dsearch?query={%1} 78 | 79 | [Other] 80 | ; it seems LnkToDesktop doesn't work 81 | LnkToDesktop=1 82 | 83 | [GlobalHotkey] 84 | |= 85 | ;h= 86 | ;o= 87 | 88 | [Hotkey] 89 | r= 90 | ; fancy rename 91 | r= 92 | ]= 93 | ; this always works: Ctrl + CapsLock = CapsLock 94 | ; l is hard-mapped in TC to calculate space, uncomment below to override 95 | ;l= 96 | ;h= 97 | ,= 98 | .= 99 | == 100 | ;a= 101 | ;b= 102 | ;d= 103 | f= 104 | i= 105 | w= 106 | ;y= 107 | z= 108 | ; Half should move line-cursor to the middle of screen, but it works poorly 109 | m= 110 | x= 111 | `= 112 | ;~= 113 | _= 114 | ; comment out the line below to default to h= 115 | h= 116 | l= 117 | ;y= 118 | ;b=<50Percent> 119 | ;'= 120 | ;m= 121 | ;q= 122 | ;b=<100Percent> 123 | ; to map 'i' to 'Enter' write: i= 124 | ;q= 125 | ;w= 126 | ;y= 127 | ;y= 128 | ;[= 129 | ;]= 130 | ;0= 131 | ;.= 132 | ,= 133 | '= 134 | `= 135 | 136 | ;d= 137 | ;b= 138 | 139 | [SpecialHotkey] 140 | ; --- Special characters in ini files 141 | ; The following four characters: space ; = [ 142 | ; are not allowed as keys in ini files, thus they cannot be directly remapped. 143 | ; Below is a workaround, uncomment any line and change value to your liking 144 | ;Char_space= 145 | ;Char_semicolon= 146 | ;Char_equals= 147 | ;Char_[= 148 | 149 | [ComboKey] 150 | ; [GroupKey] in previous versions 151 | ,y= 152 | ,h= 153 | ,z= 154 | ,i= 155 | ,b= 156 | ,'= 157 | ,k= 158 | ,m= 159 | ,:= 160 | ,h= 161 | ;,s= 162 | ,t= 163 | ,,= 164 | ,c= 165 | ,d= 166 | ,f= 167 | ,j= 168 | ,k= 169 | ,n= 170 | ,p= 171 | ,r= 172 | sa= 173 | se= 174 | ss= 175 | su= 176 | aa= 177 | ;ac= 178 | ;af= 179 | am= 180 | an= 181 | ao= 182 | aq= 183 | ar= 184 | ah= 185 | as= 186 | ca= 187 | ;cl= 188 | cb=(C:\Progs\clipbrd.exe) 189 | cc= 190 | cd= 191 | ce= 192 | cf= 193 | cr=(c:\Windows\regedit.exe) 194 | cs= 195 | ec= 196 | ey= 197 | ep= 198 | ed= 199 | en= 200 | ef= 201 | gc= 202 | gf= 203 | gm= 204 | ;go= 205 | si= 206 | sm= 207 | ;sc= 208 | sz= 209 | 210 | 211 | ;--- for testing below 212 | ;z.= 213 | ;e1= 214 | ;e2= 215 | ;e3= 216 | ;e1= 217 | ;e2= 218 | e0= 219 | e1= 220 | e2= 221 | e3= 222 | e4= 223 | e5= 224 | e6= 225 | e7= 226 | e8= 227 | e9= 228 | ;e9= 229 | ;---- end of testing 230 | 231 | [TemplateList] 232 | ; The name of TemplateList in older versions was [ShellNew] 233 | ; To add a template: 234 | ; 1. Put a TC line-cursor on a file that will be duplicated 235 | ; 2. Press a then n - this will invoke menu 236 | ; 3. From the menu select "Add to new template (X)" 237 | ; The file will be copied into Templates folder in Viatc 238 | ; and added to the list below 239 | ; 240 | ; To use a template: 241 | ; 1. Invoke menu by pressing a then n 242 | ; 2. Chose a template from the list, it will be used to create 243 | ; a new file in the current folder location 244 | ; 3. Rename if needed 245 | 246 | ; (description)\file.ext 247 | 1=(md with info)\README.md 248 | 2=(ini file for settings)\viatc.ini 249 | 3=(html5)\index.html 250 | 4=(ahk)\Template.ahk 251 | 5=(au3 AutoIT)\Template.au3 252 | 6=(odt empty)\document.odt 253 | 7=(odt document with header)\document with header.odt 254 | -------------------------------------------------------------------------------- /WhatsNew.txt: -------------------------------------------------------------------------------- 1 | 2021/12/19 version 0.5.5.4 2 | - Added all missing TC commands, code improved - all thanks to user uqqu 3 | 4 | 2021/10/15 version 0.5.5.2 5 | - ability to disable the built-in commands, do it in viatc.ini 6 | 7 | 2021/01/29 version 0.5.5en beta 31 8 | - user.ahk is for your custom commands, mappings and any additions to the ViATc 9 | 10 | 2021/01/27 version 0.5.5en beta 30 11 | - You can remap four special characters in viatc.ini file: space ; = [ 12 | 13 | 2020/11/23 version 0.5.5en beta 27 14 | - Improved marks 15 | 16 | 2020/11/14 version 0.5.5en beta 26 17 | - Added option to backup and edit wincmd.ini, button in the Settings>Misc 18 | - Added "Check for updates" option, button in the Settings>Misc 19 | - Added "Restore the last overwritten mark" option, mapped to: a' 20 | - Improved the IrfanView support, added abort with long ScrollLock press 21 | 22 | 2020/11/07 version 0.5.5en beta 23 23 | - More support for TC 32bit 24 | - Dark mode support. Toggle it by Vmt 25 | 26 | 2020/11/04 version 0.5.5en beta 22 27 | - F11 is FullScreen, configurable 28 | - IrfanView jk movements 29 | - ScrollLock in IrfanView or TC will traverse TC folders with images 30 | 31 | 2020/11/02 version 0.5.5en beta 21 32 | - Smarter "Fancy Rename", few more commands 33 | - Fixed some global settings issues 34 | - Updated Help 35 | 36 | 2020/11/01 version 0.5.5en beta 20 37 | - Fixed the "Fancy Rename" look and "history_of_rename.txt" Browse button 38 | - Smarter search for the TC executable and wincmd.ini 39 | - Created this "WhatsNew.txt" file 40 | -------------------------------------------------------------------------------- /history_of_rename.txt: -------------------------------------------------------------------------------- 1 | This file contains all filenames that were renamed by fancy rename only. 2 | You can disable this history completely in the settings. 3 | ViATc doesn't save filenames renamed by double-click, shift+F6 nor multi-rename. 4 | For the multi-rename, TC has its own built-in "Undo" option that can restore last multi-rename. 5 | TC can save all operations: Configuration -> Options -> Log file 6 | ------------------------ 7 | -------------------------------------------------------------------------------- /marks.ini: -------------------------------------------------------------------------------- 1 | ; Marks for ViATc - Vim mode at Total Commander. 2 | ; 2021/12/19 version 0.5.5.4 3 | ; You can edit this file, but first make a backup. 4 | ; ViATc marks can be almost any printable character, 5 | ; they are not case sensitive, although in Vim they are. 6 | 7 | [MarkSettings] 8 | ; menu_color can be any color used in HTML: hexadecimal or a name 9 | ; remove completely for the default color 10 | menu_color=f4f5e9 11 | 12 | ; execute marks in the panel header with path, the tabstop above the file list, 13 | ; you can slow-double-click it to edit, there is a mapping for it: ep= 14 | ExecuteInHeader=1 15 | ;ExecuteInHeader=0 ; execute marks in the command line instead, it will pollute history 16 | 17 | ; used to restore the last mark, restore with: a' 18 | LastOverwrittenMark= 19 | 20 | [MarkList] 21 | ; usable marks `~!@#$%^&*()_-]{}:'"\|,.<>?/ 0-9 a-z and some unicode language specific 22 | `= 23 | ~= 24 | != 25 | @= 26 | #= 27 | $= 28 | %= 29 | ^= 30 | &= 31 | *= 32 | (= 33 | )= 34 | _= 35 | -= 36 | ]= 37 | {= 38 | }= 39 | := 40 | '= 41 | "= 42 | \= 43 | |= 44 | ,= 45 | .= 46 | <= 47 | >= 48 | ?= 49 | /= 50 | 0= 51 | 1= 52 | 2= 53 | 3= 54 | 4= 55 | 5= 56 | 6= 57 | 7= 58 | 8= 59 | 9= 60 | a= 61 | b= 62 | c= 63 | d= 64 | e= 65 | f= 66 | g= 67 | h= 68 | i= 69 | j= 70 | k= 71 | l= 72 | m= 73 | n= 74 | o= 75 | p= 76 | q= 77 | r= 78 | s= 79 | t= 80 | u= 81 | v= 82 | w= 83 | x= 84 | y= 85 | z= 86 | 87 | ; The following characters: `space` `;` `=` `[` are not allowed as keys in ini files thus they cannot be used as marks in ViATc 88 | -------------------------------------------------------------------------------- /old/viatc-0.5.3/README.md: -------------------------------------------------------------------------------- 1 | ViATc 2 | ===== 3 | 4 | ViATc - Vim mode at Total Commander 5 | 6 | - efficient use of keyboard, lot's of quick shortcuts 7 | - efficient use of software, use more functionality 8 | - supports all that Autohotkey does, not just TotalCommander 9 | - in fact, in addition to Vim style, Emacs style can also be programmed-in, eg. `a d` 10 | 11 | 12 | Usage: 13 | ===== 14 | - The project website is https://magicstep.github.io/viatc/ 15 | You can download compiled executable from there. Compiled executable might be older than the current script version. 16 | 17 | 1. Easy way using executable: 18 | - Download ViATc from https://magicstep.github.io/viatc/ViATc-0.5.3en_executable.zip 19 | or 20 | https://github.com/magicstep/ViATc-English/archive/master.zip, extract, go into "old\viatc-0.5.3" folder, extract executable.zip and run the exe file that is there 21 | - Notice: I promise that this exe is clean, but compiled AHK scripts trigger antiviruses so you might have to add an exception. 22 | - Look for a new icon in the tray, right-click on it and choose Help. 23 | 24 | 2. AHK script way: 25 | - Download and install Autohotkey, it is easy to learn but powerful. https://autohotkey.com/ 26 | - Download ViATc https://github.com/magicstep/ViATc-English/archive/master.zip, extract, go into "old\viatc-0.5.3" folder and double-click viatc-0.5.3en.ahk 27 | - Look for a new icon in the tray, right-click on it and choose Help. 28 | 29 | Version 0.6 is not finished and most likely never will be. Please use 0.5 30 | 31 | Author 32 | ====== 33 | - Author of the original Chinese version is linxinhong https://github.com/linxinhong 34 | - Translator and maintainer of the English version is magicstep https://github.com/magicstep 35 | contact me there or with the same nickname @gmail.com 36 | -------------------------------------------------------------------------------- /old/viatc-0.5.3/executable.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.3/executable.zip -------------------------------------------------------------------------------- /old/viatc-0.5.3/sample ini file/readme.txt: -------------------------------------------------------------------------------- 1 | The viatc.ini file should be located in your Total Commander directory. 2 | You can add and remove shortcuts directly in ini file or via ViATc Settings window. 3 | Lines that begin with a semicolon ; are ignored. It's a standard comment in ini files. 4 | 5 | If you have mapped CapsLock as Escape in other AHK script you need to map it again in viatc.ini 6 | = -------------------------------------------------------------------------------- /old/viatc-0.5.3/sample ini file/viatc.ini: -------------------------------------------------------------------------------- 1 | [Configuration] 2 | Vim=1 3 | Toggle=F 4 | GlobalTogg=1 5 | Suspend=` 6 | GlobalSusp=0 7 | TrayIcon=1 8 | Service=1 9 | Startup=1 10 | GroupWarn=1 11 | Transparent=0 12 | TranspHelp=0 13 | MaxCount=99 14 | TranspVar=220 15 | GroupInfo=1 16 | [SearchEngine] 17 | Default=1 18 | 1=http://www.google.com/search?q={%1} 19 | [Other] 20 | LnkToDesktop=1 21 | 22 | [GlobalHotkey] 23 | U= 24 | ;H= 25 | ;O= 26 | 27 | [Hotkey] 28 | = 29 | h= 30 | l= 31 | ,= 32 | .= 33 | == 34 | a= 35 | d= 36 | f= 37 | i= 38 | w= 39 | y= 40 | z= 41 | x= 42 | ;i= 43 | ;b=<50Percent> 44 | ;e= 45 | ;'= 46 | ;m= 47 | ;n= 48 | ;o= 49 | ;q= 50 | ;b=<100Percent> 51 | ;f= 52 | ;m= 53 | ;m= 54 | ;n= 55 | ;o= 56 | ;q= 57 | ;w= 58 | ;y= 59 | 60 | [GroupKey] 61 | ;em= 62 | ep= 63 | eh= 64 | ef= 65 | gf= 66 | aj= 67 | lj= 68 | lk= 69 | ak= 70 | ,n= 71 | ,p= 72 | ,c= 73 | ,d= 74 | ,e= 75 | ,f= 76 | ,g= 77 | ,h= 78 | ,i= 79 | ,j= 80 | ,k= 81 | ,l= 82 | ,u= 83 | ,z= 84 | ,w= 85 | ,,= 86 | ,k= 87 | ,q= 88 | ,o= 89 | ,t= 90 | ,r= 91 | ca= 92 | cc= 93 | cd= 94 | sa= 95 | se= 96 | su= 97 | ss= 98 | ec= 99 | cx= 100 | cc= 101 | 102 | [mark] 103 | t=c:\Temp 104 | -------------------------------------------------------------------------------- /old/viatc-0.5.3/viatc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.3/viatc.ico -------------------------------------------------------------------------------- /old/viatc-0.5.3/viatc.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.3/viatc.lnk -------------------------------------------------------------------------------- /old/viatc-0.5.3/viatcdis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.3/viatcdis.ico -------------------------------------------------------------------------------- /old/viatc-0.5.4/README.md: -------------------------------------------------------------------------------- 1 | ViATc 2 | ===== 3 | ViATc - Vim mode at Total Commander 4 | This software works on Windows and only as an addidion to "Total Commander" - the greatest file manager (keyboard friendly, two panels, advanced search, comparator, multirename, FTP, plugins) get it from www.ghisler.com 5 | ViATc tries to resemble the workflow of Vim and web browser plugins like Vimium or better yet SurfingKeys. 6 | 7 | What ViATc does to Total Commander (called later TC): 8 | - it's only a separate addition, easily disabled, it doesn't modify TC 9 | - adds more functionality - supports all that AutoHotkey does, not just TC 10 | - adds more shortcuts, user can add and configure shortcuts, in addition to Vim style, Emacs style can also be programmed-in, eg. `a d` 11 | 12 | 13 | 14 | Usage: 15 | ===== 16 | - The project website is https://magicstep.github.io/viatc/ 17 | You can download compiled executable from there. Compiled executable might be older than the current script version. 18 | - You can run the script if you have Autohotkey installed. Download and install Autohotkey, it is powerful for many purposes. https://autohotkey.com 19 | Download ViATc script from https://github.com/magicstep/ViATc-English/archive/master.zip, extract, go into "viatc-0.5.4" folder and double-click viatc-0.5.4en.ahk 20 | - Look for a new icon in the tray, right-click on it and choose Help. 21 | 22 | 23 | Author 24 | ====== 25 | - Author of the original Chinese version is linxinhong https://github.com/linxinhong 26 | - Translator and maintainer of the English version is magicstep https://github.com/magicstep 27 | Alternatively you can contact me with the same nickname @gmail.com I know nothing about Chinese, I've used Google translate initially and then rephrased and modified this software. I'm just a junior in AHK. 28 | 29 | This version is not perfected yet, any help appreciated. 30 | -------------------------------------------------------------------------------- /old/viatc-0.5.4/sample ini file/readme.txt: -------------------------------------------------------------------------------- 1 | The viatc.ini file should be located in your Total Commander directory. 2 | You can add and remove shortcuts directly in ini file or via ViATc Settings window. 3 | Lines that begin with a semicolon ; are ignored. It's a standard comment in ini files. 4 | 5 | If you have mapped CapsLock as Escape in other AHK script you need to map it again in viatc.ini 6 | = -------------------------------------------------------------------------------- /old/viatc-0.5.4/sample ini file/viatc.ini: -------------------------------------------------------------------------------- 1 | [Configuration] 2 | Vim=1 3 | Toggle=F 4 | GlobalTogg=1 5 | Suspend=` 6 | GlobalSusp=0 7 | TrayIcon=1 8 | Service=1 9 | Startup=1 10 | GroupWarn=1 11 | Transparent=0 12 | TranspHelp=0 13 | MaxCount=99 14 | TranspVar=220 15 | GroupInfo=1 16 | [SearchEngine] 17 | Default=1 18 | 1=http://www.google.com/search?q={%1} 19 | [Other] 20 | LnkToDesktop=1 21 | 22 | [GlobalHotkey] 23 | U= 24 | ;H= 25 | ;O= 26 | 27 | [Hotkey] 28 | = 29 | h= 30 | l= 31 | ,= 32 | .= 33 | == 34 | a= 35 | d= 36 | f= 37 | i= 38 | w= 39 | y= 40 | z= 41 | x= 42 | ;i= 43 | ;b=<50Percent> 44 | ;e= 45 | ;'= 46 | ;m= 47 | ;n= 48 | ;o= 49 | ;q= 50 | ;b=<100Percent> 51 | ;f= 52 | ;m= 53 | ;m= 54 | ;n= 55 | ;o= 56 | ;q= 57 | ;w= 58 | ;y= 59 | 60 | [GroupKey] 61 | ;em= 62 | ep= 63 | eh= 64 | ef= 65 | gf= 66 | aj= 67 | lj= 68 | lk= 69 | ak= 70 | ,n= 71 | ,p= 72 | ,c= 73 | ,d= 74 | ,e= 75 | ,f= 76 | ,g= 77 | ,h= 78 | ,i= 79 | ,j= 80 | ,k= 81 | ,l= 82 | ,u= 83 | ,z= 84 | ,w= 85 | ,,= 86 | ,k= 87 | ,q= 88 | ,o= 89 | ,t= 90 | ,r= 91 | ca= 92 | cc= 93 | cd= 94 | sa= 95 | se= 96 | su= 97 | ss= 98 | ec= 99 | cx= 100 | cc= 101 | 102 | [mark] 103 | t=c:\Temp 104 | -------------------------------------------------------------------------------- /old/viatc-0.5.4/viatc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.4/viatc.ico -------------------------------------------------------------------------------- /old/viatc-0.5.4/viatc.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.4/viatc.lnk -------------------------------------------------------------------------------- /old/viatc-0.5.4/viatcdis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.5.4/viatcdis.ico -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/README.md: -------------------------------------------------------------------------------- 1 | ViATc 2 | ===== 3 | 4 | This version 0.6 is unfinished and most likely never will be. Please use 0.5 5 | 6 | ViATc - Vim mode at Total Commander 7 | 8 | - efficient use of keyboard, lot's of quick shortcuts 9 | - efficient use of software, use more functionality 10 | - supports all that Autohotkey can recognize, not only the TotalCommander 11 | - in fact, in addition to Vim style, Emacs style can also be used, eg. `a c d` 12 | - supports plugins (only when using the AHK source, not the compiled version) 13 | 14 | 15 | 16 | Use: 17 | ===== 18 | - Download and install Autohotkey, simple to learn but powerful. https://autohotkey.com/ 19 | - Download ViATc https://github.com/magicstep/ViATc-0.6-English/archive/master.zip, extract and double-click viatc-0.6.2en.ahk 20 | - Look for a new icon in the tray. 21 | 22 | Author 23 | ====== 24 | - Author of the original Chinese version is linxinhong https://github.com/linxinhong 25 | - Translator and maintainer of the English version is magicstep https://github.com/magicstep 26 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/ViATc help for 0.4.1.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.6.2unfinished/ViATc help for 0.4.1.htm -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/General.ahk: -------------------------------------------------------------------------------- 1 | ; All programs are generic 2 | : 3 | CustomActions ("<1>","Count prefix 1") 4 | CustomActions ("<2>","Count prefix 2") 5 | CustomActions ("<3>","Count prefix 3") 6 | CustomActions ("<4>","Count prefix 4") 7 | CustomActions ("<5>","Count prefix 5") 8 | CustomActions ("<6>","Count prefix 6") 9 | CustomActions ("<7>","Count prefix 7") 10 | CustomActions ("<8>","Count prefix 8") 11 | CustomActions ("<9>","Count prefix 9") 12 | CustomActions ("<0>","Count prefix 0") 13 | CustomActions ("","Move [Count] times to the left") 14 | CustomActions ("","Move [Count] times to the right") 15 | CustomActions ("","Move down [Count] times") 16 | CustomActions ("","Move up [Count] times") 17 | CustomActions ("","Set Window Overrides") 18 | CustomActions ("","Set Window Transparency") 19 | CustomActions ("","repeat the last action") 20 | CustomActions ("","Save Clipboard Data") 21 | CustomActions ("","Return saved data to clipboard") 22 | return 23 | <1>: 24 | return 25 | <2>: 26 | return 27 | <3>: 28 | return 29 | <4>: 30 | return 31 | <5>: 32 | return 33 | <6>: 34 | return 35 | <7>: 36 | return 37 | <8>: 38 | return 39 | <9>: 40 | return 41 | <0>: 42 | return 43 | : 44 | Send,{left} 45 | return 46 | : 47 | Send,{Right} 48 | return 49 | : 50 | Send,{Down} 51 | return 52 | : 53 | Send,{Up} 54 | return 55 | : 56 | WinGetClass,Class,A 57 | Vim_HotKeyTemp[Class] := "" 58 | HotkeyControl(False) 59 | return 60 | : 61 | HotkeyControl(True) 62 | WinGetClass,Class,A 63 | Vim_HotKeyTemp[Class] := "" 64 | Vim_HotKeyCount := 0 65 | Tooltip 66 | Send,{%A_Thishotkey%} 67 | return 68 | ; {{{1 69 | : 70 | AlwayOnTop() 71 | Return 72 | AlwayOnTop() 73 | { 74 | win := WinExist(A) 75 | WinGet,ExStyle,ExStyle,ahk_id %win% 76 | If (ExStyle & 0x8) 77 | WinSet,AlwaysOnTop,off,ahk_id %win% 78 | else 79 | WinSet,AlwaysOnTop,on,ahk_id %win% 80 | } 81 | ; {{{1 82 | : 83 | TransParent() 84 | Return 85 | TransParent() 86 | { 87 | win := WinExist(A) 88 | WinGet,TranspVar,Transparent,ahk_id %win% 89 | If Not TranspVar ;the first general will get a null value 90 | { 91 | WinSet,Transparent,220,ahk_id %win% 92 | return 93 | } 94 | If TranspVar <> 255 95 | { 96 | WinSet,Transparent,255,ahk_id %win% 97 | } 98 | Else 99 | { 100 | TranspVar:= 220 101 | WinSet,Transparent,%TranspVar%,ahk_id %win% 102 | } 103 | } 104 | : 105 | ClipboardSaved := ClipboardALL 106 | return 107 | : 108 | Sleep,100 109 | Clipboard := ClipboardSaved 110 | ClipboardSaved := "" 111 | return 112 | : 113 | Reload 114 | return 115 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/MSWord.ahk: -------------------------------------------------------------------------------- 1 | ; All programs are generic 2 | : 3 | CustomActions ("","Move [Count] times to the left") 4 | CustomActions ("","Move [Count] times to the right") 5 | CustomActions ("","Move up [Count] times") 6 | CustomActions ("","Move down [Count] times") 7 | return 8 | : 9 | oWord := ComObjCreate("Word.Application") 10 | oWord.Documents.Add 11 | oWord.Selection.TypeText("Line1`n") 12 | oWord.Selection.TypeText("Line2`n") 13 | oWord.Selection.TypeText("Line3`n") 14 | oWord.Visible := True 15 | return 16 | : 17 | oWord.Selection.Previous(1,1).Select 18 | return 19 | : 20 | oWord.Selection.Next(1,1).Select 21 | return 22 | : 23 | oWord.Selection.MoveUp(5,1) 24 | return 25 | : 26 | oWord.Selection.MoveDown(5,1) 27 | return 28 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/QDir.ahk: -------------------------------------------------------------------------------- 1 | : 2 | ;======================================================= 3 | ;RegisterHotkey("J","","TQUICKSEARCH") 4 | ;;Default button(VIM) 5 | RegisterHotkey("0","<0>","ATL:00475EE0") 6 | RegisterHotkey("1","<1>","ATL:00475EE0") 7 | RegisterHotkey("2","<2>","ATL:00475EE0") 8 | RegisterHotkey("3","<3>","ATL:00475EE0") 9 | RegisterHotkey("4","<4>","ATL:00475EE0") 10 | RegisterHotkey("5","<5>","ATL:00475EE0") 11 | RegisterHotkey("6","<6>","ATL:00475EE0") 12 | RegisterHotkey("7","<7>","ATL:00475EE0") 13 | RegisterHotkey("8","<8>","ATL:00475EE0") 14 | RegisterHotkey("9","<9>","ATL:00475EE0") 15 | RegisterHotkey("k","","ATL:00475EE0") 16 | RegisterHotkey("K","{+{up}}","ATL:00475EE0") 17 | RegisterHotkey("j","","ATL:00475EE0") 18 | RegisterHotkey("J","{+{down}}","ATL:00475EE0") 19 | RegisterHotkey("h","","ATL:00475EE0") 20 | RegisterHotkey("H","{+{left}}","ATL:00475EE0") 21 | RegisterHotkey("l","","ATL:00475EE0") 22 | RegisterHotkey("L","{+{right}}","ATL:00475EE0") 23 | RegisterHotkey("u","{{bs}}","ATL:00475EE0") 24 | RegisterHotkey("i","","ATL:00475EE0") 25 | SetHotkey("esc","","ATL:00475EE0") 26 | SetHotkey("Capslock","","ATL:00475EE0") 27 | ;SetHotkey("capslock","","ATL:00475EE0") 28 | return 29 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/TCCOMMAND+.ahk: -------------------------------------------------------------------------------- 1 | : 2 | CustomActions(""," Open the drive list : Side of the side ") 3 | CustomActions(""," Open the drive list : The other side ") 4 | CustomActions(""," Move to a regular folder ") 5 | CustomActions(""," Copy to a favorite folder ") 6 | CustomActions(""," Back to the other side ") 7 | CustomActions(""," Move on to the other side ") 8 | ;RegisterHotkey("H","o","") 9 | ;RegisterHotkey("H","O","") 10 | RegisterHotkey("fd","","TTOTAL_CMD") 11 | RegisterHotkey("fb","","TTOTAL_CMD") 12 | ; copy / Move to the right f take file the meaning of filecopy 13 | RegisterHotkey("fc","","TTOTAL_CMD") 14 | RegisterHotkey("fx","","TTOTAL_CMD") 15 | ;ff copy fz Cut fv Paste 16 | RegisterHotkey("ff","","TTOTAL_CMD") 17 | RegisterHotkey("fz","","TTOTAL_CMD") 18 | RegisterHotkey("fv","","TTOTAL_CMD") 19 | ;fb copy To a list of favorites ,fd Move to a list of favorites 20 | RegisterHotkey("fb","","TTOTAL_CMD") 21 | RegisterHotkey("fd","","TTOTAL_CMD") 22 | RegisterHotkey("ft","","TTOTAL_CMD") 23 | RegisterHotkey("gh","","TTOTAL_CMD") 24 | RegisterHotkey("gl","","TTOTAL_CMD") 25 | RegisterHotkey("vh","","TTOTAL_CMD") 26 | return 27 | 28 | ;: >> Open the drive list : The other side {{{2 29 | : 30 | ControlGetFocus,CurrentFocus,AHK_CLASS TTOTAL_CMD 31 | if CurrentFocus not in TMyListBox2,TMyListBox1 32 | return 33 | if CurrentFocus in TMyListBox2 34 | SendPos(131) 35 | else 36 | SendPos(231) 37 | Return 38 | 39 | ;: >> Open the drive list : Side of the side {{{2 40 | : 41 | ControlGetFocus,CurrentFocus,AHK_CLASS TTOTAL_CMD 42 | if CurrentFocus not in TMyListBox2,TMyListBox1 43 | return 44 | if CurrentFocus in TMyListBox2 45 | SendPos(231) 46 | else 47 | SendPos(131) 48 | Return 49 | 50 | ;: >> Common folders : The other side {{{2 51 | : 52 | ControlGetFocus,CurrentFocus,AHK_CLASS TTOTAL_CMD 53 | if CurrentFocus not in TMyListBox2,TMyListBox1 54 | return 55 | if CurrentFocus in TMyListBox2 56 | otherlist = TMyListBox1 57 | else 58 | otherlist = TMyListBox2 59 | ControlFocus, %otherlist% ,ahk_class TTOTAL_CMD 60 | SendPos(526) 61 | SetTimer WaitMenuPop3 62 | return 63 | WaitMenuPop3: 64 | winget,menupop,,ahk_class #32768 65 | if menupop 66 | { 67 | SetTimer, WaitMenuPop3 ,Off 68 | SetTimer, WaitMenuOff3 69 | } 70 | return 71 | WaitMenuOff3: 72 | winget,menupop,,ahk_class #32768 73 | if not menupop 74 | { 75 | SetTimer,WaitMenuOff3, off 76 | goto, goonhot 77 | } 78 | return 79 | goonhot: 80 | ControlFocus, %CurrentFocus% ,ahk_class TTOTAL_CMD 81 | Return 82 | 83 | ;: >> Copy to a favorite folder {{{2 84 | : 85 | ControlGetFocus,CurrentFocus,AHK_CLASS TTOTAL_CMD 86 | if CurrentFocus not in TMyListBox2,TMyListBox1 87 | return 88 | if CurrentFocus in TMyListBox2 89 | otherlist = TMyListBox1 90 | else 91 | otherlist = TMyListBox2 92 | ControlFocus, %otherlist% ,ahk_class TTOTAL_CMD 93 | SendPos(526) 94 | SetTimer WaitMenuPop1 95 | return 96 | WaitMenuPop1: 97 | winget,menupop,,ahk_class #32768 98 | if menupop 99 | { 100 | SetTimer, WaitMenuPop1 ,Off 101 | SetTimer, WaitMenuOff1 102 | } 103 | return 104 | WaitMenuOff1: 105 | winget,menupop,,ahk_class #32768 106 | if not menupop 107 | { 108 | SetTimer,WaitMenuOff1, off 109 | goto, gooncopy 110 | } 111 | return 112 | gooncopy: 113 | ControlFocus, %CurrentFocus% ,ahk_class TTOTAL_CMD 114 | SendPos(3101) 115 | return 116 | 117 | ;: >> Move to a regular folder {{{2 118 | : 119 | If SendPos(0) 120 | ControlGetFocus,CurrentFocus,AHK_CLASS TTOTAL_CMD 121 | if CurrentFocus not in TMyListBox2,TMyListBox1 122 | return 123 | if CurrentFocus in TMyListBox2 124 | otherlist = TMyListBox1 125 | else 126 | otherlist = TMyListBox2 127 | ControlFocus, %otherlist% ,ahk_class TTOTAL_CMD 128 | SendPos(526) 129 | SetTimer WaitMenuPop2 130 | return 131 | WaitMenuPop2: 132 | winget,menupop,,ahk_class #32768 133 | if menupop 134 | { 135 | SetTimer, WaitMenuPop2 ,Off 136 | SetTimer, WaitMenuOff2 137 | } 138 | return 139 | WaitMenuOff2: 140 | winget,menupop,,ahk_class #32768 141 | if not menupop 142 | { 143 | SetTimer,WaitMenuOff2, off 144 | goto, goonmove 145 | } 146 | return 147 | GoonMove: 148 | ControlFocus, %CurrentFocus% ,ahk_class TTOTAL_CMD 149 | SendPos(1005) 150 | return 151 | 152 | ;: >> Back to the other side {{{2 153 | : 154 | Send {Tab} 155 | SendPos(570) 156 | Send {Tab} 157 | Return 158 | 159 | ;: >> Move on to the other side {{{2 160 | : 161 | Send {Tab} 162 | SendPos(571) 163 | Send {Tab} 164 | Return 165 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/TCCOMMAND.ahk: -------------------------------------------------------------------------------- 1 | ; TC Own command {{{1 2 | ;================================================== 3 | ;======= use VIM Under the VOom Plugins can be very easy to view ======= 4 | ;================================================== 5 | : 6 | CustomActions(""," Source window : Show file notes ") 7 | CustomActions(""," Source window : List ") 8 | CustomActions(""," Source window : details ") 9 | CustomActions(""," Source window : Folder tree ") 10 | CustomActions(""," Source window : Quick View ") 11 | CustomActions(""," Vertical / Horizontal arrangement ") 12 | CustomActions(""," Source window : Quick View ( No plugins )") 13 | CustomActions(""," Source window : shut down Quick View window ") 14 | CustomActions(""," Source window : executable file ") 15 | CustomActions(""," Source window : All files ") 16 | CustomActions(""," Source window : The last selected file ") 17 | CustomActions(""," Source window : Custom type ") 18 | CustomActions(""," Source window : Sort by file name ") 19 | CustomActions(""," Source window : Sort by extension ") 20 | CustomActions(""," Source window : Sort by size ") 21 | CustomActions(""," Source window : Sort by date and time ") 22 | CustomActions(""," Source window : Not sorted ") 23 | CustomActions(""," Source window : Reverse sort ") 24 | CustomActions(""," Source window : Open the drive List ") 25 | CustomActions(""," Source window : Thumbnails ") 26 | CustomActions(""," Source window : Customize the view menu ") 27 | CustomActions(""," Source window : Focus on the path ") 28 | CustomActions(""," left window : Show file notes ") 29 | CustomActions(""," left window : List ") 30 | CustomActions(""," left window : details ") 31 | CustomActions(""," left window : Folder tree ") 32 | CustomActions(""," left window : Quick View ") 33 | CustomActions(""," left window : Quick View ( No plugins )") 34 | CustomActions(""," left window : shut down Quick View window ") 35 | CustomActions(""," left window : executable file ") 36 | CustomActions(""," left window : All files ") 37 | CustomActions(""," left window : The last selected file ") 38 | CustomActions(""," left window : Custom type ") 39 | CustomActions(""," left window : Sort by file name ") 40 | CustomActions(""," left window : Sort by extension ") 41 | CustomActions(""," left window : Sort by size ") 42 | CustomActions(""," left window : Sort by date and time ") 43 | CustomActions(""," left window : Not sorted ") 44 | CustomActions(""," left window : Reverse sort ") 45 | CustomActions(""," left window : Open the drive List ") 46 | CustomActions(""," left window : Focus on the path ") 47 | CustomActions(""," left window : Unfolded All files folder ") 48 | CustomActions(""," left window : only Unfolded Selected file folder ") 49 | CustomActions(""," window : Thumbnails ") 50 | CustomActions(""," window : Customize the view menu ") 51 | CustomActions(""," right window : Show file notes ") 52 | CustomActions(""," right window : List ") 53 | CustomActions(""," details ") 54 | CustomActions(""," right window : Folder tree ") 55 | CustomActions(""," right window : Quick View ") 56 | CustomActions(""," right window : Quick View ( No plugins )") 57 | CustomActions(""," right window : shut down Quick View window ") 58 | CustomActions(""," right window : executable file ") 59 | CustomActions(""," right window : All files ") 60 | CustomActions(""," right window : The last selected file ") 61 | CustomActions(""," right window : Custom type ") 62 | CustomActions(""," right window : Sort by file name ") 63 | CustomActions(""," right window : Sort by extension ") 64 | CustomActions(""," right window : Sort by size ") 65 | CustomActions(""," right window : Sort by date and time ") 66 | CustomActions(""," right window : Not sorted ") 67 | CustomActions(""," right window : Reverse sort ") 68 | CustomActions(""," right window : Open the drive List ") 69 | CustomActions(""," right window : Focus on the path ") 70 | CustomActions(""," right window : Unfolded All files folder ") 71 | CustomActions(""," right window : only Unfolded Selected file folder ") 72 | CustomActions(""," right window : Thumbnails ") 73 | CustomActions(""," right window : Customize the view menu ") 74 | CustomActions(""," To view ( use To view program )") 75 | CustomActions(""," To view ( use To view program , but No plugins / multimedia )") 76 | CustomActions(""," edit ") 77 | CustomActions(""," copy ") 78 | CustomActions(""," copy To the present window ") 79 | CustomActions(""," copy To another window ") 80 | CustomActions(""," Rename / mobile ") 81 | CustomActions(""," create a new file folder ") 82 | CustomActions(""," delete ") 83 | CustomActions(""," Test compression package ") 84 | CustomActions(""," Compressed file ") 85 | CustomActions(""," unzip files ") 86 | CustomActions(""," Rename (Shift+F6)") 87 | CustomActions(""," Rename Current file ") 88 | CustomActions(""," mobile (F6)") 89 | CustomActions(""," Display properties ") 90 | CustomActions(""," Create Shortcut ") 91 | CustomActions(""," Imitate by ENTER key ") 92 | CustomActions(""," To the other use The identity of the household runs the cursor program ") 93 | CustomActions(""," Split files ") 94 | CustomActions(""," Merge documents ") 95 | CustomActions(""," Encoding file (MIME/UUE/XXE format )") 96 | CustomActions(""," Decode the file (MIME/UUE/XXE/BinHex format )") 97 | CustomActions(""," Create a check file ") 98 | CustomActions(""," Verify checksum ") 99 | CustomActions(""," Change the property ") 100 | CustomActions(""," Configuration : layout ") 101 | CustomActions(""," Configuration : display ") 102 | CustomActions(""," Configuration : icon ") 103 | CustomActions(""," Configuration : Font ") 104 | CustomActions(""," Configuration : Colour ") 105 | CustomActions(""," Configuration : Tabs ") 106 | CustomActions(""," Configuration : file folder label ") 107 | CustomActions(""," Configuration : Custom columns ") 108 | CustomActions(""," Change the current Custom columns ") 109 | CustomActions(""," Configuration : Language ") 110 | CustomActions(""," Configuration : Operation method ") 111 | CustomActions(""," Configuration : edit / To view ") 112 | CustomActions(""," Configuration : copy / delete ") 113 | CustomActions(""," Configuration : Refresh ") 114 | CustomActions(""," Configuration : fast Search ") 115 | CustomActions(""," Configuration : FTP") 116 | CustomActions(""," Configuration : Plugin ") 117 | CustomActions(""," Configuration : Thumbnails ") 118 | CustomActions(""," Configuration : Log file ") 119 | CustomActions(""," Configuration : hide file ") 120 | CustomActions(""," Configuration : compression program ") 121 | CustomActions(""," Configuration : ZIP compression program ") 122 | CustomActions(""," Configuration : other / confirm ") 123 | CustomActions(""," Storage position ") 124 | CustomActions(""," Change the toolbar ") 125 | CustomActions(""," Save Settings ") 126 | CustomActions(""," Direct modification Configuration file ") 127 | CustomActions(""," Save file folder history record ") 128 | CustomActions(""," Change the Start menu ") 129 | CustomActions(""," Mapping network drives ") 130 | CustomActions(""," Disconnect the network drive ") 131 | CustomActions(""," shared Current file folder ") 132 | CustomActions(""," cancel file folder shared ") 133 | CustomActions(""," display system shared file folder ") 134 | CustomActions(""," display local file The remote use Households ") 135 | CustomActions(""," Calculate the account use space ") 136 | CustomActions(""," Set the label ") 137 | CustomActions(""," Version Information ") 138 | CustomActions(""," Open a command prompt window ") 139 | CustomActions(""," Comparison file folder ") 140 | CustomActions(""," Comparison file folder ( Also mark another window No child file folder )") 141 | CustomActions(""," display Shortcut menu ") 142 | CustomActions(""," display Shortcut menu ( Internal association )") 143 | CustomActions(""," display Cursor file of Internal association Shortcut menu ") 144 | CustomActions(""," Media Center Remote Control Play / pause key Shortcut menu ") 145 | CustomActions(""," On both sides window Synchronize changes file folder ") 146 | CustomActions(""," edit file Remarks ") 147 | CustomActions(""," Focus on left window ") 148 | CustomActions(""," Focus on right window ") 149 | CustomActions(""," Focus on Command Line ") 150 | CustomActions(""," Focus on toolbar ") 151 | CustomActions(""," calculate All files folder take up use of space ") 152 | CustomActions(""," Uninstall all Plugin ") 153 | CustomActions(""," Mark new file , hide The same person ") 154 | CustomActions(""," exchange left right window ") 155 | CustomActions(""," aims = source ") 156 | CustomActions(""," Refresh Selected file of Thumbnails ") 157 | CustomActions(""," Direct cable connection ") 158 | CustomActions(""," load NT Parallel drive program ") 159 | CustomActions(""," Unloading NT Parallel drive program ") 160 | CustomActions(""," print file List ") 161 | CustomActions(""," print file List ( Containers file folder )") 162 | CustomActions(""," print file content ") 163 | CustomActions(""," Choose a group file ") 164 | CustomActions(""," Choose a group : file with file folder ") 165 | CustomActions(""," Choose a group : only file ") 166 | CustomActions(""," Choose a group : only file folder ") 167 | CustomActions(""," Do not choose a group file ") 168 | CustomActions(""," Do not choose a group : only file ") 169 | CustomActions(""," Do not choose a group : only file folder ") 170 | CustomActions(""," Do not choose a group : file with / or file folder ( As seen Configuration Depending on )") 171 | CustomActions(""," All selected : file with / or file folder ( As seen Configuration Depending on )") 172 | CustomActions(""," All selected : file with file folder ") 173 | CustomActions(""," All selected : only file ") 174 | CustomActions(""," All selected : only file folder ") 175 | CustomActions(""," All cancel : file with file folder ") 176 | CustomActions(""," All cancel : only file ") 177 | CustomActions(""," All cancel : only file folder ") 178 | CustomActions(""," All cancel : file with / or file folder ( As seen Configuration Depending on )") 179 | CustomActions(""," Reverse selection ") 180 | CustomActions(""," Reverse selection : file with file folder ") 181 | CustomActions(""," Reverse selection : only file ") 182 | CustomActions(""," Reverse selection : only file folder ") 183 | CustomActions(""," Select the same extension of file ") 184 | CustomActions(""," Do not choose the same extension of file ") 185 | CustomActions(""," select file The same name of file ") 186 | CustomActions(""," Not elected file The same name of file ") 187 | CustomActions(""," select file name with Extended The same name of file ") 188 | CustomActions(""," Not elected file name with Extended The same name of file ") 189 | CustomActions(""," select The same path Under the file ( Unfolded file folder + search for file )") 190 | CustomActions(""," Not elected The same path Under the file ( Unfolded file folder + search for file )") 191 | CustomActions(""," restore select List ") 192 | CustomActions(""," Save select List ") 193 | CustomActions(""," Export select List ") 194 | CustomActions(""," Export select List (ANSI)") 195 | CustomActions(""," Export select List (Unicode)") 196 | CustomActions(""," Export details ") 197 | CustomActions(""," Export details (ANSI)") 198 | CustomActions(""," Export details (Unicode)") 199 | CustomActions(""," Import select List ( From file )") 200 | CustomActions(""," Import select List ( From Clipboard )") 201 | CustomActions(""," Setting permissions (NTFS)") 202 | CustomActions(""," Review file (NTFS)") 203 | CustomActions(""," Get ownership (NTFS)") 204 | CustomActions(""," Cut Selected file To Clipboard ") 205 | CustomActions(""," copy Selected file To Clipboard ") 206 | CustomActions(""," From Clipboard Paste To the present file folder ") 207 | CustomActions(""," copy file name ") 208 | CustomActions(""," copy file name And the full path ") 209 | CustomActions(""," copy file name And network paths ") 210 | CustomActions(""," copy source path ") 211 | CustomActions(""," copy aims path ") 212 | CustomActions(""," copy file details ") 213 | CustomActions(""," copy file details And the full path ") 214 | CustomActions(""," copy file details And network paths ") 215 | CustomActions("","FTP connection ") 216 | CustomActions(""," New FTP connection ") 217 | CustomActions(""," disconnect FTP connection ") 218 | CustomActions(""," display hide file ") 219 | CustomActions(""," Stop the current FTP command ") 220 | CustomActions(""," Continued ") 221 | CustomActions(""," select Transmission mode ") 222 | CustomActions(""," Add to To download List ") 223 | CustomActions(""," press List download ") 224 | CustomActions(""," Backwards ") 225 | CustomActions(""," go ahead ") 226 | CustomActions(""," file folder history record ") 227 | CustomActions(""," Backwards ( non- FTP)") 228 | CustomActions(""," go ahead ( non- FTP)") 229 | CustomActions(""," often use file folder ") 230 | CustomActions(""," turn To root file folder ") 231 | CustomActions(""," turn To upper layer file folder ") 232 | CustomActions(""," turn on Cursor of file folder or compression package ") 233 | CustomActions(""," desktop ") 234 | CustomActions(""," I of computer ") 235 | CustomActions(""," control panel ") 236 | CustomActions(""," Font ") 237 | CustomActions(""," Online Neighborhood ") 238 | CustomActions(""," print machine ") 239 | CustomActions(""," Recycle bin ") 240 | CustomActions(""," change file folder ") 241 | CustomActions(""," in left window turn on Cursor of file folder or compression package ") 242 | CustomActions(""," in right window turn on Cursor of file folder or compression package ") 243 | CustomActions(""," edit Source window of path ") 244 | CustomActions(""," Cursor shift To List in of First file ") 245 | CustomActions(""," turn To The next drive ") 246 | CustomActions(""," turn To On a drive ") 247 | CustomActions(""," turn To next Selected file ") 248 | CustomActions(""," turn To Previous Selected file ") 249 | CustomActions(""," turn To driver A") 250 | CustomActions(""," turn To driver C") 251 | CustomActions(""," turn To driver D") 252 | CustomActions(""," turn To driver E") 253 | CustomActions(""," Can be customized other driver ") 254 | CustomActions(""," most 26 One ") 255 | CustomActions(""," Help index ") 256 | CustomActions(""," Fast key List ") 257 | CustomActions(""," registration message ") 258 | CustomActions(""," access Totalcmd website ") 259 | CustomActions(""," on Total Commander") 260 | CustomActions(""," drop out Total Commander") 261 | CustomActions(""," minimize Total Commander") 262 | CustomActions(""," maximize Total Commander") 263 | CustomActions(""," restore positive often size ") 264 | CustomActions(""," Cleared Command Line ") 265 | CustomActions(""," next command ") 266 | CustomActions(""," On one command ") 267 | CustomActions(""," will path copy To Command Line ") 268 | CustomActions(""," batch Rename ") 269 | CustomActions(""," system information ") 270 | CustomActions(""," Background Transfer Manager ") 271 | CustomActions(""," search for file ") 272 | CustomActions(""," Synchronize file folder ") 273 | CustomActions(""," file Association ") 274 | CustomActions(""," definition Internal association ") 275 | CustomActions(""," Comparison file content ") 276 | CustomActions(""," use internal Comparison program ") 277 | CustomActions(""," Browse internal command ") 278 | CustomActions(""," display / hide : toolbar ") 279 | CustomActions(""," display / hide : driver press button ") 280 | CustomActions(""," display / hide : Two One driver press button column ") 281 | CustomActions(""," Switch : flat / Dimensional driver press button ") 282 | CustomActions(""," Switch : flat / Dimensional use Households interface ") 283 | CustomActions(""," display / hide : driver List ") 284 | CustomActions(""," display / hide : Current file folder ") 285 | CustomActions(""," display / hide : path navigation column ") 286 | CustomActions(""," display / hide : Sorting Tabs ") 287 | CustomActions(""," display / hide : status column ") 288 | CustomActions(""," display / hide : Command Line ") 289 | CustomActions(""," display / hide : Features key press button ") 290 | CustomActions(""," display file prompt ") 291 | CustomActions(""," display fast Search window ") 292 | CustomActions(""," Open / shut down : long file name display ") 293 | CustomActions(""," Refresh Source window ") 294 | CustomActions(""," only display Selected file ") 295 | CustomActions(""," Open / shut down : hide or system file display ") 296 | CustomActions(""," Open / shut down : 8.3 formula file name lower case display ") 297 | CustomActions(""," Open / shut down : file folder press name Said Sorting ") 298 | CustomActions(""," Unfolded All files folder ") 299 | CustomActions(""," only Unfolded Selected file folder ") 300 | CustomActions(""," window Separated column lie in 50%") 301 | CustomActions(""," window Separated column lie in 100% TC 8.0+") 302 | CustomActions(""," display / hide : file folder label ") 303 | CustomActions(""," display / hide : XP Theme background ") 304 | CustomActions(""," Open / shut down : Overlay icon display ") 305 | CustomActions(""," display / hide : file folder history record with often use file folder press button ") 306 | CustomActions(""," start use / ban use : file folder automatic Refresh ") 307 | CustomActions(""," start use / ban use : from definition hide file ") 308 | CustomActions(""," Open / shut down : 32 Place system32 Directory redirect (64 Place Windows)") 309 | CustomActions(""," shut down independent Folder tree panel ") 310 | CustomActions(""," one One independent Folder tree panel ") 311 | CustomActions(""," Two One independent Folder tree panel ") 312 | CustomActions(""," Switch independent Folder tree panel status ") 313 | CustomActions(""," Open / shut down : one One independent Folder tree panel ") 314 | CustomActions(""," Open / shut down : Two One independent Folder tree panel ") 315 | CustomActions(""," use Households menu 1") 316 | CustomActions(""," use Households menu 2") 317 | CustomActions(""," use Households menu 3") 318 | CustomActions(""," use Households menu 4") 319 | CustomActions(""," use Households menu 5") 320 | CustomActions(""," use Households menu 6") 321 | CustomActions(""," use Households menu 7") 322 | CustomActions(""," use Households menu 8") 323 | CustomActions(""," use Households menu 9") 324 | CustomActions(""," can definition other use Households menu ") 325 | CustomActions(""," New label ") 326 | CustomActions(""," New label ( in Backstage )") 327 | CustomActions(""," New label ( and turn on Cursor of file folder )") 328 | CustomActions(""," New label ( in another one window turn on file folder )") 329 | CustomActions(""," next label (Ctrl+Tab)") 330 | CustomActions(""," Previous label (Ctrl+Shift+Tab)") 331 | CustomActions(""," shut down current label ") 332 | CustomActions(""," shut down all label ") 333 | CustomActions(""," display label menu ") 334 | CustomActions(""," locking / Unlocked current label ") 335 | CustomActions(""," locking / Unlocked current label ( can change file folder )") 336 | CustomActions(""," exchange left right window and label ") 337 | CustomActions(""," turn To locking label of root file folder ") 338 | CustomActions(""," Source window : activation label 1") 339 | CustomActions(""," Source window : activation label 2") 340 | CustomActions(""," Source window : activation label 3") 341 | CustomActions(""," Source window : activation label 4") 342 | CustomActions(""," Source window : activation label 5") 343 | CustomActions(""," Source window : activation label 6") 344 | CustomActions(""," Source window : activation label 7") 345 | CustomActions(""," Source window : activation label 8") 346 | CustomActions(""," Source window : activation label 9") 347 | CustomActions(""," Source window : activation label 10") 348 | CustomActions(""," aims window : activation label 1") 349 | CustomActions(""," aims window : activation label 2") 350 | CustomActions(""," aims window : activation label 3") 351 | CustomActions(""," aims window : activation label 4") 352 | CustomActions(""," aims window : activation label 5") 353 | CustomActions(""," aims window : activation label 6") 354 | CustomActions(""," aims window : activation label 7") 355 | CustomActions(""," aims window : activation label 8") 356 | CustomActions(""," aims window : activation label 9") 357 | CustomActions(""," aims window : activation label 10") 358 | CustomActions(""," left window : activation label 1") 359 | CustomActions(""," left window : activation label 2") 360 | CustomActions(""," left window : activation label 3") 361 | CustomActions(""," left window : activation label 4") 362 | CustomActions(""," left window : activation label 5") 363 | CustomActions(""," left window : activation label 6") 364 | CustomActions(""," left window : activation label 7") 365 | CustomActions(""," left window : activation label 8") 366 | CustomActions(""," left window : activation label 9") 367 | CustomActions(""," left window : activation label 10") 368 | CustomActions(""," right window : activation label 1") 369 | CustomActions(""," right window : activation label 2") 370 | CustomActions(""," right window : activation label 3") 371 | CustomActions(""," right window : activation label 4") 372 | CustomActions(""," right window : activation label 5") 373 | CustomActions(""," right window : activation label 6") 374 | CustomActions(""," right window : activation label 7") 375 | CustomActions(""," right window : activation label 8") 376 | CustomActions(""," right window : activation label 9") 377 | CustomActions(""," right window : activation label 10") 378 | CustomActions(""," Source window : press First 1 Column Sorting ") 379 | CustomActions(""," Source window : press First 2 Column Sorting ") 380 | CustomActions(""," Source window : press First 3 Column Sorting ") 381 | CustomActions(""," Source window : press First 4 Column Sorting ") 382 | CustomActions(""," Source window : press First 5 Column Sorting ") 383 | CustomActions(""," Source window : press First 6 Column Sorting ") 384 | CustomActions(""," Source window : press First 7 Column Sorting ") 385 | CustomActions(""," Source window : press First 8 Column Sorting ") 386 | CustomActions(""," Source window : press First 9 Column Sorting ") 387 | CustomActions(""," Source window : press First 10 Column Sorting ") 388 | CustomActions(""," aims window : press First 1 Column Sorting ") 389 | CustomActions(""," aims window : press First 2 Column Sorting ") 390 | CustomActions(""," aims window : press First 3 Column Sorting ") 391 | CustomActions(""," aims window : press First 4 Column Sorting ") 392 | CustomActions(""," aims window : press First 5 Column Sorting ") 393 | CustomActions(""," aims window : press First 6 Column Sorting ") 394 | CustomActions(""," aims window : press First 7 Column Sorting ") 395 | CustomActions(""," aims window : press First 8 Column Sorting ") 396 | CustomActions(""," aims window : press First 9 Column Sorting ") 397 | CustomActions(""," aims window : press First 10 Column Sorting ") 398 | CustomActions(""," left window : press First 1 Column Sorting ") 399 | CustomActions(""," left window : press First 2 Column Sorting ") 400 | CustomActions(""," left window : press First 3 Column Sorting ") 401 | CustomActions(""," left window : press First 4 Column Sorting ") 402 | CustomActions(""," left window : press First 5 Column Sorting ") 403 | CustomActions(""," left window : press First 6 Column Sorting ") 404 | CustomActions(""," left window : press First 7 Column Sorting ") 405 | CustomActions(""," left window : press First 8 Column Sorting ") 406 | CustomActions(""," left window : press First 9 Column Sorting ") 407 | CustomActions(""," left window : press First 10 Column Sorting ") 408 | CustomActions(""," right window : press First 1 Column Sorting ") 409 | CustomActions(""," right window : press First 2 Column Sorting ") 410 | CustomActions(""," right window : press First 3 Column Sorting ") 411 | CustomActions(""," right window : press First 4 Column Sorting ") 412 | CustomActions(""," right window : press First 5 Column Sorting ") 413 | CustomActions(""," right window : press First 6 Column Sorting ") 414 | CustomActions(""," right window : press First 7 Column Sorting ") 415 | CustomActions(""," right window : press First 8 Column Sorting ") 416 | CustomActions(""," right window : press First 9 Column Sorting ") 417 | CustomActions(""," right window : press First 10 Column Sorting ") 418 | CustomActions(""," Source window : Custom columns As seen Figure 1") 419 | CustomActions(""," Source window : Custom columns As seen Figure 2") 420 | CustomActions(""," Source window : Custom columns As seen Figure 3") 421 | CustomActions(""," Source window : Custom columns As seen Figure 4") 422 | CustomActions(""," Source window : Custom columns As seen Figure 5") 423 | CustomActions(""," Source window : Custom columns As seen Figure 6") 424 | CustomActions(""," Source window : Custom columns As seen Figure 7") 425 | CustomActions(""," Source window : Custom columns As seen Figure 8") 426 | CustomActions(""," Source window : Custom columns As seen Figure 9") 427 | CustomActions(""," Source window : Custom columns As seen Figure 10") 428 | CustomActions(""," left window : Custom columns As seen Figure 1") 429 | CustomActions(""," left window : Custom columns As seen Figure 2") 430 | CustomActions(""," left window : Custom columns As seen Figure 3") 431 | CustomActions(""," left window : Custom columns As seen Figure 4") 432 | CustomActions(""," left window : Custom columns As seen Figure 5") 433 | CustomActions(""," left window : Custom columns As seen Figure 6") 434 | CustomActions(""," left window : Custom columns As seen Figure 7") 435 | CustomActions(""," left window : Custom columns As seen Figure 8") 436 | CustomActions(""," left window : Custom columns As seen Figure 9") 437 | CustomActions(""," left window : Custom columns As seen Figure 10") 438 | CustomActions(""," right window : Custom columns As seen Figure 1") 439 | CustomActions(""," right window : Custom columns As seen Figure 2") 440 | CustomActions(""," right window : Custom columns As seen Figure 3") 441 | CustomActions(""," right window : Custom columns As seen Figure 4") 442 | CustomActions(""," right window : Custom columns As seen Figure 5") 443 | CustomActions(""," right window : Custom columns As seen Figure 6") 444 | CustomActions(""," right window : Custom columns As seen Figure 7") 445 | CustomActions(""," right window : Custom columns As seen Figure 8") 446 | CustomActions(""," right window : Custom columns As seen Figure 9") 447 | CustomActions(""," right window : Custom columns As seen Figure 10") 448 | CustomActions(""," Source window : next from definition As seen Figure ") 449 | CustomActions(""," Source window : Previous from definition As seen Figure ") 450 | CustomActions(""," aims window : next from definition As seen Figure ") 451 | CustomActions(""," aims window : Previous from definition As seen Figure ") 452 | CustomActions(""," left window : next from definition As seen Figure ") 453 | CustomActions(""," left window : Previous from definition As seen Figure ") 454 | CustomActions(""," right window : next from definition As seen Figure ") 455 | CustomActions(""," right window : Previous from definition As seen Figure ") 456 | CustomActions(""," All files All press need load Remarks ") 457 | CustomActions(""," only Selected file press need load Remarks ") 458 | CustomActions(""," stop Backstage load Remarks ") 459 | return 460 | SendPos(Number) 461 | { 462 | PostMessage 1075, %Number%, 0, , AHK_CLASS TTOTAL_CMD 463 | } 464 | ;: >> Source window : Show file notes {{{2 465 | : 466 | SendPos(300) 467 | Return 468 | ;: >> Source window : List {{{2 469 | : 470 | SendPos(301) 471 | Return 472 | ;: >> Source window : details {{{2 473 | : 474 | SendPos(302) 475 | Return 476 | ;: >> Source window : Folder tree {{{2 477 | : 478 | SendPos(303) 479 | ;: >> Source window : Quick View {{{2 480 | : 481 | SendPos(304) 482 | Return 483 | ;: >> Vertical row Column {{{2 484 | : 485 | SendPos(305) 486 | Return 487 | ;: >> Source window : Quick View ( No plugins ){{{2 488 | : 489 | SendPos(306) 490 | Return 491 | ;: >> Source window : shut down Quick View window {{{2 492 | : 493 | SendPos(307) 494 | Return 495 | ;: >> Source window : executable file {{{2 496 | : 497 | SendPos(311) 498 | Return 499 | ;: >> Source window : All files {{{2 500 | : 501 | SendPos(312) 502 | Return 503 | ;: >> Source window : The last selected file {{{2 504 | : 505 | SendPos(313) 506 | Return 507 | ;: >> Source window : Custom type {{{2 508 | : 509 | SendPos(314) 510 | Return 511 | ;: >> Source window : Sort by file name {{{2 512 | : 513 | SendPos(321) 514 | Return 515 | ;: >> Source window : Sort by extension {{{2 516 | : 517 | SendPos(322) 518 | Return 519 | ;: >> Source window : Sort by size {{{2 520 | : 521 | SendPos(323) 522 | Return 523 | ;: >> Source window : Sort by date and time {{{2 524 | : 525 | SendPos(324) 526 | Return 527 | ;: >> Source window : Not sorted {{{2 528 | : 529 | SendPos(325) 530 | Return 531 | ;: >> Source window : Reverse sort {{{2 532 | : 533 | SendPos(330) 534 | Return 535 | ;: >> Source window : Open the drive List {{{2 536 | : 537 | SendPos(331) 538 | Return 539 | ;: >> Source window : Thumbnails {{{2 540 | : 541 | SendPos(269 ) 542 | Return 543 | ;: >> Source window : Customize the view menu {{{2 544 | : 545 | SendPos(270) 546 | Return 547 | ;: >> Source window : Focus on the path {{{2 548 | : 549 | SendPos(332) 550 | Return 551 | ; left window ========================================= 552 | Return 553 | ;: >> left window : Show file notes {{{2 554 | : 555 | SendPos(100) 556 | Return 557 | ;: >> left window : List {{{2 558 | : 559 | SendPos(101) 560 | Return 561 | ;: >> left window : details {{{2 562 | : 563 | SendPos(102) 564 | Return 565 | ;: >> left window : Folder tree {{{2 566 | : 567 | SendPos(103) 568 | Return 569 | ;: >> left window : Quick View {{{2 570 | : 571 | SendPos(104) 572 | Return 573 | ;: >> left window : Quick View ( No plugins ){{{2 574 | : 575 | SendPos(106) 576 | Return 577 | ;: >> left window : shut down Quick View window {{{2 578 | : 579 | SendPos(107) 580 | Return 581 | ;: >> left window : executable file {{{2 582 | : 583 | SendPos(111) 584 | Return 585 | ;: >> left window : All files {{{2 586 | : 587 | SendPos(112) 588 | Return 589 | ;: >> left window : The last selected file {{{2 590 | : 591 | SendPos(113) 592 | Return 593 | ;: >> left window : Custom type {{{2 594 | : 595 | SendPos(114) 596 | Return 597 | ;: >> left window : Sort by file name {{{2 598 | : 599 | SendPos(121) 600 | Return 601 | ;: >> left window : Sort by extension {{{2 602 | : 603 | SendPos(122) 604 | Return 605 | ;: >> left window : Sort by size {{{2 606 | : 607 | SendPos(123) 608 | Return 609 | ;: >> left window : Sort by date and time {{{2 610 | : 611 | SendPos(124) 612 | Return 613 | ;: >> left window : Not sorted {{{2 614 | : 615 | SendPos(125) 616 | Return 617 | ;: >> left window : Reverse sort {{{2 618 | : 619 | SendPos(130) 620 | Return 621 | ;: >> left window : Open the drive List {{{2 622 | : 623 | SendPos(131) 624 | Return 625 | ;: >> left window : Focus on the path {{{2 626 | : 627 | SendPos(132) 628 | Return 629 | ;: >> left window : Unfolded All files folder {{{2 630 | : 631 | SendPos(203) 632 | Return 633 | ;: >> left window : only Unfolded Selected file folder {{{2 634 | : 635 | SendPos(204) 636 | Return 637 | ;: >> window : Thumbnails {{{2 638 | : 639 | SendPos(69) 640 | Return 641 | ;: >> window : Customize the view menu {{{2 642 | : 643 | SendPos(70) 644 | Return 645 | ; right window ========================================= 646 | Return 647 | ;: >> right window : Show file notes {{{2 648 | : 649 | SendPos(200) 650 | Return 651 | ;: >> right window : List {{{2 652 | : 653 | SendPos(201) 654 | Return 655 | ;: >> details {{{2 656 | : 657 | SendPos(202) 658 | Return 659 | ;: >> right window : Folder tree {{{2 660 | : 661 | SendPos(203) 662 | Return 663 | ;: >> right window : Quick View {{{2 664 | : 665 | SendPos(204) 666 | Return 667 | ;: >> right window : Quick View ( No plugins ){{{2 668 | : 669 | SendPos(206) 670 | Return 671 | ;: >> right window : shut down Quick View window {{{2 672 | : 673 | SendPos(207) 674 | Return 675 | ;: >> right window : executable file {{{2 676 | : 677 | SendPos(211) 678 | Return 679 | ;: >> right window : All files {{{2 680 | : 681 | SendPos(212) 682 | Return 683 | ;: >> right window : The last selected file {{{2 684 | : 685 | SendPos(213) 686 | Return 687 | ;: >> right window : Custom type {{{2 688 | : 689 | SendPos(214) 690 | Return 691 | ;: >> right window : Sort by file name {{{2 692 | : 693 | SendPos(221) 694 | Return 695 | ;: >> right window : Sort by extension {{{2 696 | : 697 | SendPos(222) 698 | Return 699 | ;: >> right window : Sort by size {{{2 700 | : 701 | SendPos(223) 702 | Return 703 | ;: >> right window : Sort by date and time {{{2 704 | : 705 | SendPos(224) 706 | Return 707 | ;: >> right window : Not sorted {{{2 708 | : 709 | SendPos(225) 710 | Return 711 | ;: >> right window : Reverse sort {{{2 712 | : 713 | SendPos(230) 714 | Return 715 | ;: >> right window : Open the drive List {{{2 716 | : 717 | SendPos(231) 718 | Return 719 | ;: >> right window : Focus on the path {{{2 720 | : 721 | SendPos(232) 722 | Return 723 | ;: >> right window : Unfolded All files folder {{{2 724 | : 725 | SendPos(2035) 726 | Return 727 | ;: >> right window : only Unfolded Selected file folder {{{2 728 | : 729 | SendPos(2048) 730 | Return 731 | ;: >> right window : Thumbnails {{{2 732 | : 733 | SendPos(169) 734 | Return 735 | ;: >> right window : Customize the view menu {{{2 736 | : 737 | SendPos(170) 738 | Return 739 | ; file operating ========================================= 740 | Return 741 | ;: >> To view ( use To view program ){{{2 742 | : 743 | SendPos(903) 744 | Return 745 | ;: >> To view ( use To view program , but No plugins / multimedia ){{{2 746 | : 747 | SendPos(1006) 748 | Return 749 | ;: >> edit {{{2 750 | : 751 | SendPos(904) 752 | Return 753 | ;: >> copy {{{2 754 | : 755 | SendPos(905) 756 | Return 757 | ;: >> copy To the present window {{{2 758 | : 759 | SendPos(3100) 760 | Return 761 | ;: >> copy To another window {{{2 762 | : 763 | SendPos(3101) 764 | Return 765 | ;: >> Rename / mobile {{{2 766 | : 767 | SendPos(906) 768 | Return 769 | ;: >> create a new file folder {{{2 770 | : 771 | SendPos(907) 772 | Return 773 | ;: >> delete {{{2 774 | : 775 | SendPos(908) 776 | Return 777 | ;: >> Test compression package {{{2 778 | : 779 | SendPos(518) 780 | Return 781 | ;: >> Compressed file {{{2 782 | : 783 | SendPos(508) 784 | Return 785 | ;: >> unzip files {{{2 786 | : 787 | SendPos(509) 788 | Return 789 | ;: >> Rename (Shift+F6){{{2 790 | : 791 | SendPos(1002) 792 | Return 793 | ;: >> Rename Current file {{{2 794 | : 795 | SendPos(1007) 796 | Return 797 | ;: >> mobile (F6){{{2 798 | : 799 | SendPos(1005) 800 | Return 801 | ;: >> Display properties {{{2 802 | : 803 | SendPos(1003) 804 | Return 805 | ;: >> Create Shortcut {{{2 806 | : 807 | SendPos(1004) 808 | Return 809 | ;: >> Imitate by ENTER key {{{2 810 | : 811 | SendPos(1001) 812 | Return 813 | ;: >> To the other use The identity of the household runs the cursor program {{{2 814 | : 815 | SendPos(2800) 816 | Return 817 | ;: >> Split files {{{2 818 | : 819 | SendPos(560) 820 | Return 821 | ;: >> Merge documents {{{2 822 | : 823 | SendPos(561) 824 | Return 825 | ;: >> Encoding file (MIME/UUE/XXE format ){{{2 826 | : 827 | SendPos(562) 828 | Return 829 | ;: >> Decode the file (MIME/UUE/XXE/BinHex format ){{{2 830 | : 831 | SendPos(563) 832 | Return 833 | ;: >> Create a check file {{{2 834 | : 835 | SendPos(564) 836 | Return 837 | ;: >> Verify checksum {{{2 838 | : 839 | SendPos(565) 840 | Return 841 | ;: >> Change the property {{{2 842 | : 843 | SendPos(502) 844 | Return 845 | ; Configuration ========================================= 846 | Return 847 | ;: >> Configuration : layout {{{2 848 | : 849 | SendPos(490) 850 | Return 851 | ;: >> Configuration : display {{{2 852 | : 853 | SendPos(486) 854 | Return 855 | ;: >> Configuration : icon {{{2 856 | : 857 | SendPos(477) 858 | Return 859 | ;: >> Configuration : Font {{{2 860 | : 861 | SendPos(492) 862 | Return 863 | ;: >> Configuration : Colour {{{2 864 | : 865 | SendPos(494) 866 | Return 867 | ;: >> Configuration : Tabs {{{2 868 | : 869 | SendPos(497) 870 | Return 871 | ;: >> Configuration : file folder label {{{2 872 | : 873 | SendPos(488) 874 | Return 875 | ;: >> Configuration : Custom columns {{{2 876 | : 877 | SendPos(483) 878 | Return 879 | ;: >> Change the current Custom columns {{{2 880 | : 881 | SendPos(2920) 882 | Return 883 | ;: >> Configuration : Language {{{2 884 | : 885 | SendPos(499) 886 | Return 887 | ;: >> Configuration : Operation method {{{2 888 | : 889 | SendPos(516) 890 | Return 891 | ;: >> Configuration : edit / To view {{{2 892 | : 893 | SendPos(496) 894 | Return 895 | ;: >> Configuration : copy / delete {{{2 896 | : 897 | SendPos(487) 898 | Return 899 | ;: >> Configuration : Refresh {{{2 900 | : 901 | SendPos(478) 902 | Return 903 | ;: >> Configuration : fast Search {{{2 904 | : 905 | SendPos(479) 906 | Return 907 | ;: >> Configuration : FTP{{{2 908 | : 909 | SendPos(489) 910 | Return 911 | ;: >> Configuration : Plugin {{{2 912 | : 913 | SendPos(484) 914 | Return 915 | ;: >> Configuration : Thumbnails {{{2 916 | : 917 | SendPos(482) 918 | Return 919 | ;: >> Configuration : Log file {{{2 920 | : 921 | SendPos(481) 922 | Return 923 | ;: >> Configuration : hide file {{{2 924 | : 925 | SendPos(480) 926 | Return 927 | ;: >> Configuration : compression program {{{2 928 | : 929 | SendPos(491) 930 | Return 931 | ;: >> Configuration : ZIP compression program {{{2 932 | : 933 | SendPos(485) 934 | Return 935 | ;: >> Configuration : other / confirm {{{2 936 | : 937 | SendPos(495) 938 | Return 939 | ;: >> Storage position {{{2 940 | : 941 | SendPos(493) 942 | Return 943 | ;: >> Change the toolbar {{{2 944 | : 945 | SendPos(498) 946 | Return 947 | ;: >> Save Settings {{{2 948 | : 949 | SendPos(580) 950 | Return 951 | ;: >> Direct modification Configuration file {{{2 952 | : 953 | SendPos(581) 954 | Return 955 | ;: >> Save file folder history record {{{2 956 | : 957 | SendPos(582) 958 | Return 959 | ;: >> Change the Start menu {{{2 960 | : 961 | SendPos(700) 962 | Return 963 | ; The internet ========================================= 964 | Return 965 | ;: >> Mapping network drives {{{2 966 | : 967 | SendPos(512) 968 | Return 969 | ;: >> Disconnect the network drive {{{2 970 | : 971 | SendPos(513) 972 | Return 973 | ;: >> shared Current file folder {{{2 974 | : 975 | SendPos(514) 976 | Return 977 | ;: >> cancel file folder shared {{{2 978 | : 979 | SendPos(515) 980 | Return 981 | ;: >> display system shared file folder {{{2 982 | : 983 | SendPos(2204) 984 | Return 985 | ;: >> display local file The remote use Households {{{2 986 | : 987 | SendPos(2203) 988 | Return 989 | ; other ========================================= 990 | Return 991 | ;: >> Calculate the account use space {{{2 992 | : 993 | SendPos(503) 994 | Return 995 | ;: >> Set the label {{{2 996 | : 997 | SendPos(505) 998 | Return 999 | ;: >> Version Information {{{2 1000 | : 1001 | SendPos(510) 1002 | Return 1003 | ;: >> Open a command prompt window {{{2 1004 | : 1005 | SendPos(511) 1006 | Return 1007 | ;: >> Comparison file folder {{{2 1008 | : 1009 | SendPos(533) 1010 | Return 1011 | ;: >> Comparison file folder ( Also mark another window No child file folder ){{{2 1012 | : 1013 | SendPos(536) 1014 | Return 1015 | ;: >> display Shortcut menu {{{2 1016 | : 1017 | SendPos(2500) 1018 | Return 1019 | ;: >> display Shortcut menu ( Internal association ){{{2 1020 | : 1021 | SendPos(2927) 1022 | Return 1023 | ;: >> display Cursor file of Internal association Shortcut menu {{{2 1024 | : 1025 | SendPos(2928) 1026 | Return 1027 | ;: >> Media Center Remote Control Play / pause key Shortcut menu {{{2 1028 | : 1029 | SendPos(2930) 1030 | Return 1031 | ;: >> On both sides window Synchronize changes file folder {{{2 1032 | : 1033 | SendPos(2600) 1034 | Return 1035 | ;: >> edit file Remarks {{{2 1036 | : 1037 | SendPos(2700) 1038 | Return 1039 | ;: >> Focus on left window {{{2 1040 | : 1041 | SendPos(4001) 1042 | Return 1043 | ;: >> Focus on right window {{{2 1044 | : 1045 | SendPos(4002) 1046 | Return 1047 | ;: >> Focus on Command Line {{{2 1048 | : 1049 | SendPos(4003) 1050 | Return 1051 | ;: >> Focus on toolbar {{{2 1052 | : 1053 | SendPos(4004) 1054 | Return 1055 | ;: >> calculate All files folder take up use of space {{{2 1056 | : 1057 | SendPos(2014) 1058 | Return 1059 | ;: >> Uninstall all Plugin {{{2 1060 | : 1061 | SendPos(2913) 1062 | Return 1063 | ;: >> Mark new file , hide The same person {{{2 1064 | : 1065 | SendPos(534) 1066 | Return 1067 | ;: >> exchange left right window {{{2 1068 | : 1069 | SendPos(531) 1070 | Return 1071 | ;: >> aims = source {{{2 1072 | : 1073 | SendPos(532) 1074 | Return 1075 | ;: >> Refresh Selected file of Thumbnails {{{2 1076 | : 1077 | SendPos(2918) 1078 | Return 1079 | ; and mouth ========================================= 1080 | Return 1081 | ;: >> Direct cable connection {{{2 1082 | : 1083 | SendPos(2300) 1084 | Return 1085 | ;: >> load NT Parallel drive program {{{2 1086 | : 1087 | SendPos(2301) 1088 | Return 1089 | ;: >> Unloading NT Parallel drive program {{{2 1090 | : 1091 | SendPos(2302) 1092 | Return 1093 | ; print ========================================= 1094 | Return 1095 | ;: >> print file List {{{2 1096 | : 1097 | SendPos(2027) 1098 | Return 1099 | ;: >> print file List ( Containers file folder ){{{2 1100 | : 1101 | SendPos(2028) 1102 | Return 1103 | ;: >> print file content {{{2 1104 | : 1105 | SendPos(504) 1106 | Return 1107 | ; select ========================================= 1108 | Return 1109 | ;: >> Choose a group file {{{2 1110 | : 1111 | SendPos(521) 1112 | Return 1113 | ;: >> Choose a group : file with file folder {{{2 1114 | : 1115 | SendPos(3311) 1116 | Return 1117 | ;: >> Choose a group : only file {{{2 1118 | : 1119 | SendPos(3312) 1120 | Return 1121 | ;: >> Choose a group : only file folder {{{2 1122 | : 1123 | SendPos(3313) 1124 | Return 1125 | ;: >> Do not choose a group file {{{2 1126 | : 1127 | SendPos(522) 1128 | Return 1129 | ;: >> Do not choose a group : only file {{{2 1130 | : 1131 | SendPos(3314) 1132 | Return 1133 | ;: >> Do not choose a group : only file folder {{{2 1134 | : 1135 | SendPos(3315) 1136 | Return 1137 | ;: >> Do not choose a group : file with / or file folder ( As seen Configuration Depending on ){{{2 1138 | : 1139 | SendPos(3316) 1140 | Return 1141 | ;: >> All selected : file with / or file folder ( As seen Configuration Depending on ){{{2 1142 | : 1143 | SendPos(523) 1144 | Return 1145 | ;: >> All selected : file with file folder {{{2 1146 | : 1147 | SendPos(3301) 1148 | Return 1149 | ;: >> All selected : only file {{{2 1150 | : 1151 | SendPos(3302) 1152 | Return 1153 | ;: >> All selected : only file folder {{{2 1154 | : 1155 | SendPos(3303) 1156 | Return 1157 | ;: >> All cancel : file with file folder {{{2 1158 | : 1159 | SendPos(524) 1160 | Return 1161 | ;: >> All cancel : only file {{{2 1162 | : 1163 | SendPos(3304) 1164 | Return 1165 | ;: >> All cancel : only file folder {{{2 1166 | : 1167 | SendPos(3305) 1168 | Return 1169 | ;: >> All cancel : file with / or file folder ( As seen Configuration Depending on ){{{2 1170 | : 1171 | SendPos(3306) 1172 | Return 1173 | ;: >> Reverse selection {{{2 1174 | : 1175 | SendPos(525) 1176 | Return 1177 | ;: >> Reverse selection : file with file folder {{{2 1178 | : 1179 | SendPos(3321) 1180 | Return 1181 | ;: >> Reverse selection : only file {{{2 1182 | : 1183 | SendPos(3322) 1184 | Return 1185 | ;: >> Reverse selection : only file folder {{{2 1186 | : 1187 | SendPos(3323) 1188 | Return 1189 | ;: >> Select the same extension of file {{{2 1190 | : 1191 | SendPos(527) 1192 | Return 1193 | ;: >> Do not choose the same extension of file {{{2 1194 | : 1195 | SendPos(528) 1196 | Return 1197 | ;: >> select file The same name of file {{{2 1198 | : 1199 | SendPos(541) 1200 | Return 1201 | ;: >> Not elected file The same name of file {{{2 1202 | : 1203 | SendPos(542) 1204 | Return 1205 | ;: >> select file name with Extended The same name of file {{{2 1206 | : 1207 | SendPos(543) 1208 | Return 1209 | ;: >> Not elected file name with Extended The same name of file {{{2 1210 | : 1211 | SendPos(544) 1212 | Return 1213 | ;: >> select The same path Under the file ( Unfolded file folder + search for file ){{{2 1214 | : 1215 | SendPos(537) 1216 | Return 1217 | ;: >> Not elected The same path Under the file ( Unfolded file folder + search for file ){{{2 1218 | : 1219 | SendPos(538) 1220 | Return 1221 | ;: >> restore select List {{{2 1222 | : 1223 | SendPos(529) 1224 | Return 1225 | ;: >> Save select List {{{2 1226 | : 1227 | SendPos(530) 1228 | Return 1229 | ;: >> Export select List {{{2 1230 | : 1231 | SendPos(2031) 1232 | Return 1233 | ;: >> Export select List (ANSI){{{2 1234 | : 1235 | SendPos(2041) 1236 | Return 1237 | ;: >> Export select List (Unicode){{{2 1238 | : 1239 | SendPos(2042) 1240 | Return 1241 | ;: >> Export details {{{2 1242 | : 1243 | SendPos(2039) 1244 | Return 1245 | ;: >> Export details (ANSI){{{2 1246 | : 1247 | SendPos(2043) 1248 | Return 1249 | ;: >> Export details (Unicode){{{2 1250 | : 1251 | SendPos(2044) 1252 | Return 1253 | ;: >> Import select List ( From file ){{{2 1254 | : 1255 | SendPos(2032) 1256 | Return 1257 | ;: >> Import select List ( From Clipboard ){{{2 1258 | : 1259 | SendPos(2033) 1260 | Return 1261 | ; Safety ========================================= 1262 | Return 1263 | ;: >> Setting permissions (NTFS){{{2 1264 | : 1265 | SendPos(2200) 1266 | Return 1267 | ;: >> Review file (NTFS){{{2 1268 | : 1269 | SendPos(2201) 1270 | Return 1271 | ;: >> Get ownership (NTFS){{{2 1272 | : 1273 | SendPos(2202) 1274 | Return 1275 | ; Clipboard ========================================= 1276 | Return 1277 | ;: >> Cut Selected file To Clipboard {{{2 1278 | : 1279 | SendPos(2007) 1280 | Return 1281 | ;: >> copy Selected file To Clipboard {{{2 1282 | : 1283 | SendPos(2008) 1284 | Return 1285 | ;: >> From Clipboard Paste To the present file folder {{{2 1286 | : 1287 | SendPos(2009) 1288 | Return 1289 | ;: >> copy file name {{{2 1290 | : 1291 | SendPos(2017) 1292 | Return 1293 | ;: >> copy file name And the full path {{{2 1294 | : 1295 | SendPos(2018) 1296 | Return 1297 | ;: >> copy file name And network paths {{{2 1298 | : 1299 | SendPos(2021) 1300 | Return 1301 | ;: >> copy source path {{{2 1302 | : 1303 | SendPos(2029) 1304 | Return 1305 | ;: >> copy aims path {{{2 1306 | : 1307 | SendPos(2030) 1308 | Return 1309 | ;: >> copy file details {{{2 1310 | : 1311 | SendPos(2036) 1312 | Return 1313 | ;: >> copy file details And the full path {{{2 1314 | : 1315 | SendPos(2037) 1316 | Return 1317 | ;: >> copy file details And network paths {{{2 1318 | : 1319 | SendPos(2038) 1320 | Return 1321 | ;FTP ========================================= 1322 | Return 1323 | ;: >>FTP connection {{{2 1324 | : 1325 | SendPos(550) 1326 | Return 1327 | ;: >> New FTP connection {{{2 1328 | : 1329 | SendPos(551) 1330 | Return 1331 | ;: >> disconnect FTP connection {{{2 1332 | : 1333 | SendPos(552) 1334 | Return 1335 | ;: >> display hide file {{{2 1336 | : 1337 | SendPos(553) 1338 | Return 1339 | ;: >> Stop the current FTP command {{{2 1340 | : 1341 | SendPos(554) 1342 | Return 1343 | ;: >> Continued {{{2 1344 | : 1345 | SendPos(555) 1346 | Return 1347 | ;: >> select Transmission mode {{{2 1348 | : 1349 | SendPos(556) 1350 | Return 1351 | ;: >> Add to To download List {{{2 1352 | : 1353 | SendPos(557) 1354 | Return 1355 | ;: >> press List download {{{2 1356 | : 1357 | SendPos(558) 1358 | Return 1359 | ; navigation ========================================= 1360 | Return 1361 | ;: >> Backwards {{{2 1362 | : 1363 | SendPos(570) 1364 | Return 1365 | ;: >> go ahead {{{2 1366 | : 1367 | SendPos(571) 1368 | Return 1369 | ;: >> file folder history record {{{2 1370 | : 1371 | Vim_HotkeyCount := 0 1372 | SendPos(572) 1373 | Return 1374 | ;: >> Backwards ( non- FTP){{{2 1375 | : 1376 | SendPos(573) 1377 | Return 1378 | ;: >> go ahead ( non- FTP){{{2 1379 | : 1380 | SendPos(574) 1381 | Return 1382 | ;: >> often use file folder {{{2 1383 | : 1384 | Vim_HotkeyCount := 0 1385 | SendPos(526) 1386 | Return 1387 | ;: >> turn To root file folder {{{2 1388 | : 1389 | SendPos(2001) 1390 | Return 1391 | ;: >> turn To upper layer file folder {{{2 1392 | : 1393 | SendPos(2002) 1394 | Return 1395 | ;: >> turn on Cursor of file folder or compression package {{{2 1396 | : 1397 | SendPos(2003) 1398 | Return 1399 | ;: >> desktop {{{2 1400 | : 1401 | SendPos(2121) 1402 | Return 1403 | ;: >> I of computer {{{2 1404 | : 1405 | SendPos(2122) 1406 | Return 1407 | ;: >> control panel {{{2 1408 | : 1409 | SendPos(2123) 1410 | Return 1411 | ;: >> Font {{{2 1412 | : 1413 | SendPos(2124) 1414 | Return 1415 | ;: >> Online Neighborhood {{{2 1416 | : 1417 | SendPos(2125) 1418 | Return 1419 | ;: >> print machine {{{2 1420 | : 1421 | SendPos(2126) 1422 | Return 1423 | ;: >> Recycle bin {{{2 1424 | : 1425 | SendPos(2127) 1426 | Return 1427 | ;: >> change file folder {{{2 1428 | : 1429 | SendPos(500) 1430 | Return 1431 | ;: >> in left window turn on Cursor of file folder or compression package {{{2 1432 | : 1433 | SendPos(2024) 1434 | Return 1435 | ;: >> in right window turn on Cursor of file folder or compression package {{{2 1436 | : 1437 | SendPos(2025) 1438 | Return 1439 | ;: >> edit Source window of path {{{2 1440 | : 1441 | SendPos(2912) 1442 | Return 1443 | ;: >> Cursor shift To List in of First file {{{2 1444 | : 1445 | SendPos(2050) 1446 | Return 1447 | ;: >> turn To The next drive {{{2 1448 | : 1449 | SendPos(2051) 1450 | Return 1451 | ;: >> turn To On a drive {{{2 1452 | : 1453 | SendPos(2052) 1454 | Return 1455 | ;: >> turn To next Selected file {{{2 1456 | : 1457 | SendPos(2053) 1458 | Return 1459 | ;: >> turn To Previous Selected file {{{2 1460 | : 1461 | SendPos(2054) 1462 | Return 1463 | ;: >> turn To driver A{{{2 1464 | : 1465 | SendPos(2061) 1466 | Return 1467 | ;: >> turn To driver C{{{2 1468 | : 1469 | SendPos(2063) 1470 | Return 1471 | ;: >> turn To driver D{{{2 1472 | : 1473 | SendPos(2064) 1474 | Return 1475 | ;: >> turn To driver E{{{2 1476 | : 1477 | SendPos(2065) 1478 | Return 1479 | ;: >> Can be customized other driver {{{2 1480 | : 1481 | SendPos(2066) 1482 | Return 1483 | ;: >> most 26 One {{{2 1484 | : 1485 | SendPos(2086) 1486 | Return 1487 | ; help ========================================= 1488 | Return 1489 | ;: >> Help index {{{2 1490 | : 1491 | SendPos(610) 1492 | Return 1493 | ;: >> Fast key List {{{2 1494 | : 1495 | SendPos(620) 1496 | Return 1497 | ;: >> registration message {{{2 1498 | : 1499 | SendPos(630) 1500 | Return 1501 | ;: >> access Totalcmd website {{{2 1502 | : 1503 | SendPos(640) 1504 | Return 1505 | ;: >> on Total Commander{{{2 1506 | : 1507 | SendPos(690) 1508 | Return 1509 | ; window ========================================= 1510 | Return 1511 | ;: >> drop out Total Commander{{{2 1512 | : 1513 | SendPos(24340) 1514 | Return 1515 | ;: >> minimize Total Commander{{{2 1516 | : 1517 | SendPos(2000) 1518 | Return 1519 | ;: >> maximize Total Commander{{{2 1520 | : 1521 | SendPos(2015) 1522 | Return 1523 | ;: >> restore positive often size {{{2 1524 | : 1525 | SendPos(2016) 1526 | Return 1527 | ; Command Line ========================================= 1528 | Return 1529 | ;: >> Cleared Command Line {{{2 1530 | : 1531 | SendPos(2004) 1532 | Return 1533 | ;: >> next command {{{2 1534 | : 1535 | SendPos(2005) 1536 | Return 1537 | ;: >> On one command {{{2 1538 | : 1539 | SendPos(2006) 1540 | Return 1541 | ;: >> will path copy To Command Line {{{2 1542 | : 1543 | SendPos(2019) 1544 | Return 1545 | ; tool ========================================= 1546 | Return 1547 | ;: >> batch Rename {{{2 1548 | : 1549 | SendPos(2400) 1550 | Return 1551 | ;: >> system information {{{2 1552 | : 1553 | SendPos(506) 1554 | Return 1555 | ;: >> Background Transfer Manager {{{2 1556 | : 1557 | SendPos(559) 1558 | Return 1559 | ;: >> search for file {{{2 1560 | : 1561 | SendPos(501) 1562 | Return 1563 | ;: >> Synchronize file folder {{{2 1564 | : 1565 | SendPos(2020) 1566 | Return 1567 | ;: >> file Association {{{2 1568 | : 1569 | SendPos(507) 1570 | Return 1571 | ;: >> definition Internal association {{{2 1572 | : 1573 | SendPos(519) 1574 | Return 1575 | ;: >> Comparison file content {{{2 1576 | : 1577 | SendPos(2022) 1578 | Return 1579 | ;: >> use internal Comparison program {{{2 1580 | : 1581 | SendPos(2040) 1582 | Return 1583 | ;: >> Browse internal command {{{2 1584 | : 1585 | SendPos(2924) 1586 | Return 1587 | ; As seen Figure ========================================= 1588 | Return 1589 | ;: >> display / hide : toolbar {{{2 1590 | : 1591 | SendPos(2901) 1592 | Return 1593 | ;: >> display / hide : driver press button {{{2 1594 | : 1595 | SendPos(2902) 1596 | Return 1597 | ;: >> display / hide : Two One driver press button column {{{2 1598 | : 1599 | SendPos(2903) 1600 | Return 1601 | ;: >> Switch : flat / Dimensional driver press button {{{2 1602 | : 1603 | SendPos(2904) 1604 | Return 1605 | ;: >> Switch : flat / Dimensional use Households interface {{{2 1606 | : 1607 | SendPos(2905) 1608 | Return 1609 | ;: >> display / hide : driver List {{{2 1610 | : 1611 | SendPos(2906) 1612 | Return 1613 | ;: >> display / hide : Current file folder {{{2 1614 | : 1615 | SendPos(2907) 1616 | Return 1617 | ;: >> display / hide : path navigation column {{{2 1618 | : 1619 | SendPos(2926) 1620 | Return 1621 | ;: >> display / hide : Sorting Tabs {{{2 1622 | : 1623 | SendPos(2908) 1624 | Return 1625 | ;: >> display / hide : status column {{{2 1626 | : 1627 | SendPos(2909) 1628 | Return 1629 | ;: >> display / hide : Command Line {{{2 1630 | : 1631 | SendPos(2910) 1632 | Return 1633 | ;: >> display / hide : Features key press button {{{2 1634 | : 1635 | SendPos(2911) 1636 | Return 1637 | ;: >> display file prompt {{{2 1638 | : 1639 | SendPos(2914) 1640 | Return 1641 | ;: >> display fast Search window {{{2 1642 | : 1643 | SendPos(2915) 1644 | Return 1645 | ;: >> Open / shut down : long file name display {{{2 1646 | : 1647 | SendPos(2010) 1648 | Return 1649 | ;: >> Refresh Source window {{{2 1650 | : 1651 | SendPos(540) 1652 | Return 1653 | ;: >> only display Selected file {{{2 1654 | : 1655 | SendPos(2023) 1656 | Return 1657 | ;: >> Open / shut down : hide or system file display {{{2 1658 | : 1659 | SendPos(2011) 1660 | Return 1661 | ;: >> Open / shut down : 8.3 formula file name lower case display {{{2 1662 | : 1663 | SendPos(2013) 1664 | Return 1665 | ;: >> Open / shut down : file folder press name Said Sorting {{{2 1666 | : 1667 | SendPos(2012) 1668 | Return 1669 | ;: >> Unfolded All files folder {{{2 1670 | : 1671 | SendPos(2026) 1672 | Return 1673 | ;: >> only Unfolded Selected file folder {{{2 1674 | : 1675 | SendPos(2046) 1676 | Return 1677 | ;: >> window Separated column lie in 50%{{{2 1678 | : 1679 | SendPos(909) 1680 | Return 1681 | ;: >> window Separated column lie in 100%{{{2 1682 | : 1683 | SendPos(910) 1684 | Return 1685 | ;: >> display / hide : file folder label {{{2 1686 | : 1687 | SendPos(2916) 1688 | Return 1689 | ;: >> display / hide : XP Theme background {{{2 1690 | : 1691 | SendPos(2923) 1692 | Return 1693 | ;: >> Open / shut down : Overlay icon display {{{2 1694 | : 1695 | SendPos(2917) 1696 | Return 1697 | ;: >> display / hide : file folder history record with often use file folder press button {{{2 1698 | : 1699 | SendPos(2919) 1700 | Return 1701 | ;: >> start use / ban use : file folder automatic Refresh {{{2 1702 | : 1703 | SendPos(2921) 1704 | Return 1705 | ;: >> start use / ban use : from definition hide file {{{2 1706 | : 1707 | SendPos(2922) 1708 | Return 1709 | ;: >> Open / shut down : 32 Place system32 Directory redirect (64 Place Windows){{{2 1710 | : 1711 | SendPos(2925) 1712 | Return 1713 | ;: >> shut down independent Folder tree panel {{{2 1714 | : 1715 | SendPos(3200) 1716 | Return 1717 | ;: >> one One independent Folder tree panel {{{2 1718 | : 1719 | SendPos(3201) 1720 | Return 1721 | ;: >> Two One independent Folder tree panel {{{2 1722 | : 1723 | SendPos(3202) 1724 | Return 1725 | ;: >> Switch independent Folder tree panel status {{{2 1726 | : 1727 | SendPos(3203) 1728 | Return 1729 | ;: >> Open / shut down : one One independent Folder tree panel {{{2 1730 | : 1731 | SendPos(3204) 1732 | Return 1733 | ;: >> Open / shut down : Two One independent Folder tree panel {{{2 1734 | : 1735 | SendPos(3205) 1736 | Return 1737 | ; use Households ========================================= 1738 | Return 1739 | ;: >> use Households menu 1{{{2 1740 | : 1741 | SendPos(701) 1742 | Return 1743 | ;: >> use Households menu 2{{{2 1744 | : 1745 | SendPos(702) 1746 | Return 1747 | ;: >> use Households menu 3{{{2 1748 | : 1749 | SendPos(703) 1750 | Return 1751 | ;: >>...{{{2 1752 | : 1753 | SendPos(704) 1754 | Return 1755 | ;: >>5{{{2 1756 | : 1757 | SendPos(70) 1758 | Return 1759 | ;: >>6{{{2 1760 | : 1761 | SendPos(70) 1762 | Return 1763 | ;: >>7{{{2 1764 | : 1765 | SendPos(70) 1766 | Return 1767 | ;: >>8{{{2 1768 | : 1769 | SendPos(70) 1770 | Return 1771 | ;: >>9{{{2 1772 | : 1773 | SendPos(70) 1774 | Return 1775 | ;: >> can definition other use Households menu {{{2 1776 | : 1777 | SendPos(710) 1778 | Return 1779 | ; label ========================================= 1780 | Return 1781 | ;: >> New label {{{2 1782 | : 1783 | SendPos(3001) 1784 | Return 1785 | ;: >> New label ( in Backstage ){{{2 1786 | : 1787 | SendPos(3002) 1788 | Return 1789 | ;: >> New label ( and turn on Cursor of file folder ){{{2 1790 | : 1791 | SendPos(3003) 1792 | Return 1793 | ;: >> New label ( in another one window turn on file folder ){{{2 1794 | : 1795 | SendPos(3004) 1796 | Return 1797 | ;: >> next label (Ctrl+Tab){{{2 1798 | : 1799 | SendPos(3005) 1800 | Return 1801 | ;: >> Previous label (Ctrl+Shift+Tab){{{2 1802 | : 1803 | SendPos(3006) 1804 | Return 1805 | ;: >> shut down current label {{{2 1806 | : 1807 | SendPos(3007) 1808 | Return 1809 | ;: >> shut down all label {{{2 1810 | : 1811 | SendPos(3008) 1812 | Return 1813 | ;: >> display label menu {{{2 1814 | : 1815 | SendPos(3009) 1816 | Return 1817 | ;: >> locking / Unlocked current label {{{2 1818 | : 1819 | SendPos(3010) 1820 | Return 1821 | ;: >> locking / Unlocked current label ( can change file folder ){{{2 1822 | : 1823 | SendPos(3012) 1824 | Return 1825 | ;: >> exchange left right window and label {{{2 1826 | : 1827 | SendPos(535) 1828 | Return 1829 | ;: >> turn To locking label of root file folder {{{2 1830 | : 1831 | SendPos(3011) 1832 | Return 1833 | ;: >> Source window : activation label 1{{{2 1834 | : 1835 | SendPos(5001) 1836 | Return 1837 | ;: >> Source window : activation label 2{{{2 1838 | : 1839 | SendPos(5002) 1840 | Return 1841 | ;: >>...{{{2 1842 | : 1843 | SendPos(5003) 1844 | Return 1845 | ;: >> most 99 One {{{2 1846 | : 1847 | SendPos(5004) 1848 | Return 1849 | ;: >>5{{{2 1850 | : 1851 | SendPos(5005) 1852 | Return 1853 | ;: >>6{{{2 1854 | : 1855 | SendPos(5006) 1856 | Return 1857 | ;: >>7{{{2 1858 | : 1859 | SendPos(5007) 1860 | Return 1861 | ;: >>8{{{2 1862 | : 1863 | SendPos(5008) 1864 | Return 1865 | ;: >>9{{{2 1866 | : 1867 | SendPos(5009) 1868 | Return 1869 | ;: >>0{{{2 1870 | : 1871 | SendPos(5010) 1872 | Return 1873 | ;: >> aims window : activation label 1{{{2 1874 | : 1875 | SendPos(5101) 1876 | Return 1877 | ;: >> aims window : activation label 2{{{2 1878 | : 1879 | SendPos(5102) 1880 | Return 1881 | ;: >>...{{{2 1882 | : 1883 | SendPos(5103) 1884 | Return 1885 | ;: >> most 99 One {{{2 1886 | : 1887 | SendPos(5104) 1888 | Return 1889 | ;: >>5{{{2 1890 | : 1891 | SendPos(5105) 1892 | Return 1893 | ;: >>6{{{2 1894 | : 1895 | SendPos(5106) 1896 | Return 1897 | ;: >>7{{{2 1898 | : 1899 | SendPos(5107) 1900 | Return 1901 | ;: >>8{{{2 1902 | : 1903 | SendPos(5108) 1904 | Return 1905 | ;: >>9{{{2 1906 | : 1907 | SendPos(5109) 1908 | Return 1909 | ;: >>0{{{2 1910 | : 1911 | SendPos(5110) 1912 | Return 1913 | ;: >> left window : activation label 1{{{2 1914 | : 1915 | SendPos(5201) 1916 | Return 1917 | ;: >> left window : activation label 2{{{2 1918 | : 1919 | SendPos(5202) 1920 | Return 1921 | ;: >>...{{{2 1922 | : 1923 | SendPos(5203) 1924 | Return 1925 | ;: >> most 99 One {{{2 1926 | : 1927 | SendPos(5204) 1928 | Return 1929 | ;: >>5{{{2 1930 | : 1931 | SendPos(5205) 1932 | Return 1933 | ;: >>6{{{2 1934 | : 1935 | SendPos(5206) 1936 | Return 1937 | ;: >>7{{{2 1938 | : 1939 | SendPos(5207) 1940 | Return 1941 | ;: >>8{{{2 1942 | : 1943 | SendPos(5208) 1944 | Return 1945 | ;: >>9{{{2 1946 | : 1947 | SendPos(5209) 1948 | Return 1949 | ;: >>0{{{2 1950 | : 1951 | SendPos(5210) 1952 | Return 1953 | ;: >> right window : activation label 1{{{2 1954 | : 1955 | SendPos(5301) 1956 | Return 1957 | ;: >> right window : activation label 2{{{2 1958 | : 1959 | SendPos(5302) 1960 | Return 1961 | ;: >>...{{{2 1962 | : 1963 | SendPos(5303) 1964 | Return 1965 | ;: >> most 99 One {{{2 1966 | : 1967 | SendPos(5304) 1968 | Return 1969 | ;: >>5{{{2 1970 | : 1971 | SendPos(5305) 1972 | Return 1973 | ;: >>6{{{2 1974 | : 1975 | SendPos(5306) 1976 | Return 1977 | ;: >>7{{{2 1978 | : 1979 | SendPos(5307) 1980 | Return 1981 | ;: >>8{{{2 1982 | : 1983 | SendPos(5308) 1984 | Return 1985 | ;: >>9{{{2 1986 | : 1987 | SendPos(5309) 1988 | Return 1989 | ;: >>0{{{2 1990 | : 1991 | SendPos(5310) 1992 | Return 1993 | ; Sorting ========================================= 1994 | Return 1995 | ;: >> Source window : press First 1 Column Sorting {{{2 1996 | : 1997 | SendPos(6001) 1998 | Return 1999 | ;: >> Source window : press First 2 Column Sorting {{{2 2000 | : 2001 | SendPos(6002) 2002 | Return 2003 | ;: >>...{{{2 2004 | : 2005 | SendPos(6003) 2006 | Return 2007 | ;: >> most 99 Column {{{2 2008 | : 2009 | SendPos(6004) 2010 | Return 2011 | ;: >>5{{{2 2012 | : 2013 | SendPos(6005) 2014 | Return 2015 | ;: >>6{{{2 2016 | : 2017 | SendPos(6006) 2018 | Return 2019 | ;: >>7{{{2 2020 | : 2021 | SendPos(6007) 2022 | Return 2023 | ;: >>8{{{2 2024 | : 2025 | SendPos(6008) 2026 | Return 2027 | ;: >>9{{{2 2028 | : 2029 | SendPos(6009) 2030 | Return 2031 | ;: >>0{{{2 2032 | : 2033 | SendPos(6010) 2034 | Return 2035 | ;: >>9{{{2 2036 | : 2037 | SendPos(6099) 2038 | Return 2039 | ;: >> aims window : press First 1 Column Sorting {{{2 2040 | : 2041 | SendPos(6101) 2042 | Return 2043 | ;: >> aims window : press First 2 Column Sorting {{{2 2044 | : 2045 | SendPos(6102) 2046 | Return 2047 | ;: >>...{{{2 2048 | : 2049 | SendPos(6103) 2050 | Return 2051 | ;: >> most 99 Column {{{2 2052 | : 2053 | SendPos(6104) 2054 | Return 2055 | ;: >>5{{{2 2056 | : 2057 | SendPos(6105) 2058 | Return 2059 | ;: >>6{{{2 2060 | : 2061 | SendPos(6106) 2062 | Return 2063 | ;: >>7{{{2 2064 | : 2065 | SendPos(6107) 2066 | Return 2067 | ;: >>8{{{2 2068 | : 2069 | SendPos(6108) 2070 | Return 2071 | ;: >>9{{{2 2072 | : 2073 | SendPos(6109) 2074 | Return 2075 | ;: >>0{{{2 2076 | : 2077 | SendPos(6110) 2078 | Return 2079 | ;: >>9{{{2 2080 | : 2081 | SendPos(6199) 2082 | Return 2083 | ;: >> left window : press First 1 Column Sorting {{{2 2084 | : 2085 | SendPos(6201) 2086 | Return 2087 | ;: >> left window : press First 2 Column Sorting {{{2 2088 | : 2089 | SendPos(6202) 2090 | Return 2091 | ;: >>...{{{2 2092 | : 2093 | SendPos(6203) 2094 | Return 2095 | ;: >> most 99 Column {{{2 2096 | : 2097 | SendPos(6204) 2098 | Return 2099 | ;: >>5{{{2 2100 | : 2101 | SendPos(6205) 2102 | Return 2103 | ;: >>6{{{2 2104 | : 2105 | SendPos(6206) 2106 | Return 2107 | ;: >>7{{{2 2108 | : 2109 | SendPos(6207) 2110 | Return 2111 | ;: >>8{{{2 2112 | : 2113 | SendPos(6208) 2114 | Return 2115 | ;: >>9{{{2 2116 | : 2117 | SendPos(6209) 2118 | Return 2119 | ;: >>0{{{2 2120 | : 2121 | SendPos(6210) 2122 | Return 2123 | ;: >>9{{{2 2124 | : 2125 | SendPos(6299) 2126 | Return 2127 | ;: >> right window : press First 1 Column Sorting {{{2 2128 | : 2129 | SendPos(6301) 2130 | Return 2131 | ;: >> right window : press First 2 Column Sorting {{{2 2132 | : 2133 | SendPos(6302) 2134 | Return 2135 | ;: >>...{{{2 2136 | : 2137 | SendPos(6303) 2138 | Return 2139 | ;: >> most 99 Column {{{2 2140 | : 2141 | SendPos(6304) 2142 | Return 2143 | ;: >>5{{{2 2144 | : 2145 | SendPos(6305) 2146 | Return 2147 | ;: >>6{{{2 2148 | : 2149 | SendPos(6306) 2150 | Return 2151 | ;: >>7{{{2 2152 | : 2153 | SendPos(6307) 2154 | Return 2155 | ;: >>8{{{2 2156 | : 2157 | SendPos(6308) 2158 | Return 2159 | ;: >>9{{{2 2160 | : 2161 | SendPos(6309) 2162 | Return 2163 | ;: >>0{{{2 2164 | : 2165 | SendPos(6310) 2166 | Return 2167 | ;: >>9{{{2 2168 | : 2169 | SendPos(6399) 2170 | Return 2171 | ; Custom columns As seen Figure ========================================= 2172 | Return 2173 | ;: >> Source window : Custom columns As seen Figure 1{{{2 2174 | : 2175 | SendPos(271) 2176 | Return 2177 | ;: >> Source window : Custom columns As seen Figure 2{{{2 2178 | : 2179 | SendPos(272) 2180 | Return 2181 | ;: >>...{{{2 2182 | : 2183 | SendPos(273) 2184 | Return 2185 | ;: >> most 29 One {{{2 2186 | : 2187 | SendPos(274) 2188 | Return 2189 | ;: >>5{{{2 2190 | : 2191 | SendPos(275) 2192 | Return 2193 | ;: >>6{{{2 2194 | : 2195 | SendPos(276) 2196 | Return 2197 | ;: >>7{{{2 2198 | : 2199 | SendPos(277) 2200 | Return 2201 | ;: >>8{{{2 2202 | : 2203 | SendPos(278) 2204 | Return 2205 | ;: >>9{{{2 2206 | : 2207 | SendPos(279) 2208 | Return 2209 | ;: >> left window : Custom columns As seen Figure 1{{{2 2210 | : 2211 | SendPos(710) 2212 | Return 2213 | ;: >> left window : Custom columns As seen Figure 2{{{2 2214 | : 2215 | SendPos(72) 2216 | Return 2217 | ;: >>...{{{2 2218 | : 2219 | SendPos(73) 2220 | Return 2221 | ;: >> most 29 One {{{2 2222 | : 2223 | SendPos(74) 2224 | Return 2225 | ;: >>5{{{2 2226 | : 2227 | SendPos(75) 2228 | Return 2229 | ;: >>6{{{2 2230 | : 2231 | SendPos(76) 2232 | Return 2233 | ;: >>7{{{2 2234 | : 2235 | SendPos(77) 2236 | Return 2237 | ;: >>8{{{2 2238 | : 2239 | SendPos(78) 2240 | Return 2241 | ;: >>9{{{2 2242 | : 2243 | SendPos(79) 2244 | Return 2245 | ;: >> right window : Custom columns As seen Figure 1{{{2 2246 | : 2247 | SendPos(171) 2248 | Return 2249 | ;: >> right window : Custom columns As seen Figure 2{{{2 2250 | : 2251 | SendPos(172) 2252 | Return 2253 | ;: >>...{{{2 2254 | : 2255 | SendPos(173) 2256 | Return 2257 | ;: >> most 29 One {{{2 2258 | : 2259 | SendPos(174) 2260 | Return 2261 | ;: >>5{{{2 2262 | : 2263 | SendPos(175) 2264 | Return 2265 | ;: >>6{{{2 2266 | : 2267 | SendPos(176) 2268 | Return 2269 | ;: >>7{{{2 2270 | : 2271 | SendPos(177) 2272 | Return 2273 | ;: >>8{{{2 2274 | : 2275 | SendPos(178) 2276 | Return 2277 | ;: >>9{{{2 2278 | : 2279 | SendPos(179) 2280 | Return 2281 | ;: >> Source window : next from definition As seen Figure {{{2 2282 | : 2283 | SendPos(5501) 2284 | Return 2285 | ;: >> Source window : Previous from definition As seen Figure {{{2 2286 | : 2287 | SendPos(5502) 2288 | Return 2289 | ;: >> aims window : next from definition As seen Figure {{{2 2290 | : 2291 | SendPos(5503) 2292 | Return 2293 | ;: >> aims window : Previous from definition As seen Figure {{{2 2294 | : 2295 | SendPos(5504) 2296 | Return 2297 | ;: >> left window : next from definition As seen Figure {{{2 2298 | : 2299 | SendPos(5505) 2300 | Return 2301 | ;: >> left window : Previous from definition As seen Figure {{{2 2302 | : 2303 | SendPos(5506) 2304 | Return 2305 | ;: >> right window : next from definition As seen Figure {{{2 2306 | : 2307 | SendPos(5507) 2308 | Return 2309 | ;: >> right window : Previous from definition As seen Figure {{{2 2310 | : 2311 | SendPos(5508) 2312 | Return 2313 | ;: >> All files All press need load Remarks {{{2 2314 | : 2315 | SendPos(5512) 2316 | Return 2317 | ;: >> only Selected file press need load Remarks {{{2 2318 | : 2319 | SendPos(5513) 2320 | Return 2321 | ;: >> stop Backstage load Remarks {{{2 2322 | : 2323 | SendPos(5514) 2324 | Return 2325 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/TConly.ahk: -------------------------------------------------------------------------------- 1 | : 2 | ;======================================================= 3 | Global TCPath 4 | TCPath := "c:\Program Files (x86)\totalcmd\TOTALCMD64.EXE" 5 | If RegExMatch(TcPath,"i)totalcmd64\.exe$") 6 | { 7 | Global TCListBox := "LCLListBox" 8 | Global TCEdit := "Edit2" 9 | Global TInEdit := "TInEdit1" 10 | GLobal TCPanel1 := "Window1" 11 | Global TCPanel2 := "Window11" 12 | } 13 | Else 14 | { 15 | Global TCListBox := "TMyListBox" 16 | Global TCEdit := "Edit1" 17 | Global TInEdit := "TInEdit1" 18 | Global TCPanel1 := "TPanel1" 19 | Global TCPanel2 := "TMyPanel8" 20 | } 21 | Global Mark := [] 22 | Global NewFiles := [] 23 | CustomActions ("", "return to normal mode") 24 | CustomActions ("", "Enter Insert Mode") 25 | CustomActions ("", "Open / Activate TC") 26 | CustomActions ("", "a-z history navigation") 27 | CustomActions ("", "Down Select") 28 | CustomActions ("", "Up Select") 29 | CustomActions ("", "Mark") 30 | CustomActions ("", "Force Delete, like shift+delete ignores recycle bin") 31 | CustomActions ("", "Show Marks") 32 | CustomActions ("", "Maximize left window") 33 | CustomActions ("", "Maximize right window") 34 | CustomActions ("", "Switch to the last tab") 35 | CustomActions ("", "Copy only file names, without extensions") 36 | CustomActions ("", "Move to the [count] line, default is first line") 37 | CustomActions ("", "Move to [count] line, default is last line") 38 | CustomActions ("", "Move to window middle line") 39 | CustomActions ("", "CreateNewFile, File Templates") 40 | CustomActions ("", "Return to the upper folder, can go up to My Computer") 41 | RegisterHotkey("J","","TQUICKSEARCH") 42 | ;;Default button(VIM) 43 | RegisterHotkey("K","","TQUICKSEARCH") 44 | RegisterHotkey("0","<0>","TTOTAL_CMD") 45 | RegisterHotkey("1","<1>","TTOTAL_CMD") 46 | RegisterHotkey("2","<2>","TTOTAL_CMD") 47 | RegisterHotkey("3","<3>","TTOTAL_CMD") 48 | RegisterHotkey("4","<4>","TTOTAL_CMD") 49 | RegisterHotkey("5","<5>","TTOTAL_CMD") 50 | RegisterHotkey("6","<6>","TTOTAL_CMD") 51 | RegisterHotkey("7","<7>","TTOTAL_CMD") 52 | RegisterHotkey("8","<8>","TTOTAL_CMD") 53 | RegisterHotkey("9","<9>","TTOTAL_CMD") 54 | RegisterHotkey("k","","TTOTAL_CMD") 55 | RegisterHotkey("K","","TTOTAL_CMD") 56 | RegisterHotkey("j","","TTOTAL_CMD") 57 | RegisterHotkey("J","","TTOTAL_CMD") 58 | RegisterHotkey("h","","TTOTAL_CMD") 59 | RegisterHotkey("H","","TTOTAL_CMD") 60 | RegisterHotkey("l","","TTOTAL_CMD") 61 | RegisterHotkey("L","","TTOTAL_CMD") 62 | RegisterHotkey("I","","TTOTAL_CMD") 63 | RegisterHotkey("i","","TTOTAL_CMD") 64 | RegisterHotkey("d","","TTOTAL_CMD") 65 | RegisterHotkey("D","","TTOTAL_CMD") 66 | RegisterHotkey("e","","TTOTAL_CMD") 67 | RegisterHotkey("E","","TTOTAL_CMD") 68 | RegisterHotkey("N","","TTOTAL_CMD") 69 | RegisterHotkey("n","","TTOTAL_CMD") 70 | RegisterHotkey("m","","TTOTAL_CMD") 71 | RegisterHotkey("M","","TTOTAL_CMD") 72 | RegisterHotkey("'","","TTOTAL_CMD") 73 | RegisterHotkey("u","","TTOTAL_CMD") 74 | RegisterHotkey("U","","TTOTAL_CMD") 75 | RegisterHotkey("o","","TTOTAL_CMD") 76 | RegisterHotkey("O","","TTOTAL_CMD") 77 | RegisterHotkey("q","","TTOTAL_CMD") 78 | RegisterHotkey("r","","TTOTAL_CMD") 79 | RegisterHotkey("R","","TTOTAL_CMD") 80 | RegisterHotkey("x","","TTOTAL_CMD") 81 | RegisterHotkey("X","","TTOTAL_CMD") 82 | RegisterHotkey("w","","TTOTAL_CMD") 83 | RegisterHotkey("y","","TTOTAL_CMD") 84 | RegisterHotkey("Y","","TTOTAL_CMD") 85 | RegisterHotkey("P","","TTOTAL_CMD") 86 | RegisterHotkey("p","","TTOTAL_CMD") 87 | RegisterHotkey("t","","TTOTAL_CMD") 88 | RegisterHotkey("T","","TTOTAL_CMD") 89 | RegisterHotkey("/","","TTOTAL_CMD") 90 | RegisterHotkey("?","","TTOTAL_CMD") 91 | RegisterHotkey("[","","TTOTAL_CMD") 92 | RegisterHotkey("{","","TTOTAL_CMD") 93 | RegisterHotkey("]","","TTOTAL_CMD") 94 | RegisterHotkey("}","","TTOTAL_CMD") 95 | RegisterHotkey("\","","TTOTAL_CMD") 96 | RegisterHotkey("|","","TTOTAL_CMD") 97 | RegisterHotkey("-","","TTOTAL_CMD") 98 | RegisterHotkey("=","","TTOTAL_CMD") 99 | RegisterHotkey(":","","TTOTAL_CMD") 100 | RegisterHotkey("G","","TTOTAL_CMD") 101 | RegisterHotkey("ga","","TTOTAL_CMD") 102 | RegisterHotkey("gg","","TTOTAL_CMD") 103 | RegisterHotkey("gn","","TTOTAL_CMD") 104 | RegisterHotkey("gp","","TTOTAL_CMD") 105 | RegisterHotkey("gc","","TTOTAL_CMD") 106 | RegisterHotkey("gb","","TTOTAL_CMD") 107 | RegisterHotkey("ge","","TTOTAL_CMD") 108 | RegisterHotkey("gw","","TTOTAL_CMD") 109 | RegisterHotkey("g1","","TTOTAL_CMD") 110 | RegisterHotkey("g2","","TTOTAL_CMD") 111 | RegisterHotkey("g3","","TTOTAL_CMD") 112 | RegisterHotkey("g4","","TTOTAL_CMD") 113 | RegisterHotkey("g5","","TTOTAL_CMD") 114 | RegisterHotkey("g6","","TTOTAL_CMD") 115 | RegisterHotkey("g7","","TTOTAL_CMD") 116 | RegisterHotkey("g8","","TTOTAL_CMD") 117 | RegisterHotkey("g9","","TTOTAL_CMD") 118 | RegisterHotkey("g0","","TTOTAL_CMD") 119 | RegisterHotkey("sn","","TTOTAL_CMD") 120 | RegisterHotkey("se","","TTOTAL_CMD") 121 | RegisterHotkey("ss","","TTOTAL_CMD") 122 | RegisterHotkey("sd","","TTOTAL_CMD") 123 | RegisterHotkey("sr","","TTOTAL_CMD") 124 | RegisterHotkey("s1","","TTOTAL_CMD") 125 | RegisterHotkey("s2","","TTOTAL_CMD") 126 | RegisterHotkey("s3","","TTOTAL_CMD") 127 | RegisterHotkey("s4","","TTOTAL_CMD") 128 | RegisterHotkey("s5","","TTOTAL_CMD") 129 | RegisterHotkey("s6","","TTOTAL_CMD") 130 | RegisterHotkey("s7","","TTOTAL_CMD") 131 | RegisterHotkey("s8","","TTOTAL_CMD") 132 | RegisterHotkey("s9","","TTOTAL_CMD") 133 | RegisterHotkey("s0","","TTOTAL_CMD") 134 | RegisterHotkey("v","","TTOTAL_CMD") 135 | RegisterHotkey("Vb","","TTOTAL_CMD") 136 | RegisterHotkey("Vd","","TTOTAL_CMD") 137 | RegisterHotkey("Vo","","TTOTAL_CMD") 138 | RegisterHotkey("Vr","","TTOTAL_CMD") 139 | RegisterHotkey("Vc","","TTOTAL_CMD") 140 | RegisterHotkey("Vt","","TTOTAL_CMD") 141 | RegisterHotkey("Vs","","TTOTAL_CMD") 142 | RegisterHotkey("Vn","","TTOTAL_CMD") 143 | RegisterHotkey("Vf","","TTOTAL_CMD") 144 | RegisterHotkey("Vw","","TTOTAL_CMD") 145 | RegisterHotkey("Ve","","TTOTAL_CMD") 146 | RegisterHotkey("zz","","TTOTAL_CMD") 147 | RegisterHotkey("zi","","TTOTAL_CMD") 148 | RegisterHotkey("zo","","TTOTAL_CMD") 149 | RegisterHotkey("zt","","TTOTAL_CMD") 150 | RegisterHotkey("zn","","TTOTAL_CMD") 151 | RegisterHotkey("zm","","TTOTAL_CMD") 152 | RegisterHotkey("zr","","TTOTAL_CMD") 153 | RegisterHotkey("zv","","TTOTAL_CMD") 154 | RegisterHotkey("zv","","TTOTAL_CMD") 155 | RegisterHotkey("zs","","TTOTAL_CMD") 156 | RegisterHotkey(".","","TTOTAL_CMD") 157 | RegisterHotkey("f","") ;was e 158 | SetHotkey("esc","","TTOTAL_CMD") 159 | SetHotkey("CapsLock","","TTOTAL_CMD") ; PS added, doesn't work 160 | ;; The default button is finished 161 | ReadNewFile() 162 | return 163 | ; TTOTAL_CMD_CheckMode() 164 | TTOTAL_CMD_CheckMode() 165 | { 166 | WinGet,MenuID,ID,AHK_CLASS #32768 167 | If MenuID 168 | return True 169 | ControlGetFocus,ctrl,AHK_CLASS TTOTAL_CMD 170 | If RegExMatch(ctrl,TInEdit) 171 | Return True 172 | If RegExMatch(ctrl,TCEdit) 173 | Return True 174 | Return False 175 | } 176 | : 177 | Tooltip 178 | return 179 | ; {{{1 180 | : 181 | Send,{Esc} 182 | Tooltip 183 | Vim_HotKeyCount := 0 184 | HotkeyControl(true) 185 | EmptyMem() 186 | return 187 | ; {{{1 188 | : 189 | HotkeyControl(False) 190 | return 191 | ; {{{1 192 | : 193 | IfWinExist,AHK_CLASS TTOTAL_CMD 194 | WinActivate,AHK_CLASS TTOTAL_CMD 195 | Else 196 | Run,%TCPath% 197 | Loop,4 198 | { 199 | IfWinNotActive,AHK_CLASS TTOTAL_CMD 200 | WinActivate,AHK_CLASS TTOTAL_CMD 201 | Else 202 | Break 203 | Sleep,500 204 | } 205 | EmptyMem() 206 | return 207 | ; {{{1 208 | : 209 | azhistory() 210 | Return 211 | azhistory() 212 | { 213 | GoSub, 214 | Sleep, 100 215 | if WinExist("ahk_class #32768") 216 | { 217 | SendMessage,0x01E1 ;Get Menu Hwnd 218 | hmenu := ErrorLevel 219 | if hmenu!=0 220 | { 221 | If Not RegExMatch(GetMenuString(Hmenu,1),".*[\\|/]$") 222 | Return 223 | Menu,sh,UseErrorLevel 224 | Menu,sh,add 225 | Menu,sh,deleteall 226 | If ErrorLevel 227 | return 228 | a := 229 | itemCount := DllCall("GetMenuItemCount", "Uint", hMenu, "Uint") 230 | Loop %itemCount% 231 | { 232 | a := chr(A_Index+64) . ">>" . GetMenuString(Hmenu,A_Index-1) 233 | Menu,SH,add,%a%,azSelect 234 | } 235 | Send {Esc} 236 | ControlGetFocus,TLB,ahk_class TTOTAL_CMD 237 | ControlGetPos,xn,yn,,,%TLB%,ahk_class TTOTAL_CMD 238 | Menu,SH,show,%xn%,%yn% 239 | Return 240 | } 241 | } 242 | } 243 | GetMenuString(hMenu, nPos) 244 | { 245 | VarSetCapacity(lpString, 256) 246 | length := DllCall("GetMenuString" 247 | , "UInt", hMenu 248 | , "UInt", nPos 249 | , "Str", lpString 250 | , "Int", 255 251 | , "UInt", 0x0400) 252 | return lpString 253 | } 254 | azSelect: 255 | azSelect() 256 | Return 257 | azSelect() 258 | { 259 | nPos := A_ThisMenuItem 260 | nPos := Asc(Substr(nPos,1,1)) - 64 261 | Winactivate,ahk_class TTOTAL_CMD 262 | Postmessage,1075,572,0,,ahk_class TTOTAL_CMD 263 | Sleep,100 264 | if WinExist("ahk_class #32768") 265 | { 266 | Loop %nPos% 267 | SendInput {Down} 268 | Send {enter} 269 | } 270 | } 271 | ; {{{1 272 | : 273 | Send +{Down} 274 | return 275 | ; {{{1 276 | : 277 | Send +{Up} 278 | return 279 | ; {{{1 280 | : 281 | WinMaxLR(true) 282 | Return 283 | ; {{{1 284 | : 285 | WinMaxLR(false) 286 | Return 287 | WinMaxLR(lr) 288 | { 289 | If lr 290 | { 291 | ControlGetPos,x,y,w,h,%TCPanel2%,ahk_class TTOTAL_CMD 292 | ControlGetPos,tm1x,tm1y,tm1W,tm1H,%TCPanel1%,ahk_class TTOTAL_CMD 293 | If (tm1w < tm1h) ; Is it vertical or horizontal True for vertical False for horizontal 294 | { 295 | ; vertical (so Left and Right) 296 | ;MsgBox P1 tm1x,tm1y=%tm1x%,%tm1y% tm1W,tm1H=%tm1W%,%tm1H% `nP2 x,y=%x%,%y% w,h=%w%,%h% 297 | ; it seems that numbers for Panel2 are incorrect 298 | ; original line below, perhaps it should be tm1x+w but is doesn't work either 299 | ;ControlMove,%TCPanel1%,x+w,,,,ahk_class TTOTAL_CMD 300 | ; 2000 is just a big numer to make Panel1 wide, pushing panel2 out of screen 301 | ControlMove,%TCPanel1%,2000,,,,ahk_class TTOTAL_CMD 302 | ; another way to fix it would be set both panels to 50% and then double the first panel 303 | ;SendPos(909) ; 304 | } 305 | else ;horizontal (so Upper and Lower) 306 | ; original line below but doesn't work as numbers for Panel2 are incorrect 307 | ;ControlMove,%TCPanel1%,0,y+h,,,ahk_class TTOTAL_CMD 308 | ; 2000 is just a big numer to make Panel1 tall, pushing panel2 out of screen 309 | ControlMove,%TCPanel1%,0,2000,,,ahk_class TTOTAL_CMD 310 | ; another way to fix it would be set both panels to 50% and then double the first panel 311 | 312 | ControlClick, %TCPanel1%,ahk_class TTOTAL_CMD 313 | WinActivate ahk_class TTOTAL_CMD 314 | } 315 | Else 316 | { 317 | ControlMove,%TCPanel1%,0,0,,,ahk_class TTOTAL_CMD 318 | ControlClick,%TCPanel1%,ahk_class TTOTAL_CMD 319 | WinActivate ahk_class TTOTAL_CMD 320 | } 321 | } 322 | ; {{{1 323 | : 324 | GoSub, 325 | GoSub, 326 | return 327 | ; {{{1 328 | : 329 | CopyNameOnly() 330 | Return 331 | CopyNameOnly() 332 | { 333 | clipboard := 334 | GoSub, 335 | ClipWait 336 | If Not RegExMatch(clipboard,"^\..*") 337 | clipboard := RegExReplace(RegExReplace(clipboard,"\\$"),"\.[^\.]*$") 338 | } 339 | ; {{{1 340 | ; Forced to delete 341 | : 342 | Send +{Delete} 343 | return 344 | ; {{{1 345 | ; Go to [count] Row , Default first Row 346 | : 347 | If Vim_HotKeyCount 348 | GotoLine(Vim_HotKeyCount) 349 | Else 350 | GotoLine(1) 351 | return 352 | ; {{{1 353 | ; Go to [count] Row , last one Row 354 | : 355 | If Vim_HotKeyCount 356 | GotoLine(Vim_HotKeyCount) 357 | Else 358 | GotoLine(0) 359 | return 360 | GotoLine(Index) 361 | { 362 | Vim_HotKeyCount := 0 363 | ControlGetFocus,Ctrl,AHK_CLASS TTOTAL_CMD 364 | If Index 365 | { 366 | Index-- 367 | ControlGet,text,List,,%ctrl%,AHK_CLASS TTOTAL_CMD 368 | Stringsplit,T,Text,`n 369 | Last := T0 - 1 370 | If Index > %Last% 371 | Index := Last 372 | Postmessage,0x19E,%Index%,1,%Ctrl%,AHK_CLASS TTOTAL_CMD 373 | } 374 | Else 375 | { 376 | ControlGet,text,List,,%ctrl%,AHK_CLASS TTOTAL_CMD 377 | Stringsplit,T,Text,`n 378 | Last := T0 - 1 379 | PostMessage, 0x19E, %Last% , 1 , %CTRL%, AHK_CLASS TTOTAL_CMD 380 | } 381 | } 382 | ; {{{1 383 | ; Move to the middle of the window 384 | : 385 | Half() 386 | Return 387 | Half() 388 | { 389 | winget,tid,id,ahk_class TTOTAL_CMD 390 | controlgetfocus,ctrl,ahk_id %tid% 391 | controlget,cid,hwnd,,%ctrl%,ahk_id %tid% 392 | controlgetpos,x1,y1,w1,h1,THeaderClick2,ahk_id %tid% 393 | controlgetpos,x,y,w,h,%ctrl%,ahk_id %tid% 394 | SendMessage,0x01A1,1,0,,ahk_id %cid% 395 | Hight := ErrorLevel 396 | SendMessage,0x018E,0,0,,ahk_id %cid% 397 | Top := ErrorLevel 398 | HalfLine := Ceil( ((h-h1)/Hight)/2 ) + Top 399 | PostMessage, 0x19E, %HalfLine%, 1, , AHK_id %cid% 400 | } 401 | ; {{{1 402 | ; Marking function 403 | : 404 | Mark() 405 | Return 406 | Mark() 407 | { 408 | HotkeyControl(False) 409 | GoSub, 410 | ControlGet,EditId,Hwnd,,AHK_CLASS TTOTAL_CMD 411 | ControlSetText,%TCEdit%,m,AHK_CLASS TTOTAL_CMD 412 | Postmessage,0xB1,2,2,%TCEdit%,AHK_CLASS TTOTAL_CMD 413 | SetTimer,,100 414 | } 415 | : 416 | MarkTimer() 417 | Return 418 | MarkTimer() 419 | { 420 | ControlGetFocus,ThisControl,AHK_CLASS TTOTAL_CMD 421 | ControlGetText,OutVar,%TCEdit%,AHK_CLASS TTOTAL_CMD 422 | Match_TCEdit := "i)^" . TCEdit . "$" 423 | If Not RegExMatch(ThisControl,Match_TCEdit) OR Not RegExMatch(Outvar,"i)^m.?") 424 | { 425 | HotkeyControl(true) 426 | Settimer,,Off 427 | Return 428 | } 429 | If RegExMatch(OutVar,"i)^m.+") 430 | { 431 | HotkeyControl(true) 432 | SetTimer,,off 433 | ControlSetText,%TCEdit%,,AHK_CLASS TTOTAL_CMD 434 | ControlSend,%TCEdit%,{Esc},AHK_CLASS TTOTAL_CMD 435 | ClipSaved := ClipboardAll 436 | Clipboard := 437 | Postmessage 1075, 2029, 0, , ahk_class TTOTAL_CMD 438 | ClipWait 439 | Path := Clipboard 440 | Clipboard := ClipSaved 441 | If StrLen(Path) > 80 442 | { 443 | SplitPath,Path,,PathDir 444 | Path1 := SubStr(Path,1,15) 445 | Path2 := SubStr(Path,RegExMatch(Path,"\\[^\\]*$")-Strlen(Path)) 446 | Path := Path1 . "..." . SubStr(Path2,1,65) "..." 447 | } 448 | M := SubStr(OutVar,2,1) 449 | mPath := "&" . m . ">>" . Path 450 | If RegExMatch(Mark["ms"],m) 451 | { 452 | DelM := Mark[m] 453 | Menu,MarkMenu,Delete,%DelM% 454 | Menu,MarkMenu,Add,%mPath%, 455 | Mark["ms"] := Mark["ms"] . m 456 | Mark[m] := mPath 457 | } 458 | Else 459 | { 460 | Menu,MarkMenu,Add,%mPath%, 461 | Mark["ms"] := Mark["ms"] . m 462 | Mark[m] := mPath 463 | } 464 | } 465 | } 466 | : 467 | AddMark() 468 | Return 469 | AddMark() 470 | { 471 | ThisMenuItem := SubStr(A_ThisMenuItem,5,StrLen(A_ThisMenuItem)) 472 | If RegExMatch(ThisMenuItem,"i)\\\\desktop $") 473 | { 474 | Postmessage 1075, 2121, 0, , ahk_class TTOTAL_CMD 475 | Return 476 | } 477 | If RegExMatch(ThisMenuItem,"i)\\\\computer $") 478 | { 479 | Postmessage 1075, 2122, 0, , ahk_class TTOTAL_CMD 480 | Return 481 | } 482 | If RegExMatch(ThisMenuItem,"i)\\\\control panel$") 483 | { 484 | Postmessage 1075, 2123, 0, , ahk_class TTOTAL_CMD 485 | Return 486 | } 487 | If RegExMatch(ThisMenuItem,"i)\\\\Fonts$") 488 | { 489 | Postmessage 1075, 2124, 0, , ahk_class TTOTAL_CMD 490 | Return 491 | } 492 | If RegExMatch(ThisMenuItem,"i)\\\\Network$") 493 | { 494 | Postmessage 1075, 2125, 0, , ahk_class TTOTAL_CMD 495 | Return 496 | } 497 | If RegExMatch(ThisMenuItem,"i)\\\\printer$") 498 | { 499 | Postmessage 1075, 2126, 0, , ahk_class TTOTAL_CMD 500 | Return 501 | } 502 | If RegExMatch(ThisMenuItem,"i)\\\\Recycle bin$") 503 | { 504 | Postmessage 1075, 2127, 0, , ahk_class TTOTAL_CMD 505 | Return 506 | } 507 | ControlSetText, %TCEdit%, cd %ThisMenuItem%, ahk_class TTOTAL_CMD 508 | ControlSend, %TCEdit%, {Enter}, ahk_class TTOTAL_CMD 509 | Return 510 | } 511 | ; {{{1 512 | ; Display mark 513 | : 514 | ListMark() 515 | Return 516 | ListMark() 517 | { 518 | If Not Mark["ms"] 519 | Return 520 | ControlGetFocus,TLB,ahk_class TTOTAL_CMD 521 | ControlGetPos,xn,yn,,,%TLB%,ahk_class TTOTAL_CMD 522 | Menu,MarkMenu,Show,%xn%,%yn% 523 | } 524 | ; {{{1 525 | ; create a new file 526 | : 527 | CreateNewFile() 528 | return 529 | CreateNewFile() 530 | { 531 | ControlGetFocus,TLB,ahk_class TTOTAL_CMD 532 | ControlGetPos,xn,yn,,,%TLB%,ahk_class TTOTAL_CMD 533 | Menu,FileTemp,Add 534 | Menu,FileTemp,DeleteAll 535 | Menu,FileTemp,Add ,0 create a new file ,:CreateNewFile 536 | Menu,FileTemp,Icon,0 create a new file ,%A_WinDir%\system32\Shell32.dll,-152 537 | Menu,FileTemp,Add ,1 folder , 538 | Menu,FileTemp,Icon,1 folder ,%A_WinDir%\system32\Shell32.dll,4 539 | Menu,FileTemp,Add ,2 A shortcut , 540 | Menu,FileTemp,Icon,2 A shortcut ,%A_WinDir%\system32\Shell32.dll,264 541 | Menu,FileTemp,Add ,3 Add to new template , 542 | Menu,FileTemp,Icon,3 Add to new template ,%A_WinDir%\system32\Shell32.dll,-155 543 | FileTempMenuCheck() 544 | Menu,FileTemp,Show,%xn%,%yn% 545 | } 546 | ; Check the file template function 547 | FileTempMenuCheck() 548 | { 549 | Global TCPath 550 | Splitpath,TCPath,,TCDir 551 | Loop,%TCDir%\shellnew\*.* 552 | { 553 | If A_Index = 1 554 | Menu,FileTemp,Add 555 | ft := chr(64+A_Index) . " >> " . A_LoopFileName 556 | Menu,FileTemp,Add,%ft%,FileTempNew 557 | Ext := "." . A_LoopFileExt 558 | IconFile := RegGetNewFileIcon(Ext) 559 | IconFIle := RegExReplace(IconFile,"i)%systemroot%",A_WinDir) 560 | IconFilePath := RegExReplace(IconFile,",-?\d*","") 561 | IconFileIndex := RegExReplace(IconFile,".*,","") 562 | If Not FileExist(IconFilePath) 563 | Menu,FileTemp,Icon,%ft%,%A_WinDir%\system32\Shell32.dll,-152 564 | Else 565 | Menu,FileTemp,Icon,%ft%,%IconFilePath%,%IconFileIndex% 566 | } 567 | } 568 | ; Added to the file template 569 | : 570 | AddToTempFiles() 571 | return 572 | AddToTempFiles() 573 | { 574 | ClipSaved := ClipboardAll 575 | Clipboard := 576 | GoSub, 577 | ClipWait,2 578 | If clipboard 579 | AddPath := clipboard 580 | Else 581 | Return 582 | clipboard := ClipSaved 583 | If FileExist(AddPath) 584 | Splitpath,AddPath,filename,,fileext,filenamenoext 585 | else 586 | Return 587 | Gui, Destroy 588 | Gui, Add, Text, Hidden, %AddPath% 589 | Gui, Add, Text, x12 y20 w50 h20 +Center, Template source 590 | Gui, Add, Edit, x72 y20 w300 h20 Disabled, %FileName% 591 | Gui, Add, Text, x12 y50 w50 h20 +Center, Template name 592 | Gui, Add, Edit, x72 y50 w300 h20 , %FileName% 593 | Gui, Add, Button, x162 y80 w90 h30 gAddTempOK default, confirm (&S) 594 | Gui, Add, Button, x282 y80 w90 h30 gNewFileClose , cancel (&C) 595 | Gui, Show, w400 h120, Add a template 596 | If Fileext 597 | { 598 | Controlget,nf,hwnd,,edit2,A 599 | PostMessage,0x0B1,0,Strlen(filenamenoext),Edit2,A 600 | } 601 | } 602 | AddTempOK: 603 | AddTempOK() 604 | return 605 | AddTempOK() 606 | { 607 | Global TCPath 608 | GuiControlGet,SrcPath,,Static1 609 | Splitpath,SrcPath,filename,,fileext,filenamenoext 610 | GuiControlGet,NewFileName,,Edit2 611 | SNDir := RegExReplace(TCPath,"[^\\]*$") . "ShellNew\" 612 | If Not FileExist(SNDir) 613 | FileCreateDir,%SNDir% 614 | NewFile := SNDir . NewFileName 615 | FileCopy,%SrcPath%,%NewFile%,1 616 | Gui,Destroy 617 | } 618 | ; create a new file template 619 | FileTempNew: 620 | NewFile(RegExReplace(A_ThisMenuItem,".\s>>\s",RegExReplace(TCPath,"\\[^\\]*$","\shellnew\"))) 621 | return 622 | ; create a new file 623 | NewFile: 624 | NewFile() 625 | return 626 | NewFile(File="") 627 | { 628 | Global NewFile 629 | If Not File 630 | File := RegExReplace(NewFiles[A_ThisMenuItemPos],"(.*\[|\]$)","") 631 | If Not FileExist(File) 632 | { 633 | RegRead,ShellNewDir,HKEY_USERS,.default\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 634 | If Not ShellNewDir 635 | ShellNewDir := "C:\windows\Shellnew" 636 | File := ShellNewDir . "\" file 637 | If RegExMatch(SubStr(file,-7),"NullFile") 638 | { 639 | fileext := RegExReplace(NewFiles[A_ThisMenuItemPos],"(.*\(|\).*)") 640 | File := "New" . fileext 641 | FileName := "New" . fileext 642 | FileNamenoext := "New" 643 | } 644 | } 645 | Else 646 | Splitpath,file,filename,,fileext,filenamenoext 647 | Gui, Destroy 648 | Gui, Add, Text, x12 y20 w50 h20 +Center, Template source 649 | Gui, Add, Edit, x72 y20 w300 h20 Disabled, %file% 650 | Gui, Add, Text, x12 y50 w50 h20 +Center, create a new file 651 | Gui, Add, Edit, x72 y50 w300 h20 , %filename% 652 | Gui, Add, Button, x162 y80 w90 h30 gNewFileOk default, confirm (&S) 653 | Gui, Add, Button, x282 y80 w90 h30 gNewFileClose , cancel (&C) 654 | Gui, Show, w400 h120, create a new file 655 | If Fileext 656 | { 657 | Controlget,nf,hwnd,,edit2,A 658 | PostMessage,0x0B1,0,Strlen(filenamenoext),Edit2,A 659 | } 660 | return 661 | } 662 | ; shut down create a new file window 663 | NewFileClose: 664 | Gui,Destroy 665 | return 666 | 667 | ; confirm create a new file 668 | NewFileOK: 669 | NewFileOK() 670 | return 671 | NewFileOK() 672 | { 673 | GuiControlGet,SrcPath,,Edit1 674 | GuiControlGet,NewFileName,,Edit2 675 | ClipSaved := ClipboardAll 676 | Clipboard := 677 | GoSub, 678 | ClipWait,2 679 | If clipboard 680 | DstPath := Clipboard 681 | Else 682 | Return 683 | clipboard := ClipSaved 684 | If RegExMatch(DstPath,"^\\\\Computer$") 685 | Return 686 | If RegExMatch(DstPath,"i)\\\\Control panel$") 687 | Return 688 | If RegExMatch(DstPath,"i)\\\\Fonts$") 689 | Return 690 | If RegExMatch(DstPath,"i)\\\\Network$") 691 | Return 692 | If RegExMatch(DstPath,"i)\\\\Printer$") 693 | Return 694 | If RegExMatch(DstPath,"i)\\\\Recycle bin$") 695 | Return 696 | If RegExmatch(DstPath,"^\\\\Desktop$") 697 | DstPath := A_Desktop 698 | NewFile := DstPath . "\" . NewFileName 699 | If FileExist(NewFile) 700 | { 701 | MsgBox, 4, New File, File already exists, overwrite? 702 | IfMsgBox No 703 | Return 704 | } 705 | FileCopy,%SrcPath%,%NewFile%,1 706 | Gui,Destroy 707 | WinActivate,AHK_CLASS TTOTAL_CMD 708 | ControlGetFocus,FocusCtrl,AHK_Class TTOTAL_CMD 709 | IF RegExMatch(FocusCtrl,TCListBox) 710 | { 711 | GoSub, 712 | ControlGet,Text,List,,%FocusCtrl%,AHK_CLASS TTOTAL_CMD 713 | Loop,Parse,Text,`n 714 | { 715 | If RegExMatch(A_LoopField,NewFileName) 716 | { 717 | Index := A_Index - 1 718 | Postmessage,0x19E,%Index%,1,%FocusCtrl%,AHK_CLASS TTOTAL_CMD 719 | Break 720 | } 721 | } 722 | } 723 | } 724 | ;============================================================================ 725 | ; ReadNewFile() 726 | ; New File menu 727 | ReadNewFile() 728 | { 729 | NewFiles[0] := 0 730 | SetBatchLines -1 731 | Loop,HKEY_CLASSES_ROOT ,,1,0 732 | { 733 | If RegExMatch(A_LoopRegName,"^\..*") 734 | { 735 | Reg := A_LoopRegName 736 | Loop,HKEY_CLASSES_ROOT,%Reg%,1,1 737 | { 738 | If RegExMatch(A_LoopRegName,"i)shellnew") 739 | { 740 | NewReg := A_LoopRegSubKey "\shellnew" 741 | If RegGetNewFilePath(NewReg) 742 | { 743 | NewFiles[0]++ 744 | Index := NewFiles[0] 745 | NewFiles[Index] := RegGetNewFileDescribe(Reg) . "(" . Reg . ")[" . RegGetNewFilePath(NewReg) . "]" 746 | } 747 | } 748 | } 749 | } 750 | } 751 | LoopCount := NewFiles[0] 752 | Half := LoopCount/2 753 | Loop % LoopCount 754 | { 755 | If A_Index < %Half% 756 | { 757 | B_Index := NewFiles[0] - A_Index + 1 758 | C_Index := NewFiles[A_Index] 759 | NewFiles[A_Index] := NewFiles[B_Index] 760 | NewFiles[B_Index] := C_Index 761 | } 762 | } 763 | Menu,CreateNewFile,UseErrorLevel,On 764 | Loop % NewFiles[0] 765 | { 766 | File := RegExReplace(NewFiles[A_Index],"\(.*","") 767 | Exec := RegExReplace(NewFiles[A_Index],"(.*\(|\)\[.*)","") 768 | MenuFile := Chr(A_Index+64) . " >> " . File . "(" Exec . ")" 769 | Menu,CreateNewFile,Add,%MenuFile%,NewFile 770 | 771 | IconFile := RegGetNewFileIcon(Exec) 772 | IconFIle := RegExReplace(IconFile,"i)%systemroot%",A_WinDir) 773 | IconFilePath := RegExReplace(IconFile,",-?\d*","") 774 | If Not FileExist(IconFilePath) 775 | IconFilePath := "" 776 | IconFileIndex := RegExReplace(IconFile,".*,","") 777 | If Not RegExMatch(IconFileIndex,"^-?\d*$") 778 | IconFileIndex := "" 779 | If RegExMatch(Exec,"\.lnk") 780 | { 781 | IconFilePath := A_WinDir . "\system32\Shell32.dll" 782 | IconFileIndex := "264" 783 | } 784 | Menu,CreateNewFile,Icon,%MenuFile%,%IconFilePath%,%IconFileIndex% 785 | } 786 | } 787 | ; Obtain create a new file The source 788 | ; reg Suffix 789 | RegGetNewFilePath(reg) 790 | { 791 | RegRead,GetRegPath,HKEY_CLASSES_ROOT,%Reg%,FileName 792 | IF Not ErrorLevel 793 | Return GetRegPath 794 | RegRead,GetRegPath,HKEY_CLASSES_ROOT,%Reg%,NullFile 795 | IF Not ErrorLevel 796 | Return "NullFile" 797 | } 798 | ; RegGetNewFileType(reg) 799 | ; Obtain create a new file type name 800 | ; reg Suffix 801 | RegGetNewFileType(reg) 802 | { 803 | RegRead,FileType,HKEY_CLASSES_ROOT,%Reg% 804 | If Not ErrorLevel 805 | Return FileType 806 | } 807 | ; Obtain File Description 808 | ; reg Suffix 809 | RegGetNewFileDescribe(reg) 810 | { 811 | FileType := RegGetNewFileType(reg) 812 | RegRead,FileDesc,HKEY_CLASSES_ROOT,%FileType% 813 | If Not ErrorLevel 814 | Return FileDesc 815 | } 816 | ; Obtain File corresponding to the icon 817 | ; reg Suffix 818 | RegGetNewFileIcon(reg) 819 | { 820 | IconPath := RegGetNewFileType(reg) . "\DefaultIcon" 821 | RegRead,FileIcon,HKEY_CLASSES_ROOT,%IconPath% 822 | If Not ErrorLevel 823 | Return FileIcon 824 | } 825 | ; {{{1 826 | ; Return to the top folder, can return to My Computer 827 | : 828 | IsRootDir() 829 | GoSub, 830 | return 831 | IsRootDir() 832 | { 833 | ClipSaved := ClipboardAll 834 | clipboard := 835 | GoSub, 836 | ClipWait,1 837 | Path := Clipboard 838 | Clipboard := ClipSaved 839 | If RegExMatch(Path,"^.:\\$") 840 | { 841 | GoSub, 842 | Path := "i)" . RegExReplace(Path,"\\","") 843 | ControlGetFocus,focus_control,AHK_CLASS TTOTAL_CMD 844 | ControlGet,outvar,list,,%focus_control%,AHK_CLASS TTOTAL_CMD 845 | Loop,Parse,Outvar,`n 846 | { 847 | If Not A_LoopField 848 | Break 849 | If RegExMatch(A_LoopField,Path) 850 | { 851 | Focus := A_Index - 1 852 | Break 853 | } 854 | } 855 | PostMessage, 0x19E, %Focus%, 1, %focus_control%, AHK_CLASS TTOTAL_CMD 856 | } 857 | } 858 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/Tools.ahk: -------------------------------------------------------------------------------- 1 | : 2 | CustomActions("","Show IP Address") 3 | CustomActions("","Run GVIM") 4 | return 5 | : 6 | Msgbox % A_IPAddress1 "`n" A_IPAddress2 "`n" A_IPAddress3 "`n" A_IPAddress4 7 | return 8 | : 9 | ExecSub("(c:\Program Files (x86)\Vim\vim80\gvim.exe)") 10 | return 11 | ; : {{{2 12 | : 13 | ;Gui_Help() 14 | ;return 15 | ;Gui_Help() 16 | { 17 | Gui,Destroy 18 | Gui,Font, s10 19 | Gui,Add,ListBox,w90 h400 x10 y10 t2 gGui_ChangeTab, global_configuration|hotkey|macro|plugin|help 20 | Gui,Add,Button,x10 y420 w90 h25 center,Profile(&E) ; translated as Configuration_file or profile 21 | Gui,Add,Button,x340 y420 w70 h25 center,Apply (&A) 22 | Gui,Add,Button,x420 y420 w70 h25 center,OK (&O) 23 | Gui,Add,Button,x500 y420 w70 h25 center,Cancel (&C) 24 | Gui,Add,Tab2,x110 y-25 w480 h460 buttons AltSubmit,Global_Configuration|Hotkeys|Macro|Plugins|Help 25 | Gui,Tab,1 26 | Gui,Add,CheckBox 27 | Gui,Tab,2 28 | Gui,Add,ListView,Grid r20 x110 y10 w480 h320 vListview_HKL, scope|hotkey|action|description 29 | Gui,Add,Text,x110 y345 w60,scope &V: 30 | Gui,Add,Edit,x170 y343 w120 h20 31 | Gui,Add,Button,x300 y343 w30 h20 g, &+ 32 | Gui,Add,Text,x110 y375 w60,Hotkey &H: 33 | Gui,Add,Edit,x170 y373 w160 h20 g 34 | Gui,Tab,3 35 | Gui,Add,edit 36 | Gui,Tab,4 37 | Gui,Add,DropDownList,choose1 gGui_ChangeList x110 y10 vDD_PLS , 38 | Gui_DropDown() 39 | Gui,Add,ListView,Grid r20 x110 y40 w480 h364 vListview_PLS,action|description 40 | Gui,Tab,5 41 | Gui,Add,listview 42 | Gui_HKList() 43 | Gui_PLSList() 44 | Gui,Show,w600 h460,ViATc settings 45 | OnMessage(0x03,"t") 46 | Settimer,Gui_Edit_HK,50 47 | } 48 | return 49 | Gui_Edit_HK: 50 | Gui_Edit_HK() 51 | return 52 | Gui_Edit_HK() 53 | { 54 | GuiControlGet,f,Focus 55 | If f = Edit2 56 | chkHK() 57 | Else 58 | Tooltip,,,,2 59 | } 60 | t(x,y) 61 | { 62 | tooltip 63 | Tooltip,,,,2 64 | Settimer,t,on 65 | v := false 66 | } 67 | t: 68 | settimer,t,off 69 | v := true 70 | sleep,200 71 | GuiControlGet,f,Focus 72 | If f = Edit2 and v 73 | chkhk() 74 | return 75 | ;========================== 76 | ; Gui_DropDown() {{{2 77 | Gui_DropDown() 78 | { 79 | For,i,k in Vim_Actions 80 | if Not RegExMatch(i,"^[\(\{\[<].*[>\)\}\]]$") 81 | m .= i "|" 82 | GuiControl,,ComboBox1,%m% 83 | GuiControl,Choose,ComboBox1,1 84 | } 85 | ; Gui_PLSList() {{{2 86 | Gui_PLSList() 87 | { 88 | Gui,ListView,ListView_PLS 89 | Lv_ModifyCol(1,200) 90 | idx := 1 91 | all := Vim_Actions["All"] 92 | Loop,Parse,all,%A_Space% 93 | If A_LoopField 94 | { 95 | LV_Add(idx,A_LoopField,Vim_Actions[A_LoopField]) 96 | idx++ 97 | } 98 | } 99 | ;========================== 100 | ; Gui_HKList() {{{2 101 | Gui_HKList() 102 | { 103 | Gui,ListView,ListView_HKL 104 | Lv_ModifyCol(1,100) 105 | Lv_ModifyCol(2,100) 106 | Lv_ModifyCol(3,120) 107 | Lv_ModifyCol(4,180) 108 | idx := 1 109 | Loop,Parse,Vim_HotkeyList,%A_Tab% 110 | { 111 | If RegExMatch(A_LoopField,"(\d+\|[^\s]*){3}") 112 | { 113 | M := HK_Read(A_LoopField) 114 | Class := M.Class ? M.Class : "全局" 115 | LV_Add(idx,Class,M.Key,M.Action,Vim_Actions[M.Action]) 116 | idx++ 117 | } 118 | } 119 | } 120 | ; Gui_ChangeTab() {{{2 121 | Gui_ChangeTab: 122 | Gui_ChangeTab() 123 | return 124 | Gui_ChangeTab() 125 | { 126 | GuiControlGet,tab,,ListBox1 127 | GuiControl,Choose,SysTabControl321,%Tab% 128 | } 129 | ; Gui_ChangeList() {{{2 130 | Gui_ChangeList: 131 | Gui_ChangeList() 132 | Return 133 | Gui_ChangeList() 134 | { 135 | Gui,ListView,ListView_PLS 136 | LV_Delete() 137 | GuiControlGet,k,,ComboBox1 138 | all := Vim_Actions[k] 139 | Loop,Parse,all,%A_Space% 140 | If A_LoopField 141 | { 142 | LV_Add(idx,A_LoopField,Vim_Actions[A_LoopField]) 143 | idx++ 144 | } 145 | } 146 | : 147 | GetClassByView() 148 | return 149 | GetClassByView() 150 | { 151 | Gui, New 152 | Gui, Add, ListView, x2 y0 w400 h500, Title|Class 153 | for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process") 154 | { 155 | name := Process.name 156 | Process,Exist,%name% 157 | ID := ErrorLevel 158 | WinGetClass,Class,AHK_PID %ID% 159 | If Class 160 | { 161 | WinGetTitle,Title,AHK_PID %ID% 162 | LV_Add("", Title,class) 163 | } 164 | } 165 | Gui, Show,, Process List 166 | } 167 | : 168 | GetClassByMouse() 169 | return 170 | GetClassByMouse() 171 | { 172 | Settimer,,200 173 | Hotkey,IfWinActive 174 | Hotkey,RButton,,on 175 | } 176 | : 177 | gcbmOK() 178 | return 179 | gcbmOK() 180 | { 181 | Settimer,,off 182 | Hotkey,RButton,,off 183 | Winactivate,AHK_CLASS AutoHotkeyGUI 184 | } 185 | : 186 | gcbm() 187 | return 188 | gcbm() 189 | { 190 | MouseGetPos, , , id 191 | WinGetClass, class, ahk_id %id% 192 | GuiControl,,Edit1,%class% 193 | } 194 | : 195 | chkHK() 196 | return 197 | chkHK() 198 | { 199 | GuiControlGet,hk,,Edit2 200 | GuiControlGet, p, Pos,Edit2 201 | n := 1 202 | For,i,k in ResolveHotkey(hk) 203 | { 204 | m .= "First" i "hotkey>>" k "`n" 205 | n++ 206 | } 207 | PosX := px + 3 208 | PosY := py + 50 209 | Tooltip,%m%,%PosX%,%PosY%,2 210 | } 211 | ;========================================= 212 | : 213 | Msgbox % Vim_HotkeyList 214 | return 215 | : 216 | Msgbox % Vim_HotkeyExist 217 | return 218 | : 219 | For,i,k in Vim_Actions 220 | if Not RegExMatch(i,"^<.*>$") 221 | m .= i "|" 222 | Gui,Destroy 223 | Gui,Font,s9 224 | GUi,+Theme 225 | Gui,Add,DropDownList,choose1 gchangelist,%m% 226 | Gui,Add,ListView,Grid r20 w700 h400,action|description 227 | Lv_ModifyCol(1,200) 228 | idx := 1 229 | all := Vim_Actions["All"] 230 | Loop,Parse,all,%A_Space% 231 | If A_LoopField 232 | { 233 | LV_Add(idx,A_LoopField,Vim_Actions[A_LoopField]) 234 | idx++ 235 | } 236 | Gui,Show,h450 237 | return 238 | 239 | 240 | /* 241 | Function: Anchor 242 | Defines how controls should be automatically positioned relative to the new dimensions of a window when resized. 243 | 244 | Parameters: 245 | cl - a control HWND, associated variable name or ClassNN to operate on 246 | a - (optional) one or more of the anchors: 'x', 'y', 'w' (width) and 'h' (height), 247 | optionally followed by a relative factor, e.g. "x h0.5" 248 | r - (optional) true to redraw controls, recommended for GroupBox and Button types 249 | 250 | Examples: 251 | > "xy" ; bounds a control to the bottom-left edge of the window 252 | > "w0.5" ; any change in the width of the window will resize the width of the control on a 2:1 ratio 253 | > "h" ; similar to above but directrly proportional to height 254 | 255 | Remarks: 256 | To assume the current window size for the new bounds of a control (i.e. resetting) simply omit the second and third parameters. 257 | However if the control had been created with DllCall() and has its own parent window, 258 | the container AutoHotkey created GUI must be made default with the +LastFound option prior to the call. 259 | For a complete example see anchor-example.ahk. 260 | 261 | License: 262 | - Version 4.60a 263 | - Dedicated to the public domain (CC0 1.0) 264 | */ 265 | Anchor(i, a = "", r = false) { 266 | static c, cs = 12, cx = 255, cl = 0, g, gs = 8, gl = 0, gpi, gw, gh, z = 0, k = 0xffff 267 | If z = 0 268 | VarSetCapacity(g, gs * 99, 0), VarSetCapacity(c, cs * cx, 0), z := true 269 | If (!WinExist("ahk_id" . i)) { 270 | GuiControlGet, t, Hwnd, %i% 271 | If ErrorLevel = 0 272 | i := t 273 | Else ControlGet, i, Hwnd, , %i% 274 | } 275 | VarSetCapacity(gi, 68, 0), DllCall("GetWindowInfo", "UInt", gp := DllCall("GetParent", "UInt", i), "UInt", &gi) 276 | , giw := NumGet(gi, 28, "Int") - NumGet(gi, 20, "Int"), gih := NumGet(gi, 32, "Int") - NumGet(gi, 24, "Int") 277 | If (gp != gpi) { 278 | gpi := gp 279 | Loop, %gl% 280 | If (NumGet(g, cb := gs * (A_Index - 1)) == gp) { 281 | gw := NumGet(g, cb + 4, "Short"), gh := NumGet(g, cb + 6, "Short"), gf := 1 282 | Break 283 | } 284 | If (!gf) 285 | NumPut(gp, g, gl), NumPut(gw := giw, g, gl + 4, "Short"), NumPut(gh := gih, g, gl + 6, "Short"), gl += gs 286 | } 287 | ControlGetPos, dx, dy, dw, dh, , ahk_id %i% 288 | Loop, %cl% 289 | If (NumGet(c, cb := cs * (A_Index - 1)) == i) { 290 | If a = 291 | { 292 | cf = 1 293 | Break 294 | } 295 | giw -= gw, gih -= gh, as := 1, dx := NumGet(c, cb + 4, "Short"), dy := NumGet(c, cb + 6, "Short") 296 | , cw := dw, dw := NumGet(c, cb + 8, "Short"), ch := dh, dh := NumGet(c, cb + 10, "Short") 297 | Loop, Parse, a, xywh 298 | If A_Index > 1 299 | av := SubStr(a, as, 1), as += 1 + StrLen(A_LoopField) 300 | , d%av% += (InStr("yh", av) ? gih : giw) * (A_LoopField + 0 ? A_LoopField : 1) 301 | DllCall("SetWindowPos", "UInt", i, "Int", 0, "Int", dx, "Int", dy 302 | , "Int", InStr(a, "w") ? dw : cw, "Int", InStr(a, "h") ? dh : ch, "Int", 4) 303 | If r != 0 304 | DllCall("RedrawWindow", "UInt", i, "UInt", 0, "UInt", 0, "UInt", 0x0101) ; RDW_UPDATENOW | RDW_INVALIDATE 305 | Return 306 | } 307 | If cf != 1 308 | cb := cl, cl += cs 309 | bx := NumGet(gi, 48), by := NumGet(gi, 16, "Int") - NumGet(gi, 8, "Int") - gih - NumGet(gi, 52) 310 | If cf = 1 311 | dw -= giw - gw, dh -= gih - gh 312 | NumPut(i, c, cb), NumPut(dx - bx, c, cb + 4, "Short"), NumPut(dy - by, c, cb + 6, "Short") 313 | , NumPut(dw, c, cb + 8, "Short"), NumPut(dh, c, cb + 10, "Short") 314 | Return, true 315 | } 316 | 317 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/actions/temp.ahk: -------------------------------------------------------------------------------- 1 | ; Can call API at the end of this file 2 | ; Here must be with a plug-in file name consistent with the label, Vimcore load plug-in, it will run 3 | : 4 | ; Generally used to define global variables 5 | Global Test 6 | ; Add a description of the corresponding plug-in for help in the action description 7 | CustomActions ("", "Example 1") 8 | ; You can also add other pre-run functions, such as TConly Lane, is the pre-loaded file template function menu 9 | ; Can refer to TConly.ahk 10 | Return 11 | 12 | ; %Class% _CheckMode () 13 | ; Vimcore operating mode distinction, that is, when is the normal mode, when is the editing mode 14 | ; Can be achieved by customizing the CheckMode () function 15 | ; Vimcore in the analysis of each hotkey, will use WinGetClass to get the current window class Class 16 | ; Then call% Class% _CheckMode (), as in TC will call TTOTAL_CMD_CheckMode () 17 | ; If the function returns true, it is equivalent to edit mode. If the function returns False, the normal mode 18 | 19 | ; The following to control notepad.exe as an example 20 | Notepad_CheckMode() 21 | { 22 | ControlGetFocus, ctrl, AHK_CLASS NotePad 23 | If RegExMatch (ctrl, "Edit") 24 | Return True 25 | Return False 26 | } 27 | 28 | ; Each plug-in can take at least one action, the action in the form of labels to describe 29 | ; The following tag is an action in Temp.ahk 30 | : 31 | TempAction1() 32 | Return 33 | ; It is recommended to call the function through the tag, which can reduce the impact of global variables between plugins developed by different people 34 | TempAction1() 35 | { 36 | Msgbox % "Hello World" 37 | } 38 | ;VimCore API 39 | ; ================================================= ====== 40 | 41 | ; RegisterHotkey (Scope, Key, Action, ViClass) 42 | ; Registered hotkey function, the definition of the hotkey will have a mode of control 43 | ; ------------------------------------------------- ------ 44 | 45 | ; Scope is represented by S globally, and H is represented only in the window of the ViClass class 46 | ; Key hotkey, can be a single key, key combination, case-sensitive 47 | ; Single key a b c 1, a b etc ... 48 | ; Key combination ga oK JK J j k etc ... 49 | ; Action, hotkey corresponding to the action, generally in this form: "" 50 | ; ViClass window class, you can view the corresponding window class through AHK Windows Spy, if the scope specified when the H, the registered hotkey will only ViClass variable in the corresponding window class 51 | 52 | ; ================================================= ====== 53 | 54 | ; SetHotKey (sKey, sAction, Class) 55 | ; Set the hotkey, and RegisterHotkey () to distinguish, through the function of the hotkey is not affected by the model 56 | ; Generally used to set Esc, such as SetHotkey ("Escape", "", "TTOTAL_CMD") 57 | 58 | ; ------------------------------------------------- ------ 59 | ; SKey hotkey, can only be a single key, and does not support 60 | ; Can only be supported by AHK hotkey variants 61 | ; SAction action, hotkey corresponding action. 62 | ; Class defines the window class in which the hotkey of the SetHotkey () function takes effect 63 | 64 | ; ================================================= ====== 65 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/viatc-0.6.2en.ahk: -------------------------------------------------------------------------------- 1 | #SingleInstance 2 | Menu, Tray, Icon, viatc.ico 3 | 4 | Setkeydelay,-1 5 | SetControlDelay,-1 6 | Detecthiddenwindows,on 7 | Coordmode,Menu,Window 8 | ;======================================================= 9 | Init() 10 | Global VIATC_INI := GetPath_VIATC_INI() 11 | Global TCEXE := GetPath_TCEXE() 12 | Global TCINI := GetPath_TCINI() 13 | Vim_HotkeyList .= " <> " 14 | ReadConfigToRegHK() 15 | ;Msgbox % Substr(Vim_HotkeyList,RegExMatch(Vim_HotkeyList,"\s<>\s")) 16 | Traytip,,ViATc-0.6.1en is running,,17 17 | Sleep,1800 18 | Traytip 19 | ;RegisterHotkey("zf","","TTOTAL_CMD") 20 | ;RegisterHotkey("zl","","TTOTAL_CMD") 21 | ;RegisterHotkey("zq","","TTOTAL_CMD") 22 | ;RegisterHotkey("za","","TTOTAL_CMD") 23 | ; ========================================== 24 | ; Esc hotkey must be mapped in the following form 25 | ; Ensure Esc functions are not affected hotkeycontrol 26 | ; If you do not like this map, you will fail to return to normal mode 27 | ; ========================================== 28 | return 29 | ; =================================================== 30 | ; Read the configuration and register the hotkey 31 | ReadConfigToRegHK() 32 | { 33 | Config_section := VIATC_IniRead() 34 | Loop,Parse,Config_section,`n 35 | { 36 | ; Global is a global domain, registered global hotkey 37 | If RegExMatch(A_LoopField,"i)^Global$") 38 | { 39 | ; When Global, Class empty 40 | CLASS := 41 | ; Acquiring Global hotkey list 42 | KeyList := VIATC_IniRead("Global") 43 | Loop,Parse,KeyList,`n 44 | { 45 | ; Hot key acquisition portion of INI 46 | Key := RegExReplace(A_LoopField,"=[<\(\{\[].*[\]\}\)>]$") 47 | ; Get hot key corresponding Action 48 | Action := SubStr(A_LoopField,Strlen(Key)+2,Strlen(A_LoopField)) 49 | ; Registered hotkey 50 | If RegExMatch(Key,"^\$.*") 51 | { 52 | Key := SubStr(Key,2) 53 | If RegExMatch(Key,"^[^\$].*") 54 | { 55 | Key := ResolveHotkey(Key) 56 | SetHotkey(Key.1,Action,CLASS) 57 | Continue 58 | } 59 | } 60 | RegisterHotkey(Key,Action,CLASS) 61 | } 62 | } 63 | ; AHKC beginning of all domains, corresponding to the hot key to register the CLASS 64 | If RegExMatch(A_LoopField,"^AHKC_") 65 | { 66 | ; Get the class 67 | AHKC := A_LoopField ; obtaining AHKC_XXXXX class, in this case for the outer loop LoopField 68 | ; Get CLASS class from the AHKC 69 | CLASS := SubStr(AHKC,6,Strlen(AHKC)) 70 | ; Get a list of hot key corresponding to AHKC 71 | KeyList := VIATC_IniRead(AHKC) 72 | Loop,Parse,KeyList,`n 73 | { 74 | ; Hot key acquisition portion of INI 75 | Key := RegExReplace(A_LoopField,"=[\[<\(\{].*[\]\}\)>]$") 76 | ; Get hot key corresponding Action 77 | Action := SubStr(A_LoopField,Strlen(Key)+2,Strlen(A_LoopField)) 78 | ; Registered hotkey 79 | If RegExMatch(Key,"^\$.*") 80 | { 81 | Key := SubStr(Key,2) 82 | If RegExMatch(Key,"^[^\$].*") 83 | { 84 | Key := ResolveHotkey(Key) 85 | SetHotkey(Key.1,Action,CLASS) 86 | Continue 87 | } 88 | } 89 | RegisterHotkey(Key,Action,CLASS) 90 | } 91 | } 92 | } 93 | } 94 | 95 | ; Read ini file, if the item is read VIATC option is created in less time reading 96 | VIATC_IniRead(section="",key="") 97 | { 98 | IniRead,Value,%VIATC_INI%,%section%,%key% 99 | If RegExMatch(Value,"ERROR") 100 | { 101 | Value := Options(key) 102 | If Not RegExMatch(Value,"^ERROR$") 103 | { 104 | IniWrite,%Value%,%VIATC_INI%,%section%,%key% 105 | } 106 | Else 107 | Value := "" 108 | } 109 | Return Value 110 | } 111 | ; Add INI 112 | VIATC_IniWrite(section,key,value) 113 | { 114 | IniWrite,%Value%,%VIATC_INI%,%section%,%key% 115 | Return ErrorLevel 116 | } 117 | ; Delete INI 118 | VIATC_IniDelete(section,key) 119 | { 120 | IniDelete,%VIATC_INI%,%section%,%key% 121 | Return ErrorLevel 122 | } 123 | ; Return options and their default values to the array, non-option returns ERROR 124 | Options(opt) 125 | { 126 | If RegExMatch(opt,"^TrayIcon$") 127 | Return True 128 | If RegExMatch(opt,"^VimMode$") 129 | Return True 130 | If RegExMatch(opt,"^TransParent$") 131 | Return False 132 | If RegExMatch(opt,"^Startup$") 133 | Return False 134 | If RegExMatch(opt,"^GroupWarn$") 135 | Return True 136 | If RegExMatch(opt,"^MaxCount$") 137 | Return 99 138 | If RegExMatch(opt,"^Toggle$") 139 | Return "e" 140 | If RegExMatch(opt,"^TranspVar$") 141 | Return 220 142 | If RegExMatch(opt,"^SearchEng$") 143 | Return "http://www.google.com/?#q={%1}" 144 | Return "ERROR" 145 | } 146 | ; Obtaining VIATC profile path 147 | GetPath_VIATC_INI() 148 | { 149 | NeedRegWrite := False 150 | Loop ; Loop here is useless, just used when a certain condition is satisfied, stop using the Find 151 | { 152 | ; Looks in the current directory 153 | gPath := A_ScriptDir "\viatc.ini" 154 | If FileExist(gPath) 155 | Break 156 | ; Look in the registry VIATC 157 | RegRead,gPath,HKEY_CURRENT_USER,Software\ViATc,ViATcIni 158 | If FileExist(gPath) 159 | Break 160 | Else 161 | NeedRegWrite := True 162 | ; Look for the TC directory 163 | TCEXE := GetPath_TCEXE() 164 | Splitpath,TCEXE,,TCDir 165 | gPath := TCDir "\viatc.ini" 166 | If FileExist(gPath) 167 | break 168 | ; Use GUI look 169 | FileSelectFile,gPath,3,,Find the TC configuration file(wincmd.ini),*.ini 170 | If ErrorLevel 171 | { 172 | Msgbox 查找ViATc.ini文件失败 173 | return 174 | } 175 | ; To save the registry VIATC 176 | break 177 | } 178 | If FileExist(gPath) 179 | { 180 | If NeedRegWrite 181 | Regwrite,REG_SZ,HKEY_CURRENT_USER,Software\VIATC,ViATcINI,%gPath% 182 | return gPath 183 | } 184 | } 185 | ; Obtaining wincmd.ini profile path 186 | GetPath_TCINI() 187 | { 188 | NeedRegWrite := False 189 | Loop ;Loop here is useless, just used when a certain condition is satisfied, stop using the Find 190 | { 191 | ; Find VIATC registry value 192 | RegRead,gPath,HKEY_CURRENT_USER,Software\ViATc,IniFileName 193 | If FileExist(gPath) 194 | Break 195 | Else 196 | NeedRegWrite := True 197 | ; Looks in the current directory 198 | gPath := A_ScriptDir "\wincmd.ini" 199 | If FileExist(gPath) 200 | Break 201 | TCEXE := GetPath_TCEXE() 202 | Splitpath,TCEXE,,TCDir 203 | gPath := TCDir "\wincmd.ini" 204 | If FileExist(gPath) 205 | break 206 | ; Use GUI look 207 | FileSelectFile,gPath,3,,Find the TC configuration file(wincmd.ini),*.ini 208 | If ErrorLevel 209 | { 210 | Msgbox Failed to find TC configuration file: wincmd.ini 211 | return 212 | } 213 | break 214 | } 215 | ; Save value in the registry to VIATC 216 | If FileExist(gPath) 217 | { 218 | If NeedRegWrite 219 | Regwrite,REG_SZ,HKEY_CURRENT_USER,Software\VIATC,IniFileName,%gPath% 220 | return gPath 221 | } 222 | } 223 | ; Get Totalcmd.exe file path 224 | GetPath_TCEXE() 225 | { 226 | NeedRegWrite := False ; the need to write registry 227 | Loop ; Loop here is useless, just used when a certain condition is satisfied, stop using the Find 228 | { 229 | ; Find VIATC registry value 230 | RegRead,gPath,HKEY_CURRENT_USER,Software\ViATc,InstallDir 231 | If FileExist(gPath) 232 | Break 233 | Else 234 | NeedRegWrite := True 235 | ; Use the process to find 236 | Process,Exist,TOTALCMD.exe 237 | PID := ErrorLevel 238 | WinGet,gPath,ProcessPath,AHK_PID %PID% 239 | If gPath 240 | Break 241 | ; Looks in the current directory 242 | gPath := A_ScriptDir "\totalcmd.exe" 243 | If FileExist(gPath) 244 | Break 245 | gPath := A_ScriptDir "\totalcmd64.exe" 246 | If FileExist(gPath) 247 | Break 248 | ; Use GUI look 249 | FileSelectFile,gPath,3,,Find TOTALCMD.exe or TOTALCMD64.exe,*.exe 250 | If ErrorLevel 251 | { 252 | Msgbox Find Totalcmd.exe failed 253 | return 254 | } 255 | Break 256 | } 257 | If FileExist(gPath) 258 | { 259 | If NeedRegWrite 260 | Regwrite,REG_SZ,HKEY_CURRENT_USER,Software\VIATC,InstallDir,%gPath% 261 | Return gPath 262 | } 263 | ; Save value in the registry to VIATC 264 | } 265 | EmptyMem() 266 | { 267 | return 268 | } 269 | ; =================================================== 270 | #include vimcore.0.2.1.ahk 271 | ; #include Actions\Debug.ahk 272 | #include Actions\General.ahk 273 | #include Actions\TCCOMMAND.ahk 274 | #include Actions\TConly.ahk 275 | #include Actions\MSWord.ahk 276 | #include Actions\temp.ahk 277 | #include Actions\Tools.ahk 278 | #include Actions\TCCOMMAND+.ahk 279 | #include Actions\QDir.ahk 280 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/viatc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.6.2unfinished/viatc.ico -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/viatc.ini: -------------------------------------------------------------------------------- 1 | [Configuration] 2 | VimMode=1 3 | TransParent=1 4 | Startup=1 5 | GroupWarn=1 6 | MaxCount=99 7 | TranspVar=220 8 | Toggle=f 9 | SearchEng=http://www.google.com/search?q={%1} 10 | TrayIcon=1 11 | 12 | [Global] 13 | u= 14 | 15 | [AHKC_WorkerW] 16 | 17 | ;aa=(c:\Program Files (x86)\totalcmd\TOTALCMD64.EXE) 18 | ;w=(c:\Program Files\Q-Dir\Q-Dir.exe) 19 | a.= 20 | ;arq=(regedit) 21 | ;ago=(c:\Program Files\links\goagent.lnk) 22 | ;agif=(c:\Program Files\GifCam\GifCam.exe) 23 | ;awink=(c:\Program Files\DebugMode\Wink\Wink.exe) 24 | aa= 25 | ;athu=(c:\Program Files\Thunder Network\Minithunder\Bin\ThunderMini.exe 26 | 27 | [AHKC_TTOTAL_CMD] 28 | sm=[MICRO_OnlyShowSame] 29 | @=[MICRO_SAD] 30 | ;= ;<----- this was enabled and two lines below too f1 f2 f3 31 | ;= ;gives error 32 | ;= 33 | = 34 | = 35 | ;= 36 | := 37 | 38 | [MICRO_GOTOC] 39 | Desc=To C drive 40 | =1 41 | =1 42 | [MICRO_SAD] 43 | =1 44 | {viatc}=1 45 | =1 46 | =1 47 | {{enter}}=1 48 | 49 | [AHKC_TCmdSelForm] 50 | =[MICRO_AutoCOMP] 51 | [MICRO_AutoCOMP] 52 | =1 53 | {{enter}}=1 54 | =1 55 | {^{v}}=1 56 | {{enter}}=1 57 | =1 58 | ;[MICRO_OnlyShowSame] 59 | ;=1 60 | ;=1 61 | ;=1 62 | -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/viatcdis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/old/viatc-0.6.2unfinished/viatcdis.ico -------------------------------------------------------------------------------- /old/viatc-0.6.2unfinished/vimcore.0.2.1.ahk: -------------------------------------------------------------------------------- 1 | ; VimCore 0.0.2 2 | ; 2013-04-10 3 | ; By Array ( linxinhong.sky@gmail.com ) 4 | #UseHook on 5 | #NoEnv 6 | Init() 7 | { 8 | Gosub, 9 | LoadPlugin() 10 | } 11 | : 12 | Global Vim_HotkeyList := "" 13 | Global Vim_HotkeyExist := "" 14 | Global Vim_HotkeyTemp := [] 15 | Global Vim_HotkeyCount := 0 16 | Global Vim_Mode := True 17 | Global Vim_Repeat := [] 18 | Global Vim_Actions := [] 19 | Global Vim_Timer := 0 20 | return 21 | ;========================================================= 22 | ; RegisterHotkey(Key,Action,Class="") {{{2 23 | RegisterHotkey(Key,Action,Class="") 24 | { 25 | If Not CLASS AND RegExMatch(Key,">[^<]{2}") 26 | { 27 | Msgbox % " Not recommended in global hotkeys “" Key "” With a single key , Please re-set " 28 | Return 29 | } 30 | If Not IsVimLabel(Action) 31 | { 32 | Msgbox % "1Key " Key " map to Action " Action " Error !" 33 | Return 34 | } 35 | switch := False ; Used to determine whether the saved hotkey was successful 36 | for,i,k in ResolveHotkey(Key) 37 | { 38 | If SetHotkey(K,"",Class) 39 | switch := True 40 | Else 41 | Msgbox % "2Key " Key " map to Action " Action " Error !" 42 | } 43 | If switch ; If the hotkey is saved successfully , Save the hotkey body into memory 44 | { 45 | If RegExMatch(HK_Match(Key,Class),"[^\n]*") 46 | HK_Delete(Key,Class) 47 | HK_Write(Key,Action,Class) 48 | } 49 | If RegExMatch(Action,"^\(.*\)$") 50 | { 51 | Info := " run " . Action 52 | CustomActions(Action,Info) 53 | } 54 | If RegExMatch(Action,"^\{.*\}$") 55 | { 56 | Info := " send " . Action 57 | CustomActions(Action,Info) 58 | } 59 | If RegExMatch(Action,"^\[.*\]$") 60 | { 61 | Info := " Macro " . Action 62 | CustomActions(Action,Info) 63 | } 64 | } 65 | ; SetHotkey(key,Action,Class="") {{{2 66 | ; Set hotkey , Returns the result of the setup 67 | SetHotkey(key,Action,Class="") 68 | { 69 | If IsHotkey(Key,Class) 70 | Return True 71 | Else 72 | { 73 | If Strlen(Class) > 0 74 | { 75 | Hotkey,IfWinActive,AHK_CLASS %CLASS% 76 | GroupAdd,Vim_Group_Class,AHK_CLASS %class% 77 | } 78 | Else 79 | { 80 | Hotkey,IfWinActive 81 | 82 | } 83 | Hotkey,%Key%,%Action%,On,UseErrorLevel 84 | If ErrorLevel And ( Not RegExMatch(Action,"") ) 85 | { 86 | Msgbox % "Key " Key " map to " Action " Error !" 87 | Return False 88 | } 89 | ; in case Action for HotkeyLabel, Then RegisterHotkey() Called 。 90 | If RegExMatch(Action,"") 91 | Vim_HotkeyExist .= A_Tab . Strlen(Class) . "|" . Class . Strlen(Key) . "|" Key . A_Tab 92 | Return True 93 | } 94 | } 95 | : 96 | HotkeyLabel() 97 | return 98 | ; HotkeyLabel() {{{2 99 | HotkeyLabel() 100 | { 101 | ThisHotkey := GetThisHotkey() 102 | IfWinActive,AHK_GROUP VIM_Group_Class 103 | { 104 | WinGetClass,Class,A 105 | Key := ResolveHotkey(ThisHotkey) 106 | If Not IsHotkey(Key.1,Class) 107 | Class := 108 | } 109 | Else 110 | Class := 111 | If Not Vim_HotkeyTemp[Class] 112 | Null := True 113 | Vim_HotkeyTemp[Class] .= ThisHotkey 114 | ; Determine whether the current mode is VIM or the text input mode 115 | ; By custom ThisClass_CheckMode() Function decides 116 | ; Such as TConly.ahk inner TTOTAL_CMD_CheckMode() 117 | Action := HK_Match(Vim_HotkeyTemp[Class],Class) 118 | CheckMode := Class "_CheckMode" 119 | If ( IsFunc(CheckMode) AND (%CheckMode%()) ) OR (Not Action And Null) 120 | { 121 | Send,% TransSendKey(A_Thishotkey) 122 | Vim_HotkeyTemp[Class] := "" 123 | Return 124 | } 125 | If IsVimLabel(Action) 126 | { 127 | Settimer,,off 128 | ExecSub(Action,Vim_HotkeyCount,Class) 129 | Vim_HotkeyTemp[Class] := "" 130 | Vim_Timer := 0 131 | return 132 | } 133 | List := Vim_HotkeyTemp[Class] "`n================================`n" 134 | If Action 135 | { 136 | Settimer,,50 137 | ;If GroupWarn 138 | Loop,Parse,Action,%A_tab% 139 | { 140 | If A_Loopfield 141 | { 142 | T := HK_Read(A_LoopField) 143 | list .= T.Key " >> " Vim_Actions[T.Action] "`n" 144 | } 145 | } 146 | Tooltip,%list% 147 | return 148 | } 149 | Else 150 | { 151 | Vim_HotkeyTemp[Class] := "" 152 | Tooltip 153 | } 154 | } 155 | ;: 156 | : 157 | TimeOutExecSub() 158 | Return 159 | TimeOutExecSub() 160 | { 161 | Vim_Timer++ 162 | If Vim_Timer > 30 163 | { 164 | Settimer,,off 165 | WinGetClass,Class,A 166 | Action := HK_Match(Vim_HotkeyTemp[Class],Class,False) 167 | If IsVimLabel(Action) 168 | ExecSub(Action,Vim_HotkeyCount,Class) 169 | Vim_HotkeyTemp[Class] := "" 170 | Vim_Timer := 0 171 | } 172 | } 173 | ; ExecSub(Action,Count=0,Class="") {{{2 174 | ExecSub(Action,Count=0,Class="") 175 | { 176 | Tooltip 177 | If Not Class 178 | WinGetClass,Class,A 179 | Count := Count ? Count : 1 180 | If RegExMatch(Action,"^<.*>$") 181 | { 182 | If RegExMatch(Action,"^<\d>$") 183 | { 184 | Vim_HotkeyCount := Vim_HotkeyCount * 10 + SubStr(Action,2,1) 185 | If Vim_HotkeyCount > 99 186 | Vim_HotkeyCount := 99 187 | } 188 | Else 189 | { 190 | Loop % Count 191 | { 192 | 193 | GoSub %Action% 194 | If Not Vim_HotkeyCount 195 | Break 196 | } 197 | Vim_HotkeyCount := 0 198 | } 199 | } 200 | If RegExMatch(Action,"^\{.*\}$") 201 | { 202 | Text := Substr(Action,2,Strlen(Action)-2) 203 | Loop % Count 204 | Send,%Text% 205 | } 206 | If RegExMatch(action,"^\(.*\)$") 207 | { 208 | File := Substr(Action,2,Strlen(Action)-2) 209 | Run,%File%,,UseErrorLevel,ExecID 210 | If ErrorLevel = ERROR 211 | { 212 | Msgbox run %File% failure 213 | Return 214 | } 215 | WinWait,AHK_PID %ExecID%,,3 216 | WinActivate,AHK_PID %ExecID% 217 | } 218 | If RegExMatch(action,"^\[.*\]$") 219 | Micro(action,class) 220 | If RegExMatch(Action,"") 221 | return 222 | Else 223 | Vim_Repeat[Class] := Count "|" Action 224 | } 225 | : 226 | Repeat() 227 | return 228 | ; Repeat() {{{2 229 | Repeat() 230 | { 231 | WinGetClass,Class,A 232 | RegExMatch(Vim_Repeat[Class],"\d+\|",c) 233 | Vim_HotkeyCount := SubStr(c,1,Strlen(c)-1) 234 | RegExMatch(Vim_Repeat[Class],"\|.*",l) 235 | Action := SubStr(l,2,Strlen(l)) 236 | ExecSub(Action,Vim_HotkeyCount,Class) 237 | } 238 | ; Micro(action,class) {{{2 239 | ; Simple macro definition 240 | Micro(action,class) 241 | { 242 | If FileExist(VIATC_INI) 243 | { 244 | section := Substr(action,2,strlen(action)-2) 245 | INIRead,m,%VIATC_INI%,%section% 246 | Loop,Parse,m,"`n" 247 | { 248 | If RegExMatch(A_LoopField,"^\d*$") 249 | Sleep,%A_LoopField% 250 | a := RegExReplace(A_LoopField,"=\d*$") 251 | If Not IsVimLabel(a) 252 | Continue 253 | c := Substr(A_LoopField,Strlen(a)+2) 254 | If Not RegExMatch(c,"\d*") 255 | Continue 256 | Vim_HotkeyCount := c 257 | ExecSub(a,c,class) 258 | } 259 | } 260 | } 261 | ; LoadPlugin() {{{2 262 | ; Load the script , And modify VIATC 263 | LoadPlugin() 264 | { 265 | NeedReload := False 266 | IfExist %A_Workingdir%\Actions 267 | { 268 | Loop,%A_Workingdir%\Actions\*.ahk 269 | { 270 | Label := "<" RegExReplace(A_LoopFileName,"i)\.ahk") ">" 271 | If IsVimLabel(Label) 272 | { 273 | GoSub,%Label% 274 | Continue 275 | } 276 | Else 277 | { 278 | NeedReload := true 279 | FileAppend, #include Actions\%A_LoopFileName%`n , %A_ScriptName% 280 | } 281 | } 282 | If NeedReload 283 | msgbox,4,Plugin, New action added , Please reboot ! 284 | IfMsgbox yes 285 | Reload 286 | } 287 | } 288 | ; CustomActions(Action,Info="") {{{2 289 | ; Add custom Actions Help information 290 | CustomActions(Action,Info="") 291 | { 292 | aMatch := "\s" . ToMatch(Action) . "\s" 293 | If Not RegExMatch(Vim_Actions["All"],aMatch) 294 | { 295 | Plugin_Label := RegExReplace(A_ThisLabel,"^<|>$") 296 | Vim_Actions["All"] .= A_Space . Action . A_Space 297 | Vim_Actions[Plugin_Label] .= A_Space . Action . A_Space 298 | Vim_Actions[action] := Info 299 | } 300 | } 301 | ; HotkeyControl(Control) {{{2 302 | ; Enable or disable hotkeys 303 | HotkeyControl(Control="") 304 | { 305 | IfWinActive,AHK_GROUP Vim_Group_Class 306 | { 307 | WinGetClass,Class,A 308 | Hotkey,IfWinActive,AHK_CLASS %Class% 309 | } 310 | Else 311 | { 312 | Hotkey,IfWinActive 313 | Class := "" 314 | } 315 | M := "i)" Strlen(Class) "\|" ToMatch(Class) 316 | Loop,Parse,Vim_HotkeyExist,%A_Tab% 317 | { 318 | If RegExMatch(A_LoopField,M) 319 | { 320 | Key := RegExReplace(RegExReplace(A_LoopField,M),"^\d+\|") 321 | If Control 322 | Hotkey,%Key%,on ,,UseErrorLevel 323 | Else 324 | Hotkey,%Key%,off ,,UseErrorLevel 325 | } 326 | } 327 | */ 328 | } 329 | ; ToMatch(Key) {{{2 330 | ; Regular expression escapes 331 | ToMatch(Key) 332 | { 333 | Key := RegExReplace(Key,"\+|\?|\.|\*|\{|\}|\(|\)|\||\^|\$|\[|\]|\\","\$0") 334 | Return RegExReplace(Key,"\s","\s") 335 | } 336 | ; IsVimHotkey(Key,Class) {{{2 337 | ; Returns whether or not a description is a hotkey 338 | ; already exists , return True, Hotkey does not exist , return False 339 | IsHotkey(Key,Class) 340 | { 341 | t := Strlen(Class) "|" . Class . Strlen(key) . "|" . Key 342 | m := "i)\t" . ToMatch(t) . "\t" 343 | If Vim_HotkeyExist 344 | Return RegExMatch(Vim_HotkeyExist,m) 345 | Else 346 | return False 347 | } 348 | ; IsVimLabel(Label) {{{2 349 | ; Returns whether it is available Label 350 | IsVimLabel(Label) 351 | { 352 | If RegExMatch(Label,"^<.*>$") 353 | Return IsLabel(Label) 354 | return RegExMatch(Label,"^[\(\{\[].*[\}\)\]]$") 355 | } 356 | ; GetThisHotkey() {{{2 357 | ; Get the current hotkey , Case sensitive 358 | GetThisHotkey() 359 | { 360 | If RegExMatch(A_ThisHotkey,"^[a-z]$") 361 | { 362 | GetKeyState,Var,CapsLock,T 363 | If Var = D 364 | { 365 | If RegExMatch(A_ThisHotkey,"i)^(l|r)?shift\s&\s[a-z]$") 366 | ThisHotkey := Substr(A_ThisHotkey,0) 367 | ThisHotkey := "shift & " . A_ThisHotkey 368 | ;;send capslock ;added by magicstep 369 | } 370 | Else 371 | ThisHotkey := A_ThisHotkey 372 | } 373 | Else 374 | ThisHotkey := A_ThisHotkey 375 | Loop 376 | { 377 | If RegExMatch(ThisHotkey,"i)(l|r)?(ctrl|alt|win|shift)\s&\s",m) 378 | { 379 | ThisHotKey := "<" . RegExReplace(m,"\s&\s",">") . SubStr(ThisHotKey,Strlen(m)+1,1) 380 | Break 381 | } 382 | If RegExMatch(ThisHotKey,"i)^(f\d\d?)|esc|escape|space|tab|enter|bs|del|ins|home|end|pgup|pgdn|up|down|left|right|<|>$",m) 383 | { 384 | ThisHotKey := "<" . m . ">" 385 | Break 386 | } 387 | Break 388 | } 389 | Return ThisHotKey 390 | } 391 | ; TransSendKey(hotkey) {{{2 392 | ; in SendKey Time , will hotkey Convert to Send Can support the format 393 | TransSendKey(hotkey) 394 | { 395 | Loop 396 | { 397 | If RegExMatch(Hotkey,"i)^(f\d\d?)|esc|escpa|space|tab|enter|bs|del|ins|home|end|pgup|pgdn|up|down|left|right|!|#|\+|\^|\{|\}$") 398 | { 399 | Hotkey := "{" . Hotkey . "}" 400 | Break 401 | } 402 | If StrLen(hotkey) > 1 AND Not RegExMatch(Hotkey,"^\+.$") 403 | { 404 | Hotkey := "{" . hotkey . "}" 405 | If RegExMatch(hotkey,"i)(shift|lshift|rshift)(\s\&\s)?.+$") 406 | Hotkey := "+" . RegExReplace(hotkey,"i)(shift|lshift|rshift)(\s\&\s)?") 407 | If RegExMatch(hotkey,"i)(ctrl|lctrl|rctrl|control|lcontrol|rcontrol)(\s\&\s)?.+$") 408 | Hotkey := "^" . RegExReplace(hotkey,"i)(ctrl|lctrl|rctrl|control|lcontrol|rcontrol)(\s\&\s)?") 409 | If RegExMatch(hotkey,"i)(lwin|rwin)(\s\&\s)?.+$") 410 | Hotkey := "#" . RegExReplace(hotkey,"i)(lwin|rwin)(\s\&\s)?") 411 | If RegExMatch(hotkey,"i)(alt|lalt|ralt)(\s\&\s)?.+$") 412 | Hotkey := "!" . RegExReplace(hotkey,"i)(alt|lalt|ralt)(\s\&\s)?") 413 | } 414 | If RegExMatch(Hotkey,"^\+.$") 415 | { 416 | Hotkey := SubStr(Hotkey,1,1) . "{" . SubStr(Hotkey,2) . "}" 417 | } 418 | GetKeyState,Var,CapsLock,T 419 | If Var = D 420 | { 421 | If RegExMatch(Hotkey,"^\+\{[a-z]\}$") 422 | { 423 | Hotkey := SubStr(Hotkey,2) 424 | Break 425 | } 426 | If RegExMatch(Hotkey,"^[a-z]$") 427 | { 428 | Hotkey := "+{" . Hotkey . "}" 429 | Break 430 | } 431 | If RegExMatch(Hotkey,"^\{[a-z]\}$") 432 | { 433 | Hotkey := "+" . Hotkey 434 | Break 435 | } 436 | } 437 | Break 438 | } 439 | Return hotkey 440 | } 441 | ; ResolveHotkey(KeyList) {{{2 442 | ResolveHotkey(KeyList) 443 | { 444 | Keys := [] 445 | NewKeyList := [] 446 | n := 1 447 | Loop 448 | { 449 | Pos := RegExMatch(KeyList,"<[^<>]*>",A_Index) 450 | If Pos 451 | { 452 | LoopKey := SubStr(KeyList,1,Pos-1) 453 | Loop,Parse,LoopKey 454 | { 455 | If Asc(A_LoopField) >= 65 And Asc(A_LoopField) <= 90 456 | { 457 | Keys[n] := "shift" 458 | n++ 459 | Keys[n] := Chr(Asc(A_LoopField)+32) 460 | } 461 | Else 462 | Keys[n] := A_LoopField 463 | n++ 464 | } 465 | KeyList := SubStr(KeyList,Pos,Strlen(KeyList)) 466 | Pos := RegExMatch(KeyList,">") 467 | Keys[n] := SubStr(KeyList,2,Pos-2) 468 | KeyList := SubStr(KeyList,Pos+1,Strlen(KeyList)) 469 | n++ 470 | } 471 | Else 472 | { 473 | Loop,Parse,KeyList 474 | { 475 | If Asc(A_LoopField) >= 65 And Asc(A_LoopField) <= 90 476 | { 477 | Keys[n] := "shift" 478 | n++ 479 | Keys[n] := Chr(Asc(A_LoopField)+32) 480 | } 481 | Else 482 | Keys[n] := A_LoopField 483 | n++ 484 | } 485 | Break 486 | } 487 | } 488 | n := 1 489 | For,i,key in Keys 490 | { 491 | If RegExMatch(key,"i)(l|r)?(ctrl|shift|win|alt)") 492 | { 493 | List .= Key " & " 494 | Continue 495 | } 496 | Else 497 | { 498 | List .= Key 499 | NewKeyList[n] := List 500 | List := 501 | } 502 | n++ 503 | } 504 | Return NewKeyList 505 | } 506 | ; HK_Match(key,class) {{{2 507 | ; Match by class and hotkey 508 | ; If exactly match , It is returned action 509 | ; If fuzzy match , Returns all the matching elements 510 | ; If there is no match , return False 511 | HK_Match(Key="",Class="",ALL=True) 512 | { 513 | ; Key When there is a pass , For inquiries Class under ,Key Whether there is a correspondence Action 514 | ; Key When there is no pass , For inquiries Class Under all the hot key body 515 | ; ALL The default is true , Perform a fuzzy match 516 | ; ALL For leave , Make an exact match 517 | If Strlen(Key) > 0 518 | { 519 | ; Prevents uppercase characters from appearing 520 | Loop,Parse,Key 521 | { 522 | If Asc(A_LoopField) >= 65 And Asc(A_LoopField) <= 90 523 | m .= "" . Chr(Asc(A_LoopField)+32) 524 | Else 525 | m .= A_LoopField 526 | } 527 | Key := m 528 | ; Fuzzy match , Return all possible 529 | s := Vim_HotkeyList 530 | m := 531 | idx := 0 532 | Loop 533 | { 534 | Match := "i)\t" . Strlen(Class) . "\|" . ToMatch(Class) . "\d+\|" . ToMatch(Key) . "[^\s]*\d+\|[<\(\{\[][^\t]*[>\)\}\]]\t" 535 | Pos := RegExMatch(s,Match,n) 536 | If Pos 537 | { 538 | m .= n 539 | s := SubStr(s,Pos+strlen(n),strlen(s)) 540 | idx++ 541 | } 542 | Else 543 | Break 544 | } 545 | If ( idx > 1 ) AND ALL 546 | Return m 547 | Else 548 | { 549 | ; Complete match 550 | Match := "i)\t" . Strlen(Class) . "\|" . ToMatch(Class) . Strlen(key) . "\|" . ToMatch(Key) . "[^\s]*\d+\|[<\(\{\[][^\t]*[>\)\}\]]\t" 551 | Pos := RegExMatch(Vim_HotkeyList,Match) 552 | If Pos 553 | { 554 | T := HK_Read(SubStr(Vim_HotkeyList,Pos,Strlen(Vim_HotkeyList))) 555 | Return T.Action 556 | } 557 | Else 558 | Return m 559 | } 560 | } 561 | Else 562 | { 563 | s := Vim_HotkeyList 564 | m := 565 | Loop 566 | { 567 | Match := "i)\t" . Strlen(Class) . "\|" . ToMatch(Class) . "[^\t]*\t" 568 | Pos := RegExMatch(s,Match,n) 569 | If Pos 570 | { 571 | m .= n 572 | s := SubStr(s,Pos+strlen(n),strlen(s)) 573 | } 574 | Else 575 | Break 576 | } 577 | return m 578 | } 579 | } 580 | ; HK_write(Key,Action,Class="") {{{2 581 | ; Add a new hotkey body 582 | HK_write(Key,Action,Class="") 583 | { 584 | ; data structure : " 10|TTOTAL_CMD7|e6| " 585 | ; Left and right with a space 586 | ; The first number is added |, 10| description CLASS Have 10 Bit long , which is TTOTAL_CMD 587 | ; The second number is added |, 7| description Key Have 7 Bit long , which is e 588 | ; The third number is added |, 6| description Action Have 6 Bit long , which is 589 | If RegExMatch(Key,"\s|\t") 590 | return 591 | Else 592 | { 593 | Loop,Parse,Key 594 | { 595 | If Asc(A_LoopField) >= 65 And Asc(A_LoopField) <= 90 596 | m .= "" . Chr(Asc(A_LoopField)+32) 597 | Else 598 | m .= A_LoopField 599 | } 600 | Key := m 601 | } 602 | If Not IsVimLabel(Action) 603 | return 604 | Vim_HotkeyList .= A_Tab . Strlen(Class) . "|" Class . Strlen(Key) . "|" . Key . Strlen(Action) . "|" . Action . A_Tab 605 | } 606 | ; HK_Read(string) {{{2 607 | ; Resolve hotkey data for the corresponding class 、 Hotkey 、 Action and other information 608 | ; Return one Object, For example : obj := HK_Read("10|TTOTAL_CMD7|e6|") 609 | ; msgbox % obj.class => TTOTAL_CMD 610 | ; msgbox % obj.key => e 611 | ; msgbox % obj.action => 612 | HK_Read(string) 613 | { 614 | If Not String 615 | Return 616 | T := [] 617 | Pos1 := RegExMatch(string,"\d*\|",len) 618 | Pos1 += Strlen(Len) 619 | Len1 := SubStr(len,1,Strlen(len)-1) 620 | If Pos1 621 | T.Class := SubStr(string,Pos1,len1) 622 | ;====================================================== 623 | String2 := SubStr(string,Pos1+Len1,Strlen(string)) 624 | ;====================================================== 625 | Pos2 := RegExMatch(string2,"\d*\|",len) 626 | Pos2 += Strlen(Len) 627 | Len2 := SubStr(len,1,Strlen(len)-1) 628 | If Pos2 629 | T.Key := SubStr(string2,Pos2,len2) 630 | ;====================================================== 631 | String3 := SubStr(string2,Pos2+Len2,Strlen(string2)) 632 | ;====================================================== 633 | Pos3 := RegExMatch(string3,"\d*\|",len) 634 | Pos3 += Strlen(Len) 635 | Len3 := SubStr(len,1,Strlen(len)-1) 636 | If Pos3 637 | T.Action := SubStr(string3,Pos3,len3) 638 | return T 639 | } 640 | ; HK_Delete(Key,Class) {{{2 641 | ; delete key with class The corresponding hotkey 642 | HK_Delete(Key,Class) 643 | { 644 | Action := HK_Match(Key,Class) 645 | Match := "i)\t" . Strlen(Class) . "\|" . ToMatch(Class) . Strlen(key) . "\|" . ToMatch(Key) . Strlen(Action) . "\|" . ToMatch(Action) 646 | Vim_HotkeyList := RegExReplace(Vim_HotkeyList,Match) 647 | } 648 | -------------------------------------------------------------------------------- /user.ahk: -------------------------------------------------------------------------------- 1 | ; user.ahk 2021/02/03 2 | ; This file is for your custom commands and any additions to the ViATc. 3 | ; It should work with future updates of ViATc. 4 | ; This file is loaded automatically at each start/reload of ViATc, before all other code. 5 | ; This file is not necessary and not fully useful but it works ok. 6 | ; To disable it, either rename, move or delete it. 7 | ; It is easy to make errors, comment out any wonky code that you've added and don't use. 8 | 9 | Global UserCommandsArr := object() 10 | UserCommandsArr[""] :=" User Command 1 - MsgBox" 11 | UserCommandsArr[""] :=" User Command 2 - label" 12 | UserCommandsArr[""] :=" User Command 3 - an example of a function" 13 | ;... add as many as you like, you can use any names but surround them with <> 14 | ; you can change any description, it's nice if you add a space upfront 15 | ; you have to add commands to the array above, otherwise you won't be able to use them 16 | ; AHK will go now to end to skip execution of code below at startup/reload of main script 17 | goto end_of_file 18 | 19 | ; --- Custom commands: 20 | : 21 | MsgBox Hi, this is a UserCommand1 here 22 | Return 23 | 24 | : 25 | ;Send {Up} ; any AHK code 26 | goto Wisdom ; you can go to labels in the main script 27 | Return 28 | 29 | : 30 | ;CheckForUpdates() ; you can use functions from the main script 31 | SampleFunction() ; local function 32 | Return 33 | 34 | SampleFunction() 35 | { 36 | MsgBox SampleFunction here 37 | } 38 | 39 | ; --- TC mappings, will work only if TC window is active 40 | #if WinActive( "ahk_class TTOTAL_CMD" ) 41 | ; your TC mappings/snippets go here 42 | ;F1::Media_Play_Pause 43 | ;F2::Msgbox This is an example of a mapping in user.ahk 44 | #if 45 | ; end of TC mappings 46 | 47 | 48 | 49 | ; --- global mappings, will work everywhere 50 | ;F3::Msgbox This is a global mapping in user.ahk 51 | 52 | /* 53 | ; Win+v = toggle gVim 54 | #v:: 55 | DetectHiddenWindows, on 56 | IfWinNotExist ahk_class Vim 57 | Run, %VimPath%,,max ; you can use variables from the main script 58 | ;Run, c:\Program Files\Vim\Vim82\gvim.exe,,max 59 | Else 60 | IfWinNotActive ahk_class Vim 61 | WinActivate 62 | Else 63 | WinMinimize 64 | Return 65 | */ 66 | 67 | 68 | 69 | 70 | 71 | ; don't put anything below end_of_file line, 72 | ; unless you want to execute that each time ViATc starts or is reloaded 73 | end_of_file: 74 | -------------------------------------------------------------------------------- /viatc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/viatc.ico -------------------------------------------------------------------------------- /viatc.ini: -------------------------------------------------------------------------------- 1 | ; Settings for ViATc - Vim mode at Total Commander. 2 | ; 2021/12/19 version 0.5.5.4 3 | ; You can edit this file, but first make a backup. 4 | ; Any built-in hotkeys can be overriden here. 5 | 6 | [Configuration] 7 | ; Vim=1 ; will enable ViATc mode at start 8 | ; Vim=0 ; all will be disabled till first Esc 9 | Vim=1 10 | Toggle=F 11 | GlobalTogg=1 12 | Suspend=` 13 | GlobalSusp=0 14 | TrayIcon=1 15 | Service=1 16 | Startup=1 17 | ; Max repeat for commands like 5j 18 | MaxCount=999 19 | ; Tooltips for the Combo Keys 20 | ComboTooltips=1 21 | ; If you don't want built-in combo commands then set the below line to 0 22 | EnableBuiltInComboHotkeys=1 23 | ; TC transparency 24 | Transparent=0 25 | ; ViATc help transparency 26 | TranspHelp=0 27 | TranspVar=200 28 | ; see history_of_rename.txt 29 | HistoryOfRename=0 30 | IsCapsLockAsEscape=1 31 | ; F11 will make TC FullScreen 32 | ; F11TC=0 ; disabled 33 | ; F11TC=1 ; same as zf= 34 | ; F11TC=2 ; same as za= 35 | ; F11TC=3 ; same as zp= 36 | F11TC=1 37 | ; jk in IrfanView will be next/prev and... 38 | ; ScrollLock in IrfanView or TC will traverse TC folders with images. 39 | ; the first file must be an image, IrfanView must be configured to exit on Esc 40 | IrfanView=1 ; all Irfanview enabled 41 | ; IrfanViewKey will trigger autoadvance folder in TotalCommander, 42 | ; ScrollLock is always hardcoded to do that, 43 | ; if your keyboard doesn't have it then set another key below 44 | IrfanViewKey= 45 | ;IrfanViewKey=Insert 46 | ;IrfanViewKey=F2 47 | ;IrfanViewKey=End 48 | 49 | 50 | [Paths] 51 | TCPath=C:\Program Files\totalcmd\totalcmd64.exe 52 | ;TCPath=C:\Program Files (x86)\totalcmd\TOTALCMD.EXE 53 | EditorPath=C:\Program Files (x86)\Vim\vim82\gvim.exe 54 | ;EditorPath=C:\Program Files (x86)\Notepad++\notepad++.exe 55 | ; for a new tab in vim use: 56 | EditorArguments= -p --remote-tab-silent 57 | 58 | [FancyVimRename] 59 | ; fancy rename opened via Shift+r 60 | ; InsertMode=1 start fancy rename in Insert mode 61 | ; InsertMode=0 start fancy rename in Visual mode 62 | InsertMode=0 63 | ; UnselectExt=1 start fancy rename with extension unselected 64 | ; UnselectExt=0 start fancy rename with whole filename selected 65 | UnselectExt=1 66 | ; Yank and put using Windows system clipboard, otherwise use an internal register 67 | UseSystemClipboard=1 68 | Enabled=0 69 | 70 | [SearchEngine] 71 | Default=1 72 | 1=https://www.google.com/search?q={%1} 73 | 2=https://duckduckgo.com/html?q={%1} 74 | 3=https://www.youtube.com/results?search_query={%1} 75 | 4=https://www.bing.com/search?q={%1} 76 | 5=https://translate.google.com/?hl=en&op=translate&sl=auto&tl=en&text={%1} 77 | 6=https://www.startpage.com/do/dsearch?query={%1} 78 | 79 | [Other] 80 | ; it seems LnkToDesktop doesn't work 81 | LnkToDesktop=1 82 | 83 | [GlobalHotkey] 84 | |= 85 | ;h= 86 | ;o= 87 | 88 | [Hotkey] 89 | r= 90 | ; fancy rename 91 | r= 92 | ]= 93 | ; this always works: Ctrl + CapsLock = CapsLock 94 | ; l is hard-mapped in TC to calculate space, uncomment below to override 95 | ;l= 96 | ;h= 97 | ,= 98 | .= 99 | == 100 | ;a= 101 | ;b= 102 | ;d= 103 | f= 104 | i= 105 | w= 106 | ;y= 107 | z= 108 | ; Half should move line-cursor to the middle of screen, but it works poorly 109 | m= 110 | x= 111 | `= 112 | ;~= 113 | _= 114 | ; comment out the line below to default to h= 115 | h= 116 | l= 117 | ;y= 118 | ;b=<50Percent> 119 | ;'= 120 | ;m= 121 | ;q= 122 | ;b=<100Percent> 123 | ; to map 'i' to 'Enter' write: i= 124 | ;q= 125 | ;w= 126 | ;y= 127 | ;y= 128 | ;[= 129 | ;]= 130 | ;0= 131 | ;.= 132 | ,= 133 | '= 134 | `= 135 | 136 | ;d= 137 | ;b= 138 | 139 | [SpecialHotkey] 140 | ; --- Special characters in ini files 141 | ; The following four characters: space ; = [ 142 | ; are not allowed as keys in ini files, thus they cannot be directly remapped. 143 | ; Below is a workaround, uncomment any line and change value to your liking 144 | ;Char_space= 145 | ;Char_semicolon= 146 | ;Char_equals= 147 | ;Char_[= 148 | 149 | [ComboKey] 150 | ; [GroupKey] in previous versions 151 | ,y= 152 | ,h= 153 | ,z= 154 | ,i= 155 | ,b= 156 | ,'= 157 | ,k= 158 | ,m= 159 | ,:= 160 | ,h= 161 | ;,s= 162 | ,t= 163 | ,,= 164 | ,c= 165 | ,d= 166 | ,f= 167 | ,j= 168 | ,k= 169 | ,n= 170 | ,p= 171 | ,r= 172 | sa= 173 | se= 174 | ss= 175 | su= 176 | aa= 177 | ;ac= 178 | ;af= 179 | am= 180 | an= 181 | ao= 182 | aq= 183 | ar= 184 | ah= 185 | as= 186 | ca= 187 | ;cl= 188 | cb=(C:\Progs\clipbrd.exe) 189 | cc= 190 | cd= 191 | ce= 192 | cf= 193 | cr=(c:\Windows\regedit.exe) 194 | cs= 195 | ec= 196 | ey= 197 | ep= 198 | ed= 199 | en= 200 | ef= 201 | gc= 202 | gf= 203 | gm= 204 | ;go= 205 | si= 206 | sm= 207 | ;sc= 208 | sz= 209 | 210 | 211 | ;--- for testing below 212 | ;z.= 213 | ;e1= 214 | ;e2= 215 | ;e3= 216 | ;e1= 217 | ;e2= 218 | e0= 219 | e1= 220 | e2= 221 | e3= 222 | e4= 223 | e5= 224 | e6= 225 | e7= 226 | e8= 227 | e9= 228 | ;e9= 229 | ;---- end of testing 230 | 231 | [TemplateList] 232 | ; The name of TemplateList in older versions was [ShellNew] 233 | ; To add a template: 234 | ; 1. Put a TC line-cursor on a file that will be duplicated 235 | ; 2. Press a then n - this will invoke menu 236 | ; 3. From the menu select "Add to new template (X)" 237 | ; The file will be copied into Templates folder in Viatc 238 | ; and added to the list below 239 | ; 240 | ; To use a template: 241 | ; 1. Invoke menu by pressing a then n 242 | ; 2. Chose a template from the list, it will be used to create 243 | ; a new file in the current folder location 244 | ; 3. Rename if needed 245 | 246 | ; (description)\file.ext 247 | 1=(md with info)\README.md 248 | 2=(ini file for settings)\viatc.ini 249 | 3=(html5)\index.html 250 | 4=(ahk)\Template.ahk 251 | 5=(au3 AutoIT)\Template.au3 252 | 6=(odt empty)\document.odt 253 | 7=(odt document with header)\document with header.odt 254 | -------------------------------------------------------------------------------- /viatcdis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magicstep/ViATc-English/ba73e2ee6b49e652252ec1084fcc754b726d6f51/viatcdis.ico --------------------------------------------------------------------------------