Skip to content

Highlight selected file in file browser#156

Merged
Borewit merged 1 commit into
mainfrom
open-file-location
Apr 4, 2023
Merged

Highlight selected file in file browser#156
Borewit merged 1 commit into
mainfrom
open-file-location

Conversation

@Borewit

@Borewit Borewit commented Apr 3, 2023

Copy link
Copy Markdown
Owner

When opening a track or playlists, also select the selected file in Explorer.

As Desktop.Action.BROWSE_FILE_DIR action, which seems the closest operation to achieve that, is both not supported in Windows and Java at this moment, I wrote a fallback like:

 Runtime.getRuntime().exec(String.format("explorer.exe /select,\"%s\"", path));

Also removes a very hacky way to open playlists (by first generating a .bat file)

Resolves #116

@Borewit Borewit self-assigned this Apr 3, 2023
@Borewit

Borewit commented Apr 3, 2023

Copy link
Copy Markdown
Owner Author

Build listFix_2.7.0-PR156-1.exe

@Borewit

Borewit commented Apr 4, 2023

Copy link
Copy Markdown
Owner Author

Does this PR (Build) solve #116 @touwys?

@touwys

touwys commented Apr 4, 2023

Copy link
Copy Markdown

Build listFix_2.7.0-PR156-1.exe

Does this PR (Build) solve #116 @touwys?

Yes, it did so very nicely, thank you.

@Borewit
Borewit merged commit 4cd4e97 into main Apr 4, 2023
@Borewit
Borewit deleted the open-file-location branch April 4, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select and highlight the matched file at its location

2 participants