Drafts

Drafts

742 bookmarks
Custom sorting
Searching for words
Searching for words
I spotted this earlier today, but have been travelling or busy with other things most of the day, so I didn’t get chance to look at it in more detail until this evening, and spent a few hours putting something together. Other than the phone and Drafts aspect, it was this that got me thinking. It sounded like this was purely a find operation (rather than edit), and the “highlighting” aspect also piqued my interest as the Drafts editor doesn’t really align itself to that sort of thing unless you...
·forums.getdrafts.com·
Searching for words
Searching for words
Searching for words
I recently got asked by a relative to search for different words in a text. “Easy” I answered and was thinking of either a simple Python script or a regexp in BBEdit. Then came the next sentence, “I need to do it on my phone” and things got way more complicated for me. But I thought that perhaps it can be done in Drafts, and I’m sure it can be done but unfortunately Drafts is something that is a pretty unknown to me. From what I can see Drafts support regexp but it looks like searches can’t be...
·forums.getdrafts.com·
Searching for words
Run action on all drafts in a workspace
Run action on all drafts in a workspace
Hi everyone I’m in the process of writing some light user-manual type material in the form of separate drafts in their own workspace. Once I’ve finished writing them I’d like to be able to ‘get them all out of the workspace’ in one batch, ideally. I haven’t decided how, yet. Is there a way that I could select a workspace and run the appropriate action on all drafts in that workspace, rather than having to go through and do each one manually? Thanks Ben
·forums.getdrafts.com·
Run action on all drafts in a workspace
Regular Expresesion Capture Group Positioning
Regular Expresesion Capture Group Positioning
I am working on an Action that is supposed to transform text in this format: Mow the lawn to this format: [ ] #n/task Mow the lawn for {{ProjectName}} #s/scheduled The regex script I’m using is: const findRegex = /^- (.)*?/gm; // define replacement expression... const replaceWith = "- [ ]\#n/task $1 for \{{VacationName}} \#s/scheduled"; This works except that the $1 capture group is placed at the end of the reformatted task. Like this: [ ] #n/task for {{ProjectName}} #s/scheduled Mow t...
·forums.getdrafts.com·
Regular Expresesion Capture Group Positioning
Process Drafts in INBOX Action
Process Drafts in INBOX Action
Sure glad to help! I‘m mostly using the On My Mind now since I often have just quick thoughts which I add to the on my mind draft and then process them later. I don’t see the inbox count for the On My Mind draft which is better for me and I can use the inbox count more precisely:) Just look what fits for you
·forums.getdrafts.com·
Process Drafts in INBOX Action
Process Drafts in INBOX Action
Process Drafts in INBOX Action
Hi, I made an action which for me is one of the most useful ones in the last days. I store pretty much everything text related in drafts. To quickly sort it out i have a few actions (in different action groups) I normally run on them). To speed this up I created an action which loops through the drafts in my INBOX workspace and asks me for each of them what to do. I can select actions from a prompt and they will be enqueued and run after processing all drafts in the INBOX. You can customize...
·forums.getdrafts.com·
Process Drafts in INBOX Action
Need Spark Action that Sends Copies
Need Spark Action that Sends Copies
Here’s this morning’s response from Readdle: Thank you so much for your emails and provided information. Let me apologize for the misunderstanding. I’ve just double-checked the information with our Quality Assurance team and would like to let you know the URL scheme, indeed, is available in Spark. However, the new line characters in the body text feature is not supported at the moment. Please be assured that I’ve added your kind request to our Wish List for the developers to look through an...
·forums.getdrafts.com·
Need Spark Action that Sends Copies
Need Spark Action that Sends Copies
Need Spark Action that Sends Copies
Please excuse me if I’m posting this in the wrong area of the Community. I much prefer Spark over Mail. Mail is very well supported by Drafts via the Mail Action Step, but I’m having trouble finding a similar level of support for Spark. Yes, there are four Actions for Spark in the directory, but none of them enables all the parameters of Spark’s x-callback-url scheme: subject, body, to, cc, and bcc. Specially, I need support for all these parameters other than bcc. How do I write my own Act...
·forums.getdrafts.com·
Need Spark Action that Sends Copies
List of Apps with x-callback-url spec
List of Apps with x-callback-url spec
Exactly! I had included it in a seperate list of Apps with unverified x-callback-url support. I’ve noticed that it’s still quite common for people to mix up URL schemes with x-callback-urls. There are also some developers / bloggers who mix these up in their own documentation or write-ups, so I get why this is confusing.
·forums.getdrafts.com·
List of Apps with x-callback-url spec
List of Apps with x-callback-url spec
List of Apps with x-callback-url spec
I’m new here and this is my first post on the Drafts community forum. Drafts has a rich and extensive documentation on it’s functionality and various use-cases, including integration of x-callback-url. The official x-callback-url website introduced a list of (third-party) Apps that support the specification. Throughout the years, several attempts have been made by members of the community to update / document the list of Apps. I.e One Tap Less_https://onetapless.com/library AppTalk_https:/...
·forums.getdrafts.com·
List of Apps with x-callback-url spec
iPad iOS Widget - Running Action and Cursor Placement
iPad iOS Widget - Running Action and Cursor Placement
I think I figured it out. I used this thread to work out which parts to edit from the “New Draft from Template” action - Using prompt results in New Draft with Template After looking at that, I commented (added “//“ before each like) out the code to be disabled like that person suggested. The script now looks like the below. I’m sure this looks terrible to anyone with experience, but I’m pleased it’s working! I guess I can now delete all the commented code. Here’s the script: //modified from...
·forums.getdrafts.com·
iPad iOS Widget - Running Action and Cursor Placement
iPad iOS Widget - Running Action and Cursor Placement
iPad iOS Widget - Running Action and Cursor Placement
Hi I have created a simple “insert text” action to create a template dated note. Essentially as follows: Title Created: “[[date]]” Body text When running the action within drafts, the cursor appears where I need it to - before the word “Body” in the example above. That allows me to immediately create the content of my note. When running the action from the iOS widget, however, the cursor doesn’t appear until I press on the screen. Is there a fix for that, or am I doing something wrong? Ma...
·forums.getdrafts.com·
iPad iOS Widget - Running Action and Cursor Placement
Insert Text From Other Drafts
Insert Text From Other Drafts
As an update, the auto complete functionality worked great! I now have another query, but I will start a new topic.
·forums.getdrafts.com·
Insert Text From Other Drafts
Insert Text From Other Drafts
Insert Text From Other Drafts
Hi everyone, Is it possible to insert text from another draft through an action? My use case: I keep various templates in one workspace within Drafts (meeting note, literature note, etc…) and would like to have actions to retrieve the content of a specific template and insert it into the current draft. Is this possible? I know, Drafts has a template system to retrieve template files from within the Finder/Files App but I would like to use Drafts itself as a repo for my templates because that...
·forums.getdrafts.com·
Insert Text From Other Drafts
HTTP Post data in raw?
HTTP Post data in raw?
As far as I known the HTTP | Drafts Script Reference (getdrafts.com) request only accepts json or form for data. In my case the server needs raw. (I’m playing with Zotero web api). Similar question seems to be there but no answers. Can I ‘POST’ Raw Data to a Web API? - Scripting - Drafts Community (getdrafts.com)
·forums.getdrafts.com·
HTTP Post data in raw?
How I Use Drafts - How Do You? (Feedback appreciated)
How I Use Drafts - How Do You? (Feedback appreciated)
I’ve been using Drafts awhile but never as the place where text starts. Since we gained the ability to use wikilinks I created what I really wanted in Drafts which was what I call connected notes. They rely on tags, workspaces, and actions to send some of the content on sometimes to Ulysses or Day One. For my use Drafts works very well for managing my little connected world of notes. Now with the wikilinks and being able to create really cool links like for workspaces I get a lot of use from the...
·forums.getdrafts.com·
How I Use Drafts - How Do You? (Feedback appreciated)
How I Use Drafts - How Do You? (Feedback appreciated)
How I Use Drafts - How Do You? (Feedback appreciated)
Drafts is my #2 most used app … behind email, and best follows the theme ‘capture first - process later’. I don’t, however, leverage many actions for text, posting to apps, email, etc. it’s primarily my note pad for everything! I use it for: … creating initial content for email, text, docs as my ‘capture first’ and then I finalize (then copy/paste) … I do use 2 actions - Add to List (I have 8 lists) and Day One Journal … My ‘Add to List’ action includes: 1) All Ideas capture; 2) Daily Journal...
·forums.getdrafts.com·
How I Use Drafts - How Do You? (Feedback appreciated)
Editing JavaScript
Editing JavaScript
Similar to @sylumer, I do most of my script development outside of Drafts, and I try as much as possible to do it entirely on my Mac. If I’m doing it on my i*OS device, then will put the script in the body of a draft and use an action to execute that body. For me, I leverage the FileBookmark feature agiletortoise enabled a few releases ago to point to my local git repo. The script is as such: let bookmark = Bookmark.findOrCreate("git"); let fm = FileManager.createForBookmark(bookmark); let c...
·forums.getdrafts.com·
Editing JavaScript
Editing JavaScript
Editing JavaScript
What tools are people using to create and edit Actions, i.e., write and edit JavaScript in Drafts? I’m going crazy doing it within Drafts on my iPhone. (Sorry if this question should have been posted in a different portion of the Community. 🥺)
·forums.getdrafts.com·
Editing JavaScript
Dictation in Mac OS drafts doesn't work with bluetooth mic
Dictation in Mac OS drafts doesn't work with bluetooth mic
I powered up my Parrot Bluetooth headset and was able to dictate directly into Drafts for at least a paragraph. I did have to click the button on the headset to get it to start. It stopped as soon as I hit a keyboard key, which makes sense.
·forums.getdrafts.com·
Dictation in Mac OS drafts doesn't work with bluetooth mic
Dictation in Mac OS drafts doesn't work with bluetooth mic
Dictation in Mac OS drafts doesn't work with bluetooth mic
I use dictation increasingly on iOS and also on Mac desktop — where I have encountered an unexpected behaviour. I can use a wired mic into the MacBook headphone socket and it works fine. My preferred way is to use a bluetooth mic on a headset. It works well with the conventional Apple fn-fn- dictation (which however fades out unpredictably) but the Drafts version of dictation, generally much more reliable, doesn’t appear to recognise a bluetooth mic (I have tried more than one). I have looked ...
·forums.getdrafts.com·
Dictation in Mac OS drafts doesn't work with bluetooth mic
Clearing Tags and Adding New Tags Without a Prompt
Clearing Tags and Adding New Tags Without a Prompt
I have an action that copies the Draft contents to the clipboard, adds a tag and archives the Draft. Straightforward - nothing fancy… What I am trying to do, to no avail is: Remove the tag associated with the draft prior to invoking the Action. So the new tag is the only tag on the draft. Currently - the new tag is being set… but the old tag remains. I’ve tried Remove Tag via TAD… Namchuk and Agile Tortoises… None have achieved the desired effect… I do not want a prompt to do this… it’s...
·forums.getdrafts.com·
Clearing Tags and Adding New Tags Without a Prompt
Automating Drafts with Keysmith app
Automating Drafts with Keysmith app
I notice that Keysmith hasn’t been mentioned in the community, so I wanted to give it a plug. Note: I’m not connected with the developer; I’m just a Drafts user who likes easy ways to make things easy. Keysmith creates macros by recording what the user is doing, including clicks on web apps and Drafts actions if they are visible in the sidebar. The macros can be assigned hotkeys, or called up by URL (which I use through Alfred). Example use case: I made a macro that creates a new Draft note fro...
·forums.getdrafts.com·
Automating Drafts with Keysmith app
Automatically run actions when tags are added
Automatically run actions when tags are added
Found this thread while I was searching for a similar quick solution. I use Drafts Pro on both iOS and MAC, usually to “brain dumb” lots of things; some to-dos, others are movies to watch, tweets copy, meetings notes…etc. Almost each type of draft have certain actions to it to do something. The pivotal part, is that I rarely create drafts via the Drafts app - usually either Siri/shortcuts or Alfred on Mac or other tools. Having said that, here comes the idea of “How to automate triggering act...
·forums.getdrafts.com·
Automatically run actions when tags are added
Automatically run actions when tags are added
Automatically run actions when tags are added
Been using drafts for about a year, and it’s quickly become one of my most used ios apps. Haven’t been able to find the answer, but is there a way to trigger actions based on tags? For example, if I’m reading in safari, and share to drafts and add a tag for omnifocus, could it trigger an appropriate app? Thanks!
·forums.getdrafts.com·
Automatically run actions when tags are added