Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Autorun 
Author Message
yahuu



PostPosted: Sat Sep 28, 2024 10:15    Post subject: Reply with quote

autorun.cfg
Code:

LoadLibrary "Plugins\Autorun_Runtime.dll"

RunThread ShowFullPathInTitle

Func ShowFullPathInTitle
   While 1
      srcPath = RequestCopyDataInfo(RequestCopyDataInfo("A") & "P")
      srcName = RequestCopyDataInfo(RequestCopyDataInfo("A") & "N")
      WinSetText(srcPath & srcName)
   Wend
EndFunc


TCx32: When the title displays content as expected, it does not affect other content.

TCx64: The title can also display content as expected, but commands like cm_RenameSingleFile and cm_EditPath cannot be used, and the editing state is lost immediately.

There may be other commands that have similar situations as well.

-Q2------------------------------
My configuration
wincmd.ini:
Code:

[Buttonbar]
Buttonbar=%COMMANDER_PATH%\USER\Bars\%COMPUTERNAME%.BAR
...


autorun.cfg
Code:

IniRead /R bar %COMMANDER_INI% "Buttonbar" "Buttonbar"
msgbox(bar & " " & StrLower(bar) & " " & StrUpper(bar))


StrLower and StrUpper have no effect, only affects extensions.

View user's profile Send private message Send e-mail


Powered by phpBB © 2001, 2005 phpBB Group