Url copy to bbedit

3 views
Skip to first unread message

Wim Jongman

unread,
Dec 27, 2021, 12:48:09 PM12/27/21
to
Hi folks I don't know anything from scripting and
I like it to have a script to copy the URL from Brave browser into BBedit
like as for Safari.
I van't change the application into Brave than it kan not open the document

tell application "Safari"
activate
set myURL to URL of document 1
set myName to name of document 1
end tell
set the clipboard to "<br />Voor meer zie <a href=\"" & myURL & "\" target='_blank'>" & myName & "</a></p>

<p>"
activate me
display dialog "In the clipboard: " & return & return & (the clipboard) buttons "OK" default button "OK" with icon 1
Reply all
Reply to author
Forward
0 new messages