The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Adding hard CRs to notes via URI handler? Thread Tools Search this Thread Display Modes
I'm using a bookmarklet invoke the "x-omnifocus" URI handler script to send links directly to the inbox (bypassing the quick entry window). In the bookmarklet URL the notes field includes '\n\n' between the URL and any selected text. However, the "\n" is being converted to a space instead of a carriage return by OF so the note field has the URL, two spaces, and the selected text. Is there some other character I can use to get line breaks instead of spaces?

For reference here's the bookmarklet:

Code:
javascript:window.location='x-omnifocus://newtask?name=Review:%20'+encodeURIComponent(document.title)+'&note='+encodeURIComponent(window.location+'\n\n')+encodeURIComponent(getSelection())+'&quickentry=0';
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniFocus URI Handler (create tasks via URL) [See Omni note on pg 5!] iNik OmniFocus Extras 44 2010-10-20 03:49 PM
Adding notes, details, phone calls herbshirt OmniPlan General 1 2009-10-01 07:15 PM
Would it really be so hard? PhilMac OmniWeb Feature Requests 14 2009-09-08 11:26 AM
Tasks failure (The Apple Event Handler Failed) wycats OmniFocus Extras 1 2007-11-23 09:04 PM
getting rid of hard returns mitchellm OmniOutliner 3 for Mac 3 2006-12-03 09:14 AM


All times are GMT -8. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.