Oops! It's my wrong.SanskritFritz wrote:$hwnd = WinGetHandle( "classname=TTOTAL_CMD" )
DllCall( "user32.dll", "int", "PostMessage", "hwnd", $hwnd , "int" , 1075 , "int", 509 )
; cm_UnpackFiles


Then here comes up another problem.
Code: Select all
$hwnd = WinGetHandle( "Total Commander" )
DllCall( "user32.dll", "int", "PostMessage", "hwnd", $hwnd , "int" , 1075 , "int", [b]526[/b] )
; cm_DirectoryHotlist
"Access violation at address 004FA250. Read of address 00000024.
Please report this error to the Author,
with a description of what you were doing when this error occured!
Continue execution?"
Any other TC internal command codes I've tried so far are fine, but "526" cause TC an error. Anyone could reproduce this?