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
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
Friday | Macintosh |
Saturday | Internet Tools |
Sunday | Open Topic |
Monday | Media Monday |
Tuesday | QA |
Wednesday | Affinity |
Thursday | BBEdit |
Other Posts
- Slack Emoji Icons for QA
- Effortlessly Access Jira Tickets with a Custom Bookmarklet
- QA Off Cycle Duties
- Applescript for Chrome
- GitHub Tips for QA
- Incognito in Chrome
- QA Graphics
- QA Fail: Boston.com Headline graphic
- Zero Downtime in QA
- BugMagnet
- Google Testing Blog
- Add Search to Chrome
- Dynamic Bookmarklets
- QA Memes by the Democratic Candidates
- Release Engineer Queue Boss