screencapture -i /tmp/share.png && scp /tmp/share.png hyper:/tmp && ssh hyper "osascript -e 'set front_app to (path to frontmost application as Unicode text)' -e 'tell app \"Finder\"' -e 'reveal (POSIX file \"/tmp/share.png\" as alias)' -e 'activate' -e 'tell app \"System Events\" to keystroke \"y\" using {command down, option down}' -e 'delay 8' -e 'tell app \"System Events\" to key code 53 --esc' -e 'close window 1' -e 'end tell' -e 'tell app front_app to activate --return focus' "