1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 00:58:37 +00:00

Update Finder.scpt

Bring to front existing window, or create new one
This commit is contained in:
Giovanni Tataranni 2019-10-06 10:52:21 +02:00 committed by GitHub
parent f3015df82a
commit 59cde098f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
tell application "Finder"
make new Finder window
set target of front window to path to home folder as string
if not (exists window 1) then
make new Finder window
set target of front window to path to home folder as string
end if
activate
end tell