Jump to content

elldove

Level 2
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About elldove

  1. There's a pretty good solution for this here: http://is.gd/5851h it's a post on macosxhints.com that tell you how to make a QS action using applescript (which is given in the post). While a more robust EN plugin for QS which, I could imagine, allows for managing/deleting/editing existing notes, this action is pretty much all that's needed for note creation.
  2. All good points. There is an Evernote API. Unfortunately its a bit denser for amateur's like me, vs some other APIs. I'm sure someone who can dig into can figure out the right curl syntax to make this happen. If you can get a curl command together that can search and return results from your Evernote account, then creating a service would be a matter of sending the curl as shell script and popping up the return in the format of what you're talking about. A third possibility: I've been playing with XCode in Snow Leopard's ability to create fully cocoa skinned applications using applescript. It's not too difficult. It might be possible to use applescript to query your evernote app, then use a cocoa HUD - style panel to display the results. A fourth option, easiest to implement: we could use applescript to query Evernote.app and either export the results as HTML, if possible, or use applescript to turn the text results into an HTML format. HAve applescript save that file to /tmp/ensearchresults.html. And then, in automator, send the url file:///tmp/ensearchresults.html to the web pop-up automator function you used in your Amazon service. This might work pretty well, actually.
  3. Looks doable already... From Evernote's Applescript Dictionary:
  4. Well, I'm not exactly sure what the issue. But I rewrote the code a bit to make sure the page has loaded the readability. And given a bit more time before calling the Evernote clipper. Try this bookmarklet instead. Also, if you're using Internet Explorer I hope it's at least IE8. Preferably Firefox, Safari, or Chrome, because they handle javascript much faster. Let me know if this doesn't work. javascript:function%20enClip(){EN_CLIP_HOST=%27http://www.evernote.com%27;try{var%20x=document.createElement(%27SCRIPT%27);x.type=%27text/javascript%27;x.src=EN_CLIP_HOST+%27/public/bookmarkClipper.js?%27+(new%20Date().getTime()/100000);document.getElementsByTagName(%27head%27)[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+%27/clip.action?url=%27+encodeURIComponent(location.href)+%27&title=%27+encodeURIComponent(document.title);}}function%20readR(){readStyle=%27style-ebook%27;readSize=%27size-large%27;readMargin=%27margin-medium%27;_readability_script=document.createElement(%27SCRIPT%27);_readability_script.type=%27text/javascript%27;_readability_script.src=%27http://lab.arc90.com/experiments/readability/js/readability.js?x=%27+(Math.random());document.getElementsByTagName(%27head%27)[0].appendChild(_readability_script);_readability_css=document.createElement(%27LINK%27);_readability_css.rel=%27stylesheet%27;_readability_css.href=%27http://lab.arc90.com/experiments/readability/css/readability.css%27;_readability_css.type=%27text/css%27;document.getElementsByTagName(%27head%27)[0].appendChild(_readability_css);_readability_print_css=document.createElement(%27LINK%27);_readability_print_css.rel=%27stylesheet%27;_readability_print_css.href=%27http://lab.arc90.com/experiments/readability/css/readability-print.css%27;_readability_print_css.media=%27print%27;_readability_print_css.type=%27text/css%27;document.getElementsByTagName(%27head%27)[0].appendChild(_readability_print_css);}readR();function%20timedCount()%20{if(document.readyState%20==%20%27complete%27){t=setTimeout(%22enClip()%22,600);}}timedCount();
  5. APPLESCRIPT USERS: I've reposted an updated version of the script, better instruction, and for Snow Leopard users, an better alternative to the applescript that lets you set up a keyboard shortcut. I posted it in the Mac section of the forums, here: http://forum.evernote.com/phpbb/viewtopic.php?f=38&t=12640 Any future questions about Readability and Clipping with Applescript to Evernote should be posted there. Reserve comments here to questions about the Javascript bookmarklet.
  6. Back in June, I posted a javascript bookmarklet that integrated readability and evernote to allow you quickly reformat a webpage for reading and clip it to Evernote. Later, in that same post forum, I posted an applescript which did the same thing. For that bookmarklet go here: http://forum.evernote.com/phpbb/viewtopic.php?f=39&t=10450 Since then I've re-written the applescript, and wanted to repost it, along with some other Mac based options, here, in the Mac section of the forums. A quick note: These applescripts are written to use Safari. Firefox doesn't support applescript... Download the applescript: articleENClip.zip. It is a .zip, and should be automatically unzipped by OS X after downloading. To install, move the applescript to your HOMEFOLDER/Library/Scripts Folder. To get easier access to it, in Snow Leopard, open Applescript Editor.app go to Preferences >> General and make sure the option and make sure the option to "show script menu in menu bar" is checked. In Tiger or Leopard open Applescript Utility and check the same option. For a keyboard shortcut to applescripts you need a 3rd party application. Quicksilver, Fastscripts, and (I think) Launchbar all can do this. I use Quicksilver. HOWEVER, in Snow Leopard, Services can be given keyboard shortcuts, and creating a service with applescript is very simple. I've done it for you. So for Snow users, who use Safari, I'd recommend ditching the applescipt and using this service: articleENClipService.zip. To install, move it to your HOMEFOLDER/Library/Services folder. To use it, Once you're at a webpage you want reformatted and clipped to Evernote: Go to the Safari menu >> Services submenu and select ArticleENService, and wait a second. You'll see the page reformatted, possible a blink, and then the page will reload back to its original formatting. Evernote should have it. To set up a keyboard shortcut for this service: Go to System Preferences >> Keyboard >> Keyboard Shortcuts and select "Services" in the list on the left. Scroll through the list on the right till you see "ArticleENClipService" and, make sure its box is checked. Then double click over to the right of the name and a cursor/text field should appear allowing you to type your desired keyboard shortcut. Enjoy
  7. IMPORTANT!: There are TWO scripts posted here. They are very different, and need to be installed very differently. The Javascript bookmarklet is in my first post at the top, any browser on any OS should be able to run this. Just copy the script, make a bookmark in your browser and paste the script into the location of that bookmark. Then, when you want to use it, just hit that bookmark. The applescript can be run in OS X. It is not installed in your browser, but as a file in on your hard drive. To install, open Script Editor.app, paste it in the applescript, and "Save As..." to YOURHOMEFOLDER/Library/Scripts. See the post just prior to this for more specifics. Having installed readability, or not, is in no way related to either script. the javascript of Readability is integrated into them and they are completely independent of an "official" readability bookmark. you can have both installed (so that you can just use readability to just reformat the page and not clip it).
  8. I haven't checked this post in a while. Didn't realize there were questions and issues. As far as the applescript goes. First I'd recommend checking out this post http://forum.evernote.com/phpbb/viewtopic.php?f=38&t=11535#p46076, where I've posted two Snow Leopard services. One of which lets right click on selected text and send it to Evernote. Go to the post to read more. To install any applescript: open Applescript Editor.app and paste it in, then save it to YOURHOMEFOLDER/Library/Scripts. You can get a Menu bar item listing your applescripts for easy access. Doing this changed for Snow Leopard. For OS X prior to Snow: Open Applescript Utility (which is a different app then Applescript Editor. Use spotlight if you can't find them). You should see a preference for showing the applescript menu. For more about pre-Snow access go here: http://tr.im/CBRf In Snow Leopard, this preference has been integrated into Applescript Editor.app. So open that up and go to Preferences >> General and at the bottom is the setting you're looking for. @guiltpop: Safari has command-1 - 9 set to activate your toolbar bookmarks. If you set your Evernote clip bookmarklet to the first bookmark in your bookmark toolbar command-1 should activate it. I've worked on these scripts more since posting the original here. I'll post them as soon as I can. Thanks to tradewinds780 for direct messaging me about all this. I'll check this post more frequently if anyone has more questions.
  9. Fixed. Requires Growl to be installed. (since this all assumes Snow Leopard be sure to use the most recent version. As of this writing that's 1.2 beta3). Download this instead: ENclipServices2.1.zip
  10. Good idea. Attatched is a zip containing versions of the services which do just that. Make sure you're using the most recent Growl 1.2 beta in Snow Leopard. update: the bug described below by ashlar 77 is fixed in v 2.1 (see next post by me). use that.
  11. See http://blogs.adobe.com/jnack/2009/09/why_do_you_want_a_64-bit_itunes.html for why users tend to misunderstand what 64-bit means for applications. He's one of the developers of Photoshop, an application that could actually benefit from 64-bit (and even then only marginally when working with images requiring under 4gb of ram). Evernote, on the other hand, has no need for anything resembling 4gb of ram. if it did there would be much bigger concerns than it being 64-bit. I don't know if Evernote has implemented Grand Central Dispatch APIs yet, but that would be much more effective than 64-bit at increasing performance on search. I would much much prefer real features, improved UI, a more robust API, etc etc than 64-bit for 64-bit sake.
  12. One of the great new features of Snow Leopard is the ability to create your own service using Automator, and to have that service show up in your contextual menu when appropriate. Attatched are two services to integrate Evernote into Snow Leopard's context menu. TxtToEN will clip any text you've selected in just about any Cocoa application and clip it to Evernote. Just right click and it should be at the bottom of your context menu, or under Services. I can't check compatibility with every app. But it does work with Safari, Mail, TextEit, TextMate, NetNewsWire, Finder (if you select a file, hit return to rename it, and right click you can clip the name of a file), Stickies, Applescript Editor, Adium; It works in Pages, but for some reason Pages does not list services in its context menu, you'll have to access it from the menu bar under, Pages, Services. Carbon Apps like Firefox can't access these services. Right now TxtToEN is set to clip text to a notebook called "Text Clippings", To change this, open TxtToEN in Automator and change the second line of the Applescript. By default the title of your clippings will be "Clipped from APPLICATION NAME on the current date and time". ImgToEN will clip any image you've selected. The service is set to work in any application, but I can only seem to get it to work in Finder. I haven't tried iPhoto. the default notebook is "Image Clippings". Change same as TxtToEN LinkToEN will send any URL you've selected, and/or any link in Safari (or NetNewsWire if you use NNW), to Evernote which then adds the web page of that URL to your Evernote. Make sure if you have NetNewsWire or don't installed on your Mac that you install the corresponding version (both are included in the download zip). install to /Users/YOU/Library/Services. Go to System Preferences >> Keyboard >> Services >> find the service and make sure the box is checked. TxtToEN.zip ImgToEN.zip LinkToEN.zip
  13. I really appreciate the ability to email my evernote account. I use toread.cc to email websites direct to evernote, I forward emails I want to save, tc. I only wish I could specify which notebook my emails went into while writing the email (I know you can set a universal setting in the account settings for all emails). right now my account has one email address, and given I've got the free account: that's fair enough. It would be great, even perfect, if I could use the subject line to specify which notebook my email is hooked into. Or to get more than one email address would be great as well. Or to be able to set up gmail-style labeling rules, so that an email can be auto-labeled into a notebook based on who sends it, subject line, etc.
  14. For mac users here's the applescript version, runs fast and doesn't have the login pop up screen: tell application "Safari" activate do JavaScript " readStyle='style-ebook';readSize='size-large';readMargin='margin-medium';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_readability_script);_readability_css=document.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_css);_readability_print_css=document.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css); " in front document delay 1 set theText to the text of front document set theName to the name of the front document set theURL to the URL of the front document end tell tell application "Evernote" create note the note with text theText title theName synchronize end tell
  15. Works on Firefox 3 for mac and windows xp. the mac has a client installed but not xp. Make sure your browser is set to receive cookies and allow javascript. If you make the script a bookmark, upon clicking it should first reformat whatever page you're on to a clean, text only style. and then the evernote web clip pop up should appear, requesting a sign in if you're not already, and then allowing you to tag, choose notebook, add notes, etc. Make sure the "clip full page" box is selected. I've got a notebook for all my webclips, when I hit the bookmarklet now, I'm already signed in and its set to that notebook. All I do is wait a second for it to reformat and pop up, and hit return. now i've got clean text of an article I want to read later. this was all inspired by instapaper
×
×
  • Create New...