Button
Command-line output of TC Variables:Command: %TCDATA%\GUI\TCMenu.exe
Parameters: %%TCDATA%%\GUI\ToolBars\†\EDIT.BAR
Button selected from from the "EDIT.BAR":F:\Program Files\TotalCMD>set tc
TC=F:\Program Files\TotalCMD
TCDATA=F:\Users\FOO\Application Data\_TC_
TCMC=F:\wuBIN\TCTools\TCMC.exe 50
TCmd=F:\Program Files\TotalCMD\TotalCMD.exe
TCTOOL=F:\wuBIN\TCTools
Command-line output of AHK variables:button1=%TCDATA%\GUI\icons\Editors.icl,6
cmd1=%AHK%\TC_QuoteSelectedArgs.ahk "MultiFileOpen2.cmd " "%AppEditText%\NotePad2\notepad2.exe"
TC_QuoteSelectedArgs.ahkF:\Program Files\TotalCMD>set ahk
AHK="F:\Program Files\AutoHotKey\AutoHotkey.exe" "F:\Program Files\AutoHotKey\Scripts"
AHKDir=F:\Program Files\AutoHotKey
AHKICO=F:\Program Files\AutoHotKey\AutoHotkey_AHK1.icl
Code: Select all
#SingleInstance, Force
#NoEnv
SetBatchLInes, -1
ControlGetFocus, activeControl, A
if( (TC_GetCursorPosition( activeControl )) == 1 )
fileList := ""
else
{
ClipBoardBAK := ""
WinWaitActive, ahk_class TTOTAL_CMD
if( ClipBoard )
{
ClipBoardBAK := ClipBoard
ClipBoard := ""
}
PostMessage, 0x433, 2017 ; cm_CopyFileNamesToClip
ClipWait
StringReplace, fileList, ClipBoard, `r`n, `"%A_Space%`", All
fileList = "%fileList%"
ClipBoard := ""
if( ClipBoardBAK )
{
ClipBoard := ClipBoardBAK
ClipWait
}
;MsgBox, 1: %1% :: 2: %2% :: fileList: %fileList%
}
Run, %comspec% /s /c ""%1%" "%2%" %fileList%",, Min
return
MultiFileOpen2.cmd, Launched above:
Code: Select all
CLS
SET xProgram="%~1"
IF "%~2"=="" CALL:_OPEN_FROM_FOLDER "%CD%"&GOTO:END
:_MAIN_OLOOP
SHIFT
SET isDir=-%~a1-
SET isDir=%isDir:~1,1%
IF -%isDir%-==-d- CALL:_OPEN_FROM_FOLDER "%~1"&GOTO:_NEXT
START "" %xProgram% "%~1"
:_NEXT
IF "%~2" NEQ "" GOTO:_MAIN_OLOOP
GOTO:END
:_OPEN_FROM_FOLDER
PUSHD "%~1"
SET "EditorDefaultDIR=%CD%"
START "" %xProgram%
POPD
GOTO:EOF
:END
SET xProgram=
SET isDir=
Code: Select all
---------------------------
Total Commander 7.55a
---------------------------
Access violation at address 014DB493. Write of address 00000000.
Access violation at address 014DB493. Write of address 00000000
Windows 2000 SP4 5.0 (Build 2195)
Please report this error to the Author, with a description
of what you were doing when this error occurred!
Windows exception: C0000005
Stack trace:
014DB493
445874 4431E1 4447B5 445132 >414560 4446F3
414560 4431E1 445132 414560 4446F3 414560
419B7E 419CC4 6C0F31
Raw:
4454AB 444661 414560 4454AB 445640 445543
445874 434C9B 4431E1 445401 434A3D 4447B5
445132 414560 4446F3 414560 5564A2 402E36
4431E1 445401 41623C 4447B5 445132 414560
4446F3 414560 419B7E 419CC4 419E7E 6C0F31
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------