Page 1 of 1

Hook App Script for both Groups and Citations

Posted: Wed Jan 06, 2021 1:01 am
by rkaplan
Greetings

See this thread please

https://discourse.hookproductivity.com/ ... ipt/2559/3

Any idea why this script works on its own but not in Hook?

tell application "System Events"
tell process "Bookends"
set the clipboard to ""
delay 0.3
click menu item "Copy As Link" of menu 1 of menu item "Copy Hypertext Link" of menu 1 of menu bar item "Edit" of menu bar 1
delay 0.3
set myURL to the clipboard
end tell
end tell