Jump to content

joelkevinjones

Level 1
  • Posts

    1
  • Joined

  • Last visited

Posts posted by joelkevinjones

  1. On 7/25/2021 at 9:30 AM, DTLow said:

    The 'tell" is directed to the desktop Evernote (Legacy) app, and will activate on the desktop

    >>The script below looks like it should be used with Evernote Legacy, in which case, how would I complete "using application"? ... tell application "Finder" to open file ... using application

    Any application can be used to open a file; it works with both Legacy and Version10
    using application "Evernote"      
    or
     using application "EvernoteLegacy"

    The easiest way is to change any script that targeted older versions of Evernote to use Evernote Legacy. For example, 

    tell application "Evernote"
    	set theSelection to selection
    	set theNote to ((properties of item 1 of theSelection) as note)
    	set linkURL to note link of theNote
    	set the clipboard to linkURL
    end tell
    

    can be changed to work with Evernote Legacy by changing tell application "Evernote" to tell application "Evernote Legacy". By the way, this script creates a "local" link to a note in Evernote, that can be pasted into documents on the same machine to reference the currently selected note.

    • Thanks 1
×
×
  • Create New...