11/7/2022 0 Comments Nvalt searching![]() If all of the following conditions are metĭate Last Modified is not in the last 5 minutes Date Last Modified is after Date Last Matched Contents contain "#"Do the following to the matched file or folder: So I have a Hazel rule that applies to my Notes folder that acts on any file with XBOB in the name: That way I can see the most recent stuff first. ![]() The Dropbox folder contains the "master" file, I want the note I just wrote to be added to the top of the master file, along with a date stamp. In Drafts, I created an Action that saves notes to the same folder, using the first line as the filename. nvALT automatically saves these notes to Dropbox. The snippet includes a carriage return, so once I type "XBOB" I'm ready to type my note, knowing that the first line of the note is unique filename and contains the appropriate tag. I didn't want to waste time coming up with something new each time, so I created a TextExpander snippet for each "tag." Whenever I type "XBOB" it prepends the date and time, so I get something like this: 20140326131043_XBOB. ![]() Because nvALT will open an existing file if it has the same first line as whatever you've typed in the search box, I needed to come up with a unique first line for each note. For example, all my notes relating to client "Bob" will have a filename that contains "XBOB" (hat tip to Merlin Mann). This is basically a tagging system using the filename (which is generated from the first line of the note). In that same folder, I have my "master" text files (all of which have filenames beginning with Second, I use a consistent naming convention for notes that correspond to a particular client, list, etc. So, here's what I did: PREPENDING NOTES TO MASTER FILE First, I have nvALT save all notes to a Dropbox folder as separate text files. I didn't want to have to pull up the master file each time I had something to jot down, and that's not really possible to do in Drafts anyway. Typically, I put these thoughts into either Drafts or nvALT. I also keep some other files that get updated regularly, like lists of books/apps/movies I want to check out, etc. I keep a "master" text file for each of my clients, in which I try to keep all my meeting and telephone conversation notes, thoughts, tasks, reminders, etc. I'm using ten rules to accomplish this and think there must be a more elegant solution. ![]() A third set of rules renames the file using its first ten words. Another rule uses grep and AppleScript to find tasks (which always start with # or ++) in those notes and send them to Omnifocus as either inbox tasks or "waiting for" tasks. I have a Hazel rule that matches patterns in the filenames of notes I've created and runs an embedded shell script to prepend the text to the appropriate "master" text file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |