mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Focus finder on details open
This commit is contained in:
parent
856322e052
commit
6345be78a7
1 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,10 @@ public class OpenNativeFileDetailsAction implements LeafAction {
|
|||
sc.osascriptCommand(String.format(
|
||||
"""
|
||||
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))
|
||||
.execute();
|
||||
|
|
Loading…
Reference in a new issue