How, please, would one go about placing input focus on the dock without necessarily having to use key codes?
Here is an Emacs keyboard shortcut that works, but I'd like to learn how to do it without key codes, if that is possible.
(global-set-key (kbd "<C-M-s-f3>") (lambda () (interactive)
(do-applescript
"tell application \"System Events\"
set visible of process \"Emacs\" to false
delay .2
key code 99 using control down
end tell")))