WSH Helper for Total Commander  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(c) 2005, Volniy

    - (beta9) 
      TC  6.52
      ,
      :-)

  
~~~~~~~~~~~~~~~~~~~~

  Total  Commander-       ,
  COM-.     
   WSH   ,     TC

  
~~~~~~~~~~~~~~~~~~~~

     :
       TCWSHelp.exe.
     
 TCWSHelp.exe /REGSERVER

!
      -  !

   :
  TCWSHelp.exe    
 TCWSHelp.exe  /UNREGSERVER
     


 
~~~~~~~~~~~~~~~~


          Helper-   
      TC,      
                      
 !     
     (SetTextToClip, GetTextFromClip,
ClearClip,  SetFileDateAtr,  FormatAny,  DbgPrint   
   INI-)



:
---------

IsRunningTC  ,  TC    

Pause  ( )    
        (     
).  -  -  70. (      Sleep, 
      )

Wait    ,    ,      
          PostMessage (
,  Wait=False)    SendMessage (  
True).            
 TC        
   .  , ,  
  TC  Wait=True,      
,            
     .    Wait=False    __
          
 , ,    . 
             Wait=True
        ""  ,
 TC (   :).

 
TCPath            .    
%commander_path%,      -  , 
  

MainINI      (      Windows,   
)    TC

FtpINI     (    Windows,    )
   FTP  TC

=======

=======
LockTC  [True|False] -     TC 
     .          
             (
,               ). 
,      .
  
SendKeystroke()      (  
  )     TC.   
VBA    SendKeys  (,      ,  
  TC    ).

SendCommand   (            [,Wait])
         TC.      
          INC  (  
      Helper-). C 
    Wait      
 (     !).

LoadIncFile(FilePathName)   ()   INC
        
    .                
         
        .

GetFilter(PanelPath)        (    
   ),      ,    
PanelPath

SetTextToClip(Text)  Text    Windows

GetTextFromClip      Windows

ClearClip          Windows, 
  

SetFileDateAtr(File,[Created,[LastAccessed,[LastModified,[Atributes]]]])
,         .
    -       TC. 
,    ,  .     
           File. 
        
,   

DbgPrint  "  " -     
.        (    )
DebugView http://www.sysinternals.com/.
!    :
"[dbgoff]"  -       
"[dbgon]"   -               (  
     ),  
"[dbgclear]" -      DebugView-.
     .


FormatAny  -          Format   VB.
  -   ,  
  Formatxxx  VBS. (  ...)

About   -            Helper-  
   (Volniy)

-------------------------------
    INI-
-------------------------------

=-
INIRead(FileName,  [Section],  [Key],  [Default])  - (!)
       INI. :

   FileName  ()  -    ,     ,
         Windows

   Section  -       .    ,
           

   Key  -   ,    . 
       ,       
       

   Default  -            ,
     ,      (  )

=-
INIWrite(FileName,  Section,  Key,  Value) -    
  INI-. :

   FileName  ()  -    ,     ,
        Windows.  
     ,           

   Section () -   a .

   Key()  -    ,   
     .

   Value() -    .

=-
INIDelete(FileName,   Section,  [Key])  -      
  INI- . :

 
   FileName  () -  INI ,    ,
        Windows.

   Section () -    INI .

   Key  -    ,      .    
     ,     (!!!)   
    


-------------------------------
 (  )
-------------------------------
   
   !              ,
                  
      (     )

GetSrcSelectedFiles  [True,       ]
      -.

GetTrgSelectedFiles  [True,       ] 
   ,    .

GetSrcPath -    -

GetTrgPath -     


======== 

  .

WBR, Volniy

