Right Control absent Topic is solved
Right Control absent
Hello!
My new laptop does not have Right Control. Instead it has a key which has "/" and "?" symbols. I can not use the folder shortcut option because of this problem. Is there a way to make FAR use another key instead of Right Control (my laptop's "/" key, for instance)?
Thank you!
My new laptop does not have Right Control. Instead it has a key which has "/" and "?" symbols. I can not use the folder shortcut option because of this problem. Is there a way to make FAR use another key instead of Right Control (my laptop's "/" key, for instance)?
Thank you!
- HaRT
- Moderator
- Posts: 11189
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 244 times
- Been thanked: 387 times
Right Control absent
Run FAR, press F1 End Enter and read docs on keyboard macros.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Right Control absent
Thank you. I read the help FAR section about keyboard macros but I could not assign the "/" key behavior the Right Control function.
I have tried the following macro, but it does not work:
Macro {
description="";
area="Shell"; key="/";
flags="";
code="Keys(\"RCtrl\")";
}
I have tried the following macro, but it does not work:
Macro {
description="";
area="Shell"; key="/";
flags="";
code="Keys(\"RCtrl\")";
}
-
- Posts: 7001
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 42 times
- Been thanked: 569 times
Right Control absent
Maybe try this:
Place it in a file with extension .lua
place the file into directory
restart Far
use RightAlt + digit.
Code: Select all
Macro {
description="Folder shortcuts";
area="Shell"; key="/RAlt[0-9]/";
action=function()
Keys("RCtrl"..akey(1):match(".$"))
end;
}
place the file into directory
%farprofile%\Macros\scripts
restart Far
use RightAlt + digit.
Last edited by Shmuel on Sat 18 Dec, 2021 17:29, edited 1 time in total.
- HaRT
- Moderator
- Posts: 11189
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 244 times
- Been thanked: 387 times
Right Control absent
Epsteyn, Far macros cannot substitute modifier keys within all shortcuts. You'd need to assign new shortcuts to individual actions you're missing, e.g. like in the above script.
Alternatively, you might wish to remap the slash key systemwide to act as the RCtrl key — IIRC, there is a Microsoft tool to create/modify keyboard layout that can be used for that. Maybe there's a simpler way to remap an individual key, I don't know.
Alternatively, you might wish to remap the slash key systemwide to act as the RCtrl key — IIRC, there is a Microsoft tool to create/modify keyboard layout that can be used for that. Maybe there's a simpler way to remap an individual key, I don't know.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Right Control absent
Thank you both
Shmuel, your script works perfectly and I'm using it!
You are the creator of FastFind Enhancer, aren't you? Best plugin/script I ever used in Far.
Shmuel, your script works perfectly and I'm using it!
You are the creator of FastFind Enhancer, aren't you? Best plugin/script I ever used in Far.
-
- Posts: 7001
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 42 times
- Been thanked: 569 times
Right Control absent
No, I'm not the author of Fast Find Enhanced, I only made some very minor corrections there.Epsteyn wrote: Sun 19 Dec, 2021 13:20 You are the creator of FastFind Enhancer, aren't you? Best plugin/script I ever used in Far.
Right Control absent
Shmuel, my friend. How are you?
I'm using your macro since you created for me. Thanks!
Unfortunately, it does not work with the latest version of FAR. Any ideia how to make the macro work?
Thanks again!
I'm using your macro since you created for me. Thanks!
Unfortunately, it does not work with the latest version of FAR. Any ideia how to make the macro work?
Thanks again!
-
- Posts: 7001
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 42 times
- Been thanked: 569 times
Right Control absent
You mean the macro from viewtopic.php?p=169335#p169335, right?
I've just tried that macro with Far build 6456 and it worked for me. So I don't know how I can help

Right Control absent
The macro I was referring to is:
local FFE_Guid = "3106d308-a685-415c-96e6-84c8ebb361fe"
Macro {
description="FastFind Enhanced starter";
area="Shell"; key="/RCtrl./";
condition=function()
return jit and Plugin.Exist(FFE_Guid) and APanel.Visible and 40
end;
action=function()
Plugin.Call(FFE_Guid, 1, akey(1,1))
end;
}
I solved the problem and now it works but for a strange reason FastFind Enhanced does not starts with "*" simbol and I can not navigate the results with Ctrl + down or up, only with Ctrl + Enter
local FFE_Guid = "3106d308-a685-415c-96e6-84c8ebb361fe"
Macro {
description="FastFind Enhanced starter";
area="Shell"; key="/RCtrl./";
condition=function()
return jit and Plugin.Exist(FFE_Guid) and APanel.Visible and 40
end;
action=function()
Plugin.Call(FFE_Guid, 1, akey(1,1))
end;
}
I solved the problem and now it works but for a strange reason FastFind Enhanced does not starts with "*" simbol and I can not navigate the results with Ctrl + down or up, only with Ctrl + Enter
- John Doe
- Бюрократ
- Posts: 14236
- Joined: Wed 27 Apr, 2005 20:42
- Location: github.com/FarManagerLegacy
- Has thanked: 80 times
- Been thanked: 466 times
- Contact: