Last active
February 17, 2016 22:57
-
-
Save dardo82/bc4cd1ff944fc3a5447c to your computer and use it in GitHub Desktop.
Fake wrapper for Dock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repeat while true | |
try | |
tell application "System Events" | |
set frontApp to name of first application process whose frontmost is true | |
end tell | |
if (frontApp is equal to "Dummy-Finder") then | |
tell application "/System/Library/CoreServices/Finder.app" to activate | |
end if | |
on error | |
delay 1 | |
end try | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment