Jump to content

frogwell

Level 2
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

17 Neutral

3 Followers

About frogwell

Recent Profile Visitors

1,823 profile views
  1. Why change how the in-page bookmark hyperlink behave? <a href="#some-anchor">Text</a> It used to work as expected (clicking on the link jumps/scrolls to the labeled part of the note) and I have used it to implement in-note Table of Content and such. At that time clipping webpages with similarly structured TOC also worked well. But this is gone for some reason in 6.9 (still worked at 6.8) and I wonder why? Considering how universal this kind of bookmark/anchor is in the general world of HTML/XML, it's surprising to see it taken out suddenly. Edited: Instead of ope
  2. Fantastic! It works very well in Mavericks (10.9.5) with EN Mac 6.0.7. Thank you so much for all your patience and quick responses to my posts. May I make one suggestion? Instead of pasting the link, how about just leaving it on the clipboard and displaying a popup dialog to that effect? Then the user to go to the desired location and paste it, rather than having to cut and paste. Thanks again. This is a huge addon feature for EN Mac. May I request another addon? Often this need for an internal link/bookmark comes up because it was originally setup as part of a real web page. Wou
  3. Thanks. I'll give it a try. OK, I have tested on one Note in EN Mac 6.0.10 and 6.0.6, and both worked fine. FYI, I setup my Notes so that the Note I tested was NOT the first Note in the Note list to make sure that your code was using the correct Note for the "sanitizing". It worked! I'm still a bit concerned about the Note selection AppleScript code, but it worked OK in my limited testing. BTW, I renamed the Automator Service to "EN Create Bookmark" to help identify it as an Evernote service and to use the HTML "bookmark" term. Thanks again for sharing this Automator
  4. That's a very good idea, I missed that part about "selection" from the official document, thanks! I just updated the workflow with the snippet.
  5. Fantastic! It works very well in Mavericks (10.9.5) with EN Mac 6.0.7. Thank you so much for all your patience and quick responses to my posts. May I make one suggestion? Instead of pasting the link, how about just leaving it on the clipboard and displaying a popup dialog to that effect? Then the user to go to the desired location and paste it, rather than having to cut and paste. Thanks again. This is a huge addon feature for EN Mac. May I request another addon? Often this need for an internal link/bookmark comes up because it was originally setup as part of a real web page. Wou
  6. I don't think it's the EN 6.0.10, it's probably due to the funkyness of the workflow itself (the implementation is far from ideal). A few things to check: 1. Is the note you are editing opened in a separate window? 2. If not, is the note shown as the first item in the note list in the main window? The awkwardness comes from the fact that I don't see a easy and definite way to get "the current note in the main window" via applescript. The workflow sort of assumes that use is editing the note in a separate window, or the note list in the main window is sorted by "updated time". I've updated
  7. This workflow just doesn't seem to want to work for me. Your alternate version (no ruby) doesn't work either. It fails with a Javascript error. Apparently the Automator "Run Javascript" is a new Action added in Yosemite. I'm running Mavericks. Here's the Automator error msg: Sorry to be so much trouble. Any suggestions on what to do next? My bad again, totally didn't think of compatibility issues. I re-wrote the workflow in AppleScript which should be supported in Mavericks (I think? I don't have access to a Mavericks machine at this moment so I cannot verify) and upd
  8. Thanks for the fix. Before I try it, I had an idea I want to ask you about. I read in your ReadMe that "Since the Evernote client will automatically add evernote-html-snippet:// to links with href starting with #, use applescript to scan the whole note and get rid of all these redundant strings". What do you think about using "file:///" prefix? So, the link would be: <a href="file:///#label-text">Link text</a> Would that prevent the EN client from adding the "...snippet://" prefix? Well, yes, it would indeed prevent EN client from adding "evernote-html-snippet://", but i
  9. What do I do now? Thanks for your help. Well apparently I did not take into consideration that most people would not have xcode and other dev dependencies installed, my apologies... So I made an alternate version that does not require any ruby gem... Would you mind giving it a try? It's not quite as smooth as the original one (you won't be able to easily undo the operation, etc.) but the basic functionalities are the same.
  10. @frogwell: I need help installing your workflow and supporting libraries. Specifically, how do I install pasteboard? I have never used Ruby or gem. I downloaded the pasteboard-master.zip from https://github.com/drbrain/pasteboard. I unzipped it. But when I run "gem install password", I get this error: Perhaps I need to move the pasteboard-master folder somewhere special? If so, where? Do I need to run the "gem" command from a specific folder? If you can, please provide specific, step-by-step instructions. I suspect others (non-programmers) will need this as well. Thanks. Ah
  11. @CoreParadox: I just use a link that starts with "#" (without the "file:///"), as in the usual HTML in-page linking technique: create a pair of <a> elements (the link and the anchor) and assign a label, and it would go like this: <a href="#a-label">This would be the link!</a> and <a name="a-label">This would be the destination!</a>
  12. @CoreParadox: May I ask why the link would start with "file:///"? I actually haven't got time to run your program yet, but I seem to remember that in the Evernote OSX client, a link of this form would take you to the "Finder".
  13. I already had something very similar, so I put together this OSX workflow/service (link to GIST repo with code and docs) and it works basically like how you described it (except that in step 3, instead of "pressing a key", you would right click and select "Services -> Create Cross Reference" -- and of course you can always assign a keyboard shortcut to the service... so yeah). Hope this helps! Here's a demo...
  14. Hi Gock, This editor is fantastic! I especially like the ability to customize css style for fenced code block. However, I would echo @MKR 's observation that the exported HTML file is missing altogether. And I've run into sync issue (server error) once in a while. The Evernote server seems to be fine when that happens, though. Cheers and congrats
×
×
  • Create New...