The script counts the number of possible Snippets to expand, generates a random number, and expands the Snippet corresponding to that number. The no.random Snippet uses JavaScript to call another Snippet- entriesForRandom, which is a list of other Snippets that are possible choices for the randomizer. The TextExpander environment includes a global TextExpander variable with the following properties: appendOutput() This function allows the script to build up the text to be expanded, otherwise the expansion will default to the value of the last statement executed in the script (see also TextExpander. To create a Snippet that expands into random responses, we turn to TextExpander’s often-overlooked JavaScript functionality, which lets you perform advanced operations like this. Let’s explain how we did it, and then we’ll show you how to customize it for your own purposes, even if you don’t know how to code. These might be a little silly, but having a Snippet that can produce semi-random replies can be helpful for many fields, like customer service and sales, where you have to send out the same messages over and over again but want to add a bit of variation so you and your team don’t sound like robots. It would never be fair to ask a doctor for one of his corpses to remember him by.” You might make your request of a doctor, or a builder, or a sculptor, and there would be no impropriety in it, but if you asked either of those for a specimen of his trade, his handiwork, he would be justified in rising to a point of order. Writing is my trade, and I exercise it only when I am obliged to. There is no way but to decline in all cases, making no exceptions, and I wish to call your attention to a thing which has probably not occurred to you, and that is this: that no man takes pleasure in exercising his trade as a pastime. Three hundred requests a year! One’s impulse is to freely consent, but one’s time and necessary occupations will not permit it. What you ask me to do, I am asked to do as often as one-half dozen times a week. I must explain myself, however, and I will do it as kindly as I can. It will expand: Hello Bob, It was a pleasure meeting you Thank you for coming. “I hope I shall not offend you I shall certainly say nothing with the intention to offend you. Copy something to the clipboard using the copy command, Command + C (Mac) or Control + C (Windows). “I greatly regret that I cannot do what you so kindly suggest.”Īnd then finally, we have this lengthy polite decline from Mark Twain:.“I am about to begin a work of great importance and therefore beg that in reference to calls and correspondence you will consider me dead for the next two months.”. Problem here is that all the text expander tools I’ve used can’t seem to render the todo checkbox in Remnote. Problem here is that Remnote doesn’t have a “shift+drag” command to copy and paste like in Roam… So you basically have to copy+paste which aint bad… What’s bad is that in order to copy everything in, you need to have all the bullets fully expanded… and even then, this would only work with non-portal bulletsĪnother way to do this is to use a text expander like tool to insert a short code that would expand into the entire template. Using Roam as a comparison, one way to do this is to copy over the metadata template from a template repository onto Today’s daily doc ( and pasting over template onto daily doc). I want to be able to re-use this structure as a template in a way that actually works without lots of workarounds This not only includes daily ceremonies but portals to other areas and embedded queues (see examples below). Not sure how to phrase this request but in my workflow, I use the daily document feature to house pretty much the main things I intend to carry out for the day.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |