manage-hidden-files icon indicating copy to clipboard operation
manage-hidden-files copied to clipboard

Finder windows jump to the back after changing state

Open ahti opened this issue 12 years ago • 2 comments

changing the visibility causes finder windows to loose focus after being restarted. i may look into this tomorrow.

ahti avatar Jun 29 '13 11:06 ahti

I've no idea how to fix this problem, because it's a system behavior ("killall Finder" command).

andreabusi avatar Jun 29 '13 11:06 andreabusi

one thing i have found is that you can check wether an application is currently frontmost via applescript (or via python applescript bridge, because applescript is horrible). so the workflow could check wether finder was the frontmost app before being killed, and then bring it to the foreground after it launched again if it was.

ahti avatar Jun 29 '13 23:06 ahti