You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tellapplication"Safari"-- Count the number of WindowssetnumWindowstonumberof windows
repeatwithwfrom1to numWindows
--Count the number of TabssetnumTabstonumberof tabs in window w
repeatwithtfrom1to numTabs
-- Set the Tab Name and URL valuessettabNametonameoftab t of window w
settabURLtoURLoftab t of window w
-- Create the Tab link and write the codesetoutputto output &" <a href=\""& tabURL &"\">"& tabName &"</a>"&linefeedasstringend repeatend repeatend tell-- Close out the HTML documentsetoutputto output &"</body>"&"</html>"-- Write the entire HTML document to TextEdittellapplication"TextEdit"activatemake new documentsetthetextofthefrontdocumentto output
end tell
To work with Chrome.
The text was updated successfully, but these errors were encountered:
It would be kind of cool to be able to run a command that would grab all open tabs and urls and convert them to:
I could modify this applescript: Getting a text file with the url of open tabs:
To work with Chrome.
The text was updated successfully, but these errors were encountered: