Search the Community
Showing results for tags 'plain-text'.
Found 3 results
Notes with New Text File with Tag 4.0 Overview Easily create new tagged plain text files. Synchronize your notes by selecting a Dropbox folder as your working folder. View your notes, including tags, with an application such as nvALT. Setup You can configure the workflow anytime by typing the keyword setup-nft though you will be prompted to do it if it is the first time you run the workflow. There are 6 steps. 1. Select the Working Folder Type the name of the folder that you want to save your text files. You can select a Dropbox folder to synchronize your files. 2. Set the Preferred Extension In order to make things faster, the workflow adds the file extension automatically. Here you can set your preferred text file extension. The default is .txt. 3. Set the Journal Name Journal is a single file to easily add text with current date (default name is Journal). 4. Set the Date Format This setting will be used in every Journal entry, Prepend text to a file or Append text to a file. Select a format or use the following variables to build a custom one: $m (month as number) $mm (month) $d (day) $w (weekday) $y (year) $h (hour) $n (minute) $s (second) $f (full date and time) 5. Set the Filename Timestamp Configure a custom date format, such as $y$m$d$h$n$s, that can be easily added to a filename by using the variable $t e.g. nf #my file $t You can build a custom one in this setup step by using the following variables: $m (month as number) $mm (month) $d (day) $w (weekday) $y (year) $h (hour) $n (minute) $s (second) 6. Markdown URL ON or OFF If the topmost application is Safari, Google Chrome, Firefox or OSX Mail the workflow will append the URL to the new file; to get it in a markdown style select ON. How to use the workflow Select a text in e.g. Safari Bring Alfred and type the keyword nf Click New File from Text Selection Done! A new note will be created in the working folder, named based on the selected text, tagged with Safari (the topmost application) and with the URL appended to it. See advanced features below. Triggering Keyword nf? - shows some syntax tips along with access to the Help file (see screenshot below) Keyword setup-nft - workflow preferences Keyword nf - add content (see details below) keyword ns - search content (see details below) Hotkeys - that are 4: create a new note from text selection, create a new note from the clipboard content, add selected text to the journal and bring the search feature Fallback search - you can add this workflow to your Alfred fallback search preferences Add content: keyword nf Keyword nf overview Note: the New File from Mail Selected Messages item is displayed only if the topmost application is the Mail application. Here you can find four ways to easily create a new text file: New File from the Clipboard New File from Text Selection New Blank File New Note New File from Mail Selected Messages Note: New File from Mail Selected Messages (item 5) will be displayed only if the topmost application is the Mail application. In resume, the workflow can create a new text file with content from the clipboard (item 1), from the text selected in another application (item 2), from Messages selected in Mail (item 5) or typed directly in Alfred window (item 4). In addition, you can also create a New Blank File (item 3) that will be opened in the default text editor so you can enter the content right away. Although it is not required to type any additional text (items 1, 2, 3 and 5), this module works with the following pattern: tags#filename It means that you can enter tags (separated by comma) right after the keyword nf then type a hash sign then type the filename (in New Note the filename and the note itself are the same). For example: nf tag1,tag2#filename Advanced features Most advanced features are shared by all items displayed by the keyword nf: type tags in Alfred window separated by comma e.g. nf tag1,tag2 remove the default tag (topmost application name) by adding a minus sign at the end of the tags e.g. nf tag1,tag2- or nf - add a custom filename by typing a hash sign after the tags e.g. nf tag1,tag2#filename or #filename add a custom filename and extension e.g. nf tag1,tag2#filename.md add the filename timestamp configured in the workflow setup by using the variable $t e.g. nf tag1,tag2#filename $t add a custom timestamp to the filename using the following variables: $m (month as number), $mm (month), $d (day), $w (weekday), $y (year), $h (hour), $n (minute), $s (second) tell the workflow to not append the URL by adding “at sign” at the end e.g. nf tag1,tag2#filename.md@ or nf tag1,tag2@ or nf @ tell the workflow to not add the date in Prepend or Append text features by adding -d at the end e.g. nf #my note-d or #my note@-d hold command key to create the new file in the topmost Finder window instead of the working folder hold control key to prepend text to any file instead of create a new one: a list with your files will be loaded in Alfred so you can easily select it hold option key to append text to any file instead of create a new one: a list with your files will be loaded in Alfred so you can easily select it hold shift key to add text to your journal Mail app special feature There are two ways to take advantage of the special workflow Mail feature: by selecting a text in an email, bring Alfred, type the keyword nf then select New File from Text Selection. Use this approach if you need only some text of the email. by selecting messages in Mail, bring Alfred, type the keyword nf then select New File from Mail Selected Messages. This is the easiest way to add the entire email content. Along with the text content, the workflow will prepend a short header with the most important information about the email and it will append the message link or URL (clicking it will open the original message in Mail). Journal The Journal feature is a single file to add new text with a timestamp (current date). You can set a custom date format in the workflow setup (keyword setup-nft). To add a new Journal text: Bring Alfred and type the keyword nf Select the text content (from Clipboard, from Text Selection or New Note) Hold shift key and hit return key You can also use the Journal hotkey to easily add a new entry based on text selected in another application. Search content: keyword ns Search text files saved in the working folder: the default search includes text content, filename and tags start with c: to search content only start with n: to search filenames only start with t: to search tags only hold control key to paste the text file content direclty to the topmost application hold option key to add tags to a text file hold command key to reveal the file in Finder hit shift key to preview a text file (OSX Quick Look) hit return key to open a file the first item in Alfred is always “Show in nvALT” (if the application is installed): click it to view the results in nvALT Note that you can tag a file from the search window by holding option key. The workflow will list all openmeta recently used tags so you can easily select one. You can also create new tags separeted by comma e.g. tag1,tag2,tag3. What’s new Version 4.0 streamlined features focused on content creation keyword nf instead of newf keyword ns instead of news prepend or append text to any file in working folder custom date format that will be used in Journal, Prepend and Append features custom filename timestamp ($t) that can be used to create a filename easily add text from Mail app (selected or all email content) along with basic email information and link or URL select plain URL or Markdown URL format workflow preferences and initial setup within Alfred keyword nf? for Help within Alfred too you can tag any file from search feature: type ns keyword, highlight a file, hold option key and hit return: a list of openmeta recent tags will be displayed in Alfred (select one or create new tags separated by commas) New Note now works more like the other features: tags#note here or #note here improved search module (keyword ns) add a custom timestamp to the filename using variables fn key is not used by default due wired Apple keyboards workflow update to Alfred 2.0.3 (187) removed Copy Text File from Finder Version 3.0 Create a new file in Finder (hold control key) Optionally add a file extension (see Help for details) Version 2.8 Paste a note to the topmost application (e.g. start a search, select a note, hold fn key and press Return)Version 2.7 Select a default extension (.txt or .md) Faster searching feature New icons Version 2.5 Alfred Fallback search (you have to add it to your fallback search list) Add @ at the end to not add the URL Version 2.0 Journal (add text to a custom text file) Search notes within Alfred nvALT support Alleyoop workflow support Download Version 4.0 Release date: 29 May 2013 Made in OS X 10.8.3 Supports Alleyoop 2 Download now PS: thank you twinpeaks for your feedback PS: post wrote in Byword and converted using Markdown to BBCode workflow
Hi, I am trying to write a script in python which would paste a random string. It works normally, but when It tries to paste in iOS Simulator, it does not work. If I try to paste by pressing "CMD + v" it does not work. If I try to paste by pressing "CMD + SHIFT + v" it works. Is there a way to simulate "CMD + SHIFT + v" instead? Thanks.