Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose the file manager to use #62

Closed
highend opened this issue May 4, 2016 · 9 comments
Closed

Choose the file manager to use #62

highend opened this issue May 4, 2016 · 9 comments

Comments

@highend
Copy link

highend commented May 4, 2016

Is there any chance that this plugin get's an option to define a different file manager, additionally called with command line parameters?

Atm it just uses Windows Explorer when you open a search result and I'd really love to call XYplorer instead. E.g. my definition inside Everything for "Open Path" looks like this:

$exec("D:\Users\Highend\Tools\XYplorer\XYplorer.exe" /script="::if $(exists$('%1'$) == 1$) ${ goto '%1'; $} else ${ goto gpc$('%1', 'path'$); selectitems gpc$('%1', 'file'$); $}; sel '+0'; focus;")

I know, looks complicated :)

By adding the generic options to define a path to a different file manager + the command line options for I could open a path from the Keypirinha interface right inside XYplorer...

@polyvertex
Copy link
Member

polyvertex commented May 4, 2016

Interesting. Your request actually involves more possibilities so it could be applied in a more generic way. I have to dig further before giving a definitive answer.

For example, it would be nice to be able to specify some Python code, or the path to a Python script with some passed arguments. But then it would be nice to extend that feature to the web-browser, the text editor or any third-party application (in)directly specified via the config files.

I'll dig further and come back here with some answer.

@highend
Copy link
Author

highend commented May 4, 2016

Ok, thanks. A very generic way is absolute ok. I just wanted to show an example of how this could be used :)

@polyvertex
Copy link
Member

polyvertex commented May 4, 2016

I'm reopening this and hoping Mr Grumpy will be in a better mood tomorrow (#61)

@polyvertex polyvertex reopened this May 4, 2016
@polyvertex polyvertex changed the title Everything plugin - Start other file manager Choose the file manager to use May 5, 2016
@polyvertex
Copy link
Member

@highend Mr Grumpy, while being Mr Grumpy and in case he cares, might still be interested in reading #95 as it is closely related.

@bege10
Copy link

bege10 commented Apr 19, 2017

I'd love to simply have another entry in [external] section for "file explorer" to define a file explorer for the command "Show in file explorer". In my case it is FreeCommander. (Needs variable for the selected item for use in the command line.) I love this option in Everything (the app, not the KP package).

@polyvertex
Copy link
Member

Yes, a file_explorer setting has been added and will be available in next release. It also allows placeholders to be specified for more complex forms of command line.

@polyvertex
Copy link
Member

Available with v2.15.1

@bege10
Copy link

bege10 commented May 11, 2017

If I use

[external]

file_explorer = "C:\Program Files\FreeCommander XE\FreeCommander.exe"

both the commands "Explore" and "Explore final path" open the final path of a link.
If I comment this line Windows Explorer opens the right paths.

@polyvertex
Copy link
Member

For the record, @bege10 opened a dedicated issue about its last comment. See #194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants