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: Thu Jun 22, 2023 08:58    Post subject: ShowPopupMenu Reply with quote

How should I use the variables when calling ShowPopupMenu in the function?

ControlSetMouseAction /R /K:S 1 ShowMenu
Func ShowMenu()
file = "jpg.bar"
strbar = %COMMANDER_PATH% & "\USER\Typebar\" & %file%
# msgbox(strbar)

#failed
ShowPopupMenu %strbar%

#failed
ShowPopupMenu %COMMANDER_PATH%\USER\Typebar\%file%

#failed
ShowPopupMenu D:\Totalcmd\USER\Typebar\%file%

#successed
ShowPopupMenu %COMMANDER_PATH%\USER\Typebar\jpg.bar
EndFunc
View user's profile Send private message Send e-mail


Powered by phpBB © 2001, 2005 phpBB Group