Hi Wim, Not all applications respond to the same set of commands, elements, properties, enumerations, etc.
To view an application's Terminology use Script Editor > File > Open Dictionary... or drop the icon of the application upon the Script Editor icon. Check this link on how to get the frontmost tab’s url and title of various browsers: https://gist.github.com/vitorgalvao/5392178 HTH Jean Jourdain On Monday, October 11, 2021 at 3:23:54 PM UTC+2 [email protected] wrote: > I have a question > > I have a script > > 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 > > But when I wanted it for an other application as Brave Browser it don’t > work. > Why not? Is it only in for Safari? > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/c7771e9e-b656-4566-8d93-0eaf41e9d011n%40googlegroups.com.
