Focus finder on details open

This commit is contained in:
crschnick 2024-05-16 16:10:02 +00:00
parent 856322e052
commit 6345be78a7

View file

@ -56,7 +56,10 @@ public class OpenNativeFileDetailsAction implements LeafAction {
sc.osascriptCommand(String.format( sc.osascriptCommand(String.format(
""" """
set fileEntry to (POSIX file "%s") as text set fileEntry to (POSIX file "%s") as text
tell application "Finder" to open information window of alias fileEntry tell application "Finder"
activate
open information window of alias fileEntry
end tell
""", """,
localFile)) localFile))
.execute(); .execute();