CtrlPlus.sikuli\AtomIsOpen.sikuli

(Download this script)
type(Key.END)
type(Key.ENTER)
sleep(0.5)
exit(0)