recentpopularlog in

macros

« earlier   
Get URL of tab on different window - Questions & Suggestions - Keyboard Maestro Discourse
This thread has a bunch of ready-made Keyboard Maestro macros for grabbing the URL of the frontmost Safari window (or even the frontmost Chrome window).

And it’s also pretty straightforward to modify them to grab the URL from the nonfrontmost Safari window if need be:
Application("Safari").documents[1].url();
keyboardmaestro  2017  safari  chrome  urls  macros 
16 days ago by handcoding
Search titles of Safari or Chrome tabs in multiple windows and bring match to front - Questions & Suggestions - Keyboard Maestro Discourse
(This post actually has some decent answers to this—including variants that work across Safari and Chrome—)
“I’m looking for something that would allow me to type a hotkey and then some text, and bring the matching Safari tab to the front. Ideally it would show the titles of the matching tabs as I typed underneath the query (ala Alfred) and allow me to ‘cursor’ to the one I want to bring to front, but just being able to search for a ‘keyword’ and bring the matching window/tab to the front would still be great timesaver.”
keyboardmaestro  macros  safari  tabs  search  chrome  2019 
16 days ago by handcoding
Vim Macros and You
How to macro edit multiple files easily.
editors  vim  macros 
18 days ago by richtbreak
How to Edit an Existing Vim Macro
### Yanking into a register
"qp paste the contents of the register to the current cursor position
I enter insert mode at the begging of the pasted line
^ add the missing motion to return to the front of the line
<Escape> return to visual mode
"qyy yank this new modified macro back into the q register
dd delete the pasted register from the file your editing

### Editing the register visually
:let @q=' open the q register
<Cntl-r><Cntl-r>q paste the contents of the q register into the buffer
^ add the missing motion to return to the front of the line
' add a closing quote
<Enter> finish editing the macro
editors  vim  macros 
18 days ago by richtbreak

Copy this bookmark:





to read