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
Saturday | Internet Tools |
Sunday | Open Topic |
Monday | Media Monday |
Tuesday | QA |
Wednesday | Keyboard Maestro |
Thursday | Gluten Free |
Friday | Macintosh |
Other Posts
- Letter to the QA Manager
- Why You Shouldn't Use Excel as a Test Case Repository
- Bringing Fun to the Forefront of Quality
- Validating CSS Selectors in Chrome Console
- Bashrc Configurations for QA
- QA Memtober #3
- Diderot Effect
- Add Search to Chrome
- QA Fail: Boston.com Headline graphic
- Intemperance's Eighty Dictum
- QA Fail: Product Listing on Amazon
- Bad Test Case vs Good Test Case
- Overspecialize Wiggliest Principium
- Last Clear Chance Doctrine
- Browser Cookie Size