mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +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(
|
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();
|
||||||
|
|
Loading…
Reference in a new issue