Hook App Script for both Groups and Citations

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
rkaplan
Posts: 3
Joined: Tue Sep 29, 2020 11:58 am

Hook App Script for both Groups and Citations

Post 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
Post Reply