12/21/2023 0 Comments Keyboard maestro tipsPastes browser information, such as, the page title and URL of Chrome and Safari, and put them in a markdown syntax. Get rid of feeling, use KM.Ĭoncatenates past clipboards and customises the format if you like. Little Snitch is a tool to cut the network communication between Mac app and the servers, and I use just one key to click on its endless popup windows that asks for permission.Command-C is a tool that will be shadowed by Yosemite, though I used just one key to copy and send.Tweetbot doesn’t have a back shortcut, so I make one, Escape key.Another one is to log in the account in some buggy website (Sina Weibo) or desktop apps (iTunes) (see here). One more thing, previously I made a macro about 1Password to generate a new password, fill the website login URL in the new password item in 1Password, and fill the email or username in that website OR send to your other Apple devices (iPhone, iPad, or Mac) in another post.You also saving developers’ time, as well :) Sometimes, it seems to be an idea difference, so get it done with KM very quick instead of seeing the reply of developers. So in KM, I set when I press ⌘W, please press ⌘H instead.Come on, developers, where is your consideration? So next time I open 1Password I have to wait for it finish loading. Another thing is, ⌘W will quit 1Password. So, the story is, ⌘9 to open Wi-Fi sync window is broken on my Mac then I have KM to fix it. In a word, lack of shortcuts, lack of user documentation and lack of sincerity (诚意) given differnce in price and reality.same for Tweetbot, another highly priced, bloated, popularised app that lacks menu items.Same for Evernote, another business-promoted, bloated, popularised app that lacks essential keyboard shortcuts, even menu items(! God…).How come such important move is without a keyboard shortcut?! I think every 1Password user has it in iPhone as well as Mac, right? And mobile sync, if you are paranoia you must use Wi-Fi sync, is a prime daily use of 1Password.I don’t want to use my time to report bugs, send ‘feature request’ emails and wait. This part is about the type of KM macros, KM taxonomy, Mac action taxonomy, or simply what’s KM for. It’s a trick: save the clipboard conetent as a KM variable after 2 seconds, set this variable empty. But through modularisation, KM workflows is responsive and won’t look bad. I like Alfred’s visualisation of workflow (but not good for setting app launch shortcuts, slow to set up and hard to modify).As a result, I save the shell script action as a macro and detail input/output KM variables in its macro. I normally collapse the actions (see the screenshot below), so I will not happy if there is no title for execute shell script action and I don’t want another comment action which will bloat the look. ![]() By the way, the comment title is searchable and the content is not. I try to implement timestamp on KM however, it can be easily forgotten. If you accidently trigger a pallette, you don’t need to worry, because macros haven’t been triggered. You can have a very short glance to check the name of macro and rehearse the shortcuts and thank God, I don’t need to type like a robot that has a shortcuts cheatsheet coded inside it. Some more words about systematisation of KM macros to increase efficiency or good (善).įor now, I think the best trigger is the pallette that consists of hot strings. ( echo "with open('$KMVAR_file','r') as f: lst = sorted(f)" echo "with open('$KMVAR_file','w') as f: f.writelines(lst)" ) | python The third command to alphabetise a list of lines in $KMVAR_file (here it’s /Users/henry/Library/Spelling/LocalDictionary) I tried to write using with open(PATHTOFILE, MODE) as VAR: but it doesn’t play well with for loop chunk… Sort alphabetically Because \n is recognised as a line break in echo so I have to wrap it with ''' to make the string to write continued. After getting know if the last line is empty, I loop the line to write in the file with line break. ![]() 2 in seek(-1,2) means from the bottom of the file. Before that seek will move the cursor of find to a location I want. So I use read to tell if the last character is \n. linelist will return second last line\n instead of \n. However puting lines as a list for example linelist, and the last two lines of file is second last line\n. Next I need to make sure I append the first item of list in a blank line. I think I can do this because of I use echo here, anyway I’m not interested to figure it out. ![]() ![]() You can notice that I put $KMVAR_ in the python code rather use it as an argument or parameter passed to python command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |