FRC: Far Remote Control — navigate to folder from an external program, e.g. Everything search
FRC: Far Remote Control — navigate to folder from an external program, e.g. Everything search
This is my original question and how this plugin came to be:
That said, this is now the official thread for the resulting plugin FRC (Far Remote Control), source code is here:
https://github.com/huettenhain/frc
Currently, only 64bit binaries are available on the plugring because I have no 32bit testing environment. Leave a message if you are very interested in (working ) 32bit binaries.
https://plugring.farmanager.com/plugin.php?pid=975&l=en
It's a very simple extension that allows external programs to issue FAR to navigate to a specific folder. I use it to integrate Everything search into FAR.
That said, this is now the official thread for the resulting plugin FRC (Far Remote Control), source code is here:
https://github.com/huettenhain/frc
Currently, only 64bit binaries are available on the plugring because I have no 32bit testing environment. Leave a message if you are very interested in (working ) 32bit binaries.
https://plugring.farmanager.com/plugin.php?pid=975&l=en
It's a very simple extension that allows external programs to issue FAR to navigate to a specific folder. I use it to integrate Everything search into FAR.
Last edited by rattle on Fri 15 Jun, 2018 21:54, edited 3 times in total.
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Is there any way to open a folder in an existing FAR instance from an external program?
There is no such functionality in FAR.
It's possible to implement it by plugin though.
Is there any way to open a folder in an existing FAR instance from an external program?
Thanks for the confirmation. I will wait for a little while if someone has a brilliant idea or already knows a plugin that could provide this. Otherwise, I'll look into coding something that can forward commands to an active far session.
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Is there any way to open a folder in an existing FAR instance from an external program?
SSH server within FAR?
Фар есть инструмент, а не нянька. © 2009 DrKnS
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
Is there any way to open a folder in an existing FAR instance from an external program?
The proper way to do that is to implement a plugin that would start a background thread, listen a pipe / socket / any other IPC stuff there and, when needed, post a message to the main thread via ACTL_SYNCHRO. Far will then pass that message to the plugin's ProcessSynchroEventW function where you can change current directory or do anything else you like.
Is there any way to open a folder in an existing FAR instance from an external program?
Hah, yes sorry for not being precise - that was what I was thinking of. There should in fact be two tools, a "server" plugin and a "client" executable.DrKnS wrote: ↑Thu 03 May, 2018 19:00The proper way to do that is to implement a plugin that would start a background thread, listen a pipe / socket / any other IPC stuff there and, when needed, post a message to the main thread via ACTL_SYNCHRO. Far will then pass that message to the plugin's ProcessSynchroEventW function where you can change current directory or do anything else you like.
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Is there any way to open a folder in an existing FAR instance from an external program?
Фар есть инструмент, а не нянька. © 2009 DrKnS
Is there any way to open a folder in an existing FAR instance from an external program?
I finally found the time to get this done, pretty much exactly what you suggested:DrKnS wrote: ↑Thu 03 May, 2018 19:00 The proper way to do that is to implement a plugin that would start a background thread, listen a pipe / socket / any other IPC stuff there and, when needed, post a message to the main thread via ACTL_SYNCHRO. Far will then pass that message to the plugin's ProcessSynchroEventW function where you can change current directory or do anything else you like.
https://github.com/huettenhain/frc
Works pretty well with Everything.
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
Is there any way to open a folder in an existing FAR instance from an external program?
rattle, looks nice.
FYI: far/plugin.hpp is not intended to be used directly, it's better to use plugins/common/unicode/plugin.hpp.
Also, there's a plugin to search via Everything directly from Far.
FYI: far/plugin.hpp is not intended to be used directly, it's better to use plugins/common/unicode/plugin.hpp.
Also, there's a plugin to search via Everything directly from Far.
Is there any way to open a folder in an existing FAR instance from an external program?
I will replace the plugin.hpp asap, thanks for the hint. Regarding the LiveFileSearch plugin; It's pretty great, but it sadly does not update the run count in Everything and I really want that, this is the whole reason I was looking for an easy alternative.DrKnS wrote: ↑Sat 09 Jun, 2018 23:21 rattle, looks nice.
FYI: far/plugin.hpp is not intended to be used directly, it's better to use plugins/common/unicode/plugin.hpp.
Also, there's a plugin to search via Everything directly from Far.
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Is there any way to open a folder in an existing FAR instance from an external program?
You might wish to announce your plug-in and/or register it at the PlugRing (however buggy it is).
BTW, you might edit the topic starting post so that it is the announcement, and I'd move the topic to that sub-forum.
Last edited by HaRT on Sun 10 Jun, 2018 00:27, edited 1 time in total.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Far Remote Control plugin (navigate to folder in FAR from an external program, such as Everything search)
Ok, I need help. How do I upload stuff to the plugring? I simply cannot find a way to do thatHaRT wrote: ↑Sun 10 Jun, 2018 00:25 You might wish to announce your plug-in and/or register it at the PlugRing (however buggy it is).
Done.
FRC: Far Remote Control — navigate to folder from an external program, e.g. Everything search
A solution to a very similar problem (if I've understood it correctly) was also devised here: viewtopic.php?p=127345#p127345
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
FRC: Far Remote Control — navigate to folder from an external program, e.g. Everything search
You can try now (just added you as author at plugring)