Applescript for Chrome
Useful AppleScript to Copy the Page URL and Title
The following is a quick AppleScript that I created to add the URL of the current page to the clipboard. This has the advantage of creating a simple, easy-to-read URL in markdown format, which I can then copy and paste into Slack or an email.
If you would like to copy/paste the raw code, here it is.
tell application "Google Chrome"
set broswerurl to get URL of active tab of first window
set browsertitle to get title of active tab of first window
set the clipboard to "[" & browsertitle & "](" & broswerurl & ")"
end tell
Comments
Add Your Comments
About
Weekly Tips and tricks for Quality Assurance engineers and managers. All reviews are unbiased and are based on personal use. No money or services were exchanged for the reviews posted.
Schedule
Tuesday 22 | QA |
Wednesday 23 | Pytest |
Thursday 24 | PlayWright |
Friday 25 | Macintosh |
Saturday 26 | Internet Tools |
Sunday 27 | Misc |
Monday 28 | Media |
Other Posts
- Managing Testing around furloughs and layoffs
- Lessons from the Scooby-Doo Mystery Machine
- Making Evidence Base Decisions
- Jira Short cuts for QA
- Computer Change Up
- QA Graphic Collection
- CodeCopy
- Excellent MEME Images
- QA Info Bar Bookmarklet
- QA Fail: Natick Mall Exit Sign
- ZSH for QA
- Release Canaries
- Finding the Invisible Bug
- Cobra Effect
- Intemperance's Eighty Dictum