How to: put "Shift+F4"-command in button bar?
Moderators: Hacker, petermad, Stefan2, white
How to: put "Shift+F4"-command in button bar?
How to make a button for commands like shift+del or shift+f4, etc.?
I've searched the wiki and forum but cannot find anything useful -_-; The nearest topic is here, which I don't quite understand
PS: Does TC internal commands support parameters?
Thanks in advance
I've searched the wiki and forum but cannot find anything useful -_-; The nearest topic is here, which I don't quite understand
PS: Does TC internal commands support parameters?
Thanks in advance
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
You cannot unfortunately, because TC senses the shift when the command is executed. You could use a simple AutoHotkey script and bind it to a button:How to make a button for commands like shift+del or shift+f4, etc.?
Code: Select all
Send +F4
I switched to Linux, bye and thanks for all the fish!
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Autokey script for Shift+F4
Hi SanskritFritz,
Can you please help me in creating the said script? I created: ::Edit/::shif+f4 in autokey and then inserted this in send Edit/ in the command line of "Change single button" panel. Obviously this is not correct as it does not work.
Many thanks.
Can you please help me in creating the said script? I created: ::Edit/::shif+f4 in autokey and then inserted this in send Edit/ in the command line of "Change single button" panel. Obviously this is not correct as it does not work.
Many thanks.
Save this as your script.ahk file:
Now right click on the TC button bar and 'change' to add a button, in the command field put "full-path-to-your\script.ahk" - assign an icon and you're done.
If you click the button the autohotkey script will run and send the shift+f4 combination.
Hope it helps.
Code: Select all
Send +{F4}
If you click the button the autohotkey script will run and send the shift+f4 combination.
Hope it helps.
Yes indeed it works like charm! Many thankshi5 wrote:Save this as your script.ahk file:Now right click on the TC button bar and 'change' to add a button, in the command field put "full-path-to-your\script.ahk" - assign an icon and you're done.Code: Select all
Send +{F4}
If you click the button the autohotkey script will run and send the shift+f4 combination.
Hope it helps.
Hi, Hacker, Stefan2.
Yes, yes, yes, I see the difference between the T.C. forum and some other IT related forum which I visit regularly.
Total Commander is a product that is vastly downwards compatible even after more than 20 years. So even 10 year old advice may still apply.
The same is rarely true e.g. in Linux environments. Therefore reviving threads that have been dead for a long time is frowned upon in such environments.
But I see the difference.
Cheers,
Karl
Yes, yes, yes, I see the difference between the T.C. forum and some other IT related forum which I visit regularly.
Total Commander is a product that is vastly downwards compatible even after more than 20 years. So even 10 year old advice may still apply.
The same is rarely true e.g. in Linux environments. Therefore reviving threads that have been dead for a long time is frowned upon in such environments.
But I see the difference.
Cheers,
Karl