Drag and drop on buttons with em_ and cm_ commands

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Drag and drop on buttons with em_ and cm_ commands

Post by *LonerD »

Suggestion.
Drag and drop files\folders on buttonbar buttons with em_ and cm_ commands.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

It is supported for some cm_ commands, e.g. cm_List, cm_Delete and button with direct path.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

It is supported for some cm_ commands
But now it not supported by most cm_ commands, for example cm_Copy...
And not supported by em_ .
I'm more comfortable to set one em_ command, for example:
[em_tcdl_AkelPad]
cmd=%commander_path%\Plugins\exe\AkelPad\AkelPad.exe
And then write this command in different places (ButtonBar, MainMenu etc).
If I change path to file, I be able to change only my em_tcdl_AkelPad, and no need to edit button on ButtonBar.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

LonerD, you can use Autorun.wdx and set envvar with path to akelpad, and use envvar instead of direct path.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

MVV
It's solution :)
But too many envvars if many programs.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
petermad
Power Member
Power Member
Posts: 16104
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Drag and drop files\folders on buttonbar buttons with em_ and cm_ commands.
Support ++
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Re: Drag and drop on buttons with em_ and cm_ commands

Post by *LonerD »

Still actually.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Re: Drag and drop on buttons with em_ and cm_ commands

Post by *LonerD »

Bump for v.11.00
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Fla$her
Power Member
Power Member
Posts: 3015
Joined: 2020-01-18, 04:03 UTC

Re:

Post by *Fla$her »

LonerD wrote: 2012-05-14, 11:22 UTCAnd not supported by em_ .
At least because the parameters are not supported.
Overquoting is evil! 👎
Post Reply