Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. Glad to see you got it working A point on inserting noteTitle into the HTML content. The first line specifies the en-note container I would look into inserting the after this line. You extracted a line from the note contents. Should it be deleted?
  4. Hey guys, took me some time but I got it working this morning (I'm Australian). Here's my version of the script that swaps around the title of the note and the first line of the body, based on all the notes you have selected in Evernote. I removed the dialog box from JMichaelTX's code for my own convenience property ptyScriptName : "Set Evernote Note Title to 2nd Body Line Using Plain Text -- TEST" property ptyScriptVer : "BETA 2.0" property ptyScriptDate : "2019-05-19" property ptyScriptAuthor : "JMichaelTX" (* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PURPOSE: • Update Evernote Note Title and Body Using HTML • Set Note Title to 2nd Body Line • Insert Original Note Title at Top of Body RETURNS: Revised Evernote Note REQUIRED: 1. macOS 10.11.6+ 2. Mac Applications • Evernote Mac 6.11.1+ TAGS: @SW.EN @CAT.Notes @CAT.HTML @type.Example REF: The following were used in some way in the writing of this script. 1. 2019-05-17, DTLow, Evernote User Forum Bulk Rename Notes with Script Editor https://discussion.evernote.com/topic/120023-bulk-rename-notes-with-script-editor/?do=findComment&comment=537798 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *) use AppleScript version "2.5" -- El Capitan (10.11) or later use framework "Foundation" -- this may not be required use framework "AppKit" -- this may not be required use scripting additions property LF : linefeed tell application "Evernote" set selectedNotes to (get selection) repeat with oNote in selectedNotes tell oNote set noteTitle to title set noteBodyHTML to HTML content -- Retrieve note contents set noteBodyPtxt to my HTMLDecode(noteBodyHTML) set nbLines to paragraphs of noteBodyPtxt --- Extract the 2nd Line of Text --- -- (ignoring blank lines) set lineCount to 0 repeat with oLine in nbLines if ((contents of oLine) ≠ "") then set lineCount to lineCount + 1 if (lineCount ≥ 1) then set nbLine2 to contents of oLine exit repeat end if end repeat --- Replace Unusual "Â" Character with Space --- set nbLine2Clean to my regexChange("Â", " ", nbLine2) --- REPLACE INVISIBLE CHARS FOUND IN SOME HTML (like OUTLOOK 2011) WITH SPACE --- -- set nbLine2Clean to regexChange("\\x{A0}|\\x{2028}", " ", nbLine2Clean) set bodyLine2 to nbLine2Clean --- Change Note Title to 2nd Body Line --- set title to bodyLine2 --- Insert Original Title at Top of Body --- set HTML content to ("<div>" & noteTitle & "</div>") & noteBodyHTML end tell end repeat end tell --~~~~~~~~~~~~~~~~~ END OF MAIN SCRIPT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ on regexChange(pFindStr, pReplaceStr, pSourceStr) -- @RegEX @Change @Replace @Strings @ASObjC --––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– (* VER: 2.0 2018-07-06 PURPOSE: Change ALL Occurances of pFindStr into pReplaceStr in pSourceStr METHOD: Uses ASObjC RegEx (which is based on ICU Regex) PARAMETERS: • pFindStr | text | RegEx Pattern to Find • pReplaceStr | text | Replace string which • May contain these RegEx MetaChars: \\n, \\r, \\t for linefeed, return, and tab $<CG>, where <CG> is Capture Group number • pSourceStr | text | Source String to be searched RETURNS: Revised String with all changes that were found. AUTHOR: JMichaelTX -- with help from NigelGarvey ## REQUIRES: use framework "Foundation" REF: 1. 2018-07-06, NigelGarvey, Late Night Software Ltd. ASObjC RegEx Change Handler http://forum.latenightsw.com/t/asobjc-regex-change-handler/1395/10 2. ICU RegEx Users Guide http://userguide.icu-project.org/strings/regexp --––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– *) set nsCurApp to current application -- Replace any backslash-n sequences in the replace string with actual character -- set nsReplaceStr to nsCurApp's NSString's stringWithString:pReplaceStr set nsReplaceStr to nsReplaceStr's stringByReplacingOccurrencesOfString:"\\n" withString:(linefeed) set nsReplaceStr to nsReplaceStr's stringByReplacingOccurrencesOfString:"\\r" withString:(return) set nsReplaceStr to nsReplaceStr's stringByReplacingOccurrencesOfString:"\\t" withString:(tab) set nsSourceStr to nsCurApp's NSString's stringWithString:pSourceStr set nsSourceStr to (nsSourceStr's stringByReplacingOccurrencesOfString:pFindStr withString:nsReplaceStr options:(nsCurApp's NSRegularExpressionSearch) range:{0, nsSourceStr's |length|()}) return nsSourceStr as text end regexChange --~~~~~~~~~~~~~~~~~~~~ END of Handler ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ on HTMLDecode(HTMLString) -- @HTML @Strings @Decode @Convert @Text @PlainText @ASObjC -------------------------------------------------------------------------------------- (* From: Shane Stanley <sstanley@myriad-com.com.au> Date: Thu, Jun 16, 2016 at 8:56 PM To: "ASUL (AppleScript)" <applescript-users@lists.apple.com> Subject: Re: Convert HTML Text to Plain Text -- ASObjC handler is 2.03 X as fast as Shell Handler *) -- make it an NSString set theString to current application's NSString's stringWithString:HTMLString -- get raw data set theData to theString's dataUsingEncoding:(current application's NSUTF8StringEncoding) -- convert to attributed string set attStr to current application's NSAttributedString's alloc()'s initWithHTML:theData documentAttributes:(missing value) -- extract just the text set plainText to attStr's |string|() as text --- REPLACE INVISIBLE CHARS FROM OUTLOOK WITH SPACE --- -- set plainText to regexChange("\\x{A0}|\\x{2028}", " ", plainText) return plainText end HTMLDecode
  5. I think that nowadays most users are multi-device, multi-platform. In my case it is Windows, Mac and iOS. If I had to estimate, I would rank my iOS use way above 50%, the rest split among Win and Mac. But most of my serious editing is done on one of the desktop clients, as the note-by-note approach of the mobile client does not allow for multiple notes transactions like joining, batch moving to target notebooks and multi-tagging.
  6. Yesterday
  7. Hi. Submit a support request. Subject to annoying things like legality and copyright...
  8. I would love for Evernote to respond to this as well. I have 3 Premium accounts and am pretty good at Web Clipping and modifying the clip after Evernote doesn't save everything the way I want. It would be totally awesome for web clipper and Evernote to just get better at capture regions of the content and processing from there. Is it possible that Evernote can pre-process on the device, send it to the cloud, finish processing, maybe doing some more complicated parsing routines and then making it available once rendered? It would be amazing if Evernote added more benefit to clipping than just storage.
  9. I would like to hear back from Evernote themselves on this idea. I could care less who owns the page, or how its constructed because I know software can at a minimum figure out the borders of such content and take a screenshot, manipulate as needed and post into the Evernote capture stream. Then easily enough make the URL available as an embedded link and maybe even capture enough metadata to paste with the image. We are talking archive and functional use. I would appreciate some action take to capture both Twitter, Facebook and other content, even if its "hard". Just figure out the best possible way, including a psuedo screen shot and go from there. Thanks.
  10. @DTLow Yeah I was thinking that, that there must be a much higher proportion of paid users on desktop.
  11. Good job. I suspect the breakdown is different for paid accounts; and more skewed to the Window/Mac platforms
  12. Web ~12% Windows ~12% Mac ~12% IOS ~32% Android ~32% What do I win? I must say I am very surprised such a majority is on mobile. How I used to use Evernote was completely different. Please could you clarify that editable file attachments on desktop will still be a feature? It is the #1 feature I miss about Evernote. I suppose so with having a local store. I know you don't want to give to much away but I would be very encouraged by this news.
  13. Yes you did, and jeez I'd completely forgotten that you had followed up with a response. Thanks for the reminder. I won't stir the mud up on this one again ... but considering I forgot once already, no promises 😀
  14. Ian, thanks for pointing that out. I just went back an viewed the video again, and of course you're right. So what I originally thought that you were showing was incremental search, but you were also (instead of?) showing a form of auto-complete, where you are showing in the panel below the Search box tags, notebooks, and people that matched your typing. If I am able to select the one I want quickly via keyboard, then that would be great! But please don't make us use the mouse when typing in the search box. It will be interesting to see how you detect and show auto-completion filter choices from the same typed text for tags, note title, and notebook. Looks like you are considering making it a very smart search, so maybe it could support the "easy" method (for some users) of just typing keywords, and also make it easy to specify the Search Qualifier (filter), like "ta:" for tags, "ti:" for title, and "nb:" for notebook. My most common search is for Tag and Note Title, and I really hate having to type "intitle:". My organization method is to use tags for broad categories and then keywords in the Title to narrow it down. Thanks again for the great direct interaction you are providing us with.
  15. I also use the internal links external to Evernote; - calendar/reminder entries, - spreadsheets
  16. It's resolved for me (7.10, MacOS). Looks great now.
  17. I really will go back to lurking soon, but while we're at it... To your (1), I will observe that one of the things we showed in the video was the ability for to type the first few letters of a tag or a notebook, have that tag or notebook be automatically suggested, and add it as a filter (eg. "Mexico" was a tag). I understand that incremental search may not be up your alley, but I suspect that for most users, auto-matching what you are typing to possible tag names, notebook names, space names, recent searches, etc. is faster, more interactive, and likely more effective than needing to type or pick "tag:" or "notebook:" first, followed by auto-matching and picking. Our goal is to design for the breadth of the constituency (both paying and non-paying, although we pay the most attention to paying users and those who are likely to become paying users). I completely understand your mileage on a given design approach may vary. To your (2), obviously this is a super power user capability. We have been looking at various options around what the default search logic is, and we have contemplated what full boolean logic would take. One of the things you'll find about me is that I don't make promises that I don't know that I'm going to deliver on. In this area, while we have been and are looking at it, no promises at this point. Thanks for investing the time to respond. -- ian
  18. Regarding local notebooks, I previously posted this: I know it isn't a 100% guarantee, but I'm pretty confident in the response from the lead. We understand the importance of local notebooks to a subset of our users.
  19. I am facing the same problem. I have an long screen recording and would like to add it as as attachment to the note for this recording. Beeing unable to manage also large files prevents me from using EN as single source for all my notes and reseach work.
  20. Hello, When I copy code from an editor (Notepad+++, PyCharm etc.) and paste it into an Evernote code block, all empty lines are doubled. If there is an empty line, in the block I will get two instead. Two empty lines, the code block will create four. If I paste the code without block, just in the body of the note, no problem but if I select this code and click on the "block code" button to format it, the empty lines are duplicated. I've had the problem for a few versions. I am in version (308489) Public (CE Build ce-62.3.7750) and I'm on Windows 10 64bits. Do others reproduce the same concern? See the attached files. Thanks for your help, this bug is very annoying for me. Tim
  21. The old (original?) CTO used to have a pretty good presence here. It was welcome, though he didn't always have good news for feature requesters.
  22. @Ian Small: Holy cow. I don't recall seeing your predecessors addressing customer concerns directly in this forum. And you responded to them with substance, to boot. As a customer, I'm impressed. You've further boosted my confidence in this company. As for the interactive search? This is very cool. I'm no longer just cautiously optimistic. I'm outright excited about the future of Evernote.
  23. I opened a ticket with Evernote support, and the problem does exist, although it seems not to be affecting all users. For users who are facing the problem, I'm sharing Evernote reply, which points to a forthcoming fix without a release date for now:
  24. Another issue from a thread in the forum: If the MacOS was not updated for a while, it can cause the new Evernote version not to launch. So if this still does not work, maybe check about your MacOS version.
  25. There is more to not emptying the trash: Standard search does exclude notes in the trash ! You will not see search hits from notes that are in the Trash. However, if you explicitly choose the Trash-notebook, search will search inside of the trashed notes, and show these results. So it sometimes come useful to trash something to still keep it, but exclude it from being searched. Because trash does not empty if not forced by User action, trashed notes will be kept practically indefinitely. Just do not forget about this before starting a housekeeping session ...
  26. I'm in this camp. I'm sure local notebooks are a thorn in development's and support's sides. It would make sense to include everything under sync/server control BUT the only reasonable substitute, IMO, is zero knowledge encrypted notebooks. That has its own set of tradeoffs, so we'll see how this plays out.
  27. And I selectively empty trash ... can't seem to find a way to dump individual notes in Trash.
  28. It finely crossed my mind that part of the struggle I've had with organizing some of my research related to how many of my notes are related to one another. This can be resolved through tagging and Notebooks--that in it of itself a is obviously a large conversation. However I was faced with the problem of constantly opening related notes for my research. Then I asked myself, is there a way to link notes together? There is! Maybe most of your already know this but I wanted to make sure to point it out. Note | Copy Internal Link will copy a link to the specific note. I now have structured a table of contents for listing of notes that link back to the TOC. Although this can be sort of resolved with tagging/Notebooks and clicking on the notes you want to read, the internal link structure creates a really nice user experience. I now just have a single window experience where I can view my information through it's own unique navigation. Any details relating to tagging and notebooks are irrelevant to this navigation experience. With regard to my notes, my TOC links to individual research notes in addition to a topic outline. In the images below you can even see arrows in the right hand side that allow you to quickly go forward and back in the navigation. It's really ideal. I strongly recommend this feature.
  1. Load more activity
  • Create New...