AppleScript question - 11/19/22 12:30 PM
For many years, I've been running these two AppleScripts (which I believe were posted by dkmarsh...thanks):
They originally invoked Safari, but since I've now switched to Safari Technology Preview, I've changed them, and they no longer work.
My other AppleScripts still work as expected, and these two still work in Safari.
Is STP immune?
Thanks.
Code
tell application "Safari Technology Preview" activate set {theURL, theTitle} to {URL of document 1, do JavaScript ¬ "document.title" in document 1} set theText to theURL & theTitle set the clipboard to theText end tell
Code
tell application "Safari Technology Preview" activate set {theURL, theTitle} to {URL of document 1, do JavaScript ¬ "document.title" in document 1} set theText to "[url=" & theURL & "]" & theTitle & "[/url]" set the clipboard to theText end tell
They originally invoked Safari, but since I've now switched to Safari Technology Preview, I've changed them, and they no longer work.
My other AppleScripts still work as expected, and these two still work in Safari.
Is STP immune?
Thanks.