Created
          July 14, 2018 16:40 
        
      - 
      
 - 
        
Save ChrisSavoie/b201495deafcaf797b750e52e1485523 to your computer and use it in GitHub Desktop.  
    Create Lilypad Client Brief Evernote Automation Script
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | set theResponse to display dialog "Client Name" default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue" | |
| set myQuery to "tag:^" & text returned of theResponse & "*" | |
| set lilyResume to "tag:\"π Resume\" " & myQuery | |
| set lilyInterview to "tag:\"π£ Interview\" " & myQuery | |
| set lilyCoverLetter to "tag:\"π Letters\" " & myQuery | |
| set lilyDocuments to "tag:\"π LinkedIn\" " & myQuery | |
| tell application "Evernote" | |
| set myNotes to find notes lilyResume | |
| -- open collection window with query string lilyResume | |
| set myNote to item 1 of myNotes | |
| open note window with myNote | |
| set myNotes to find notes lilyInterview | |
| -- open collection window with query string lilyInterview | |
| set myNote to item 1 of myNotes | |
| open note window with myNote | |
| set myNotes to find notes lilyCoverLetter | |
| -- open collection window with query string lilyCoverLetter | |
| set myNote to item 1 of myNotes | |
| open note window with myNote | |
| set myNotes to find notes lilyDocuments | |
| -- open collection window with query string lilyDocuments | |
| set myNote to item 1 of myNotes | |
| open note window with myNote | |
| end tell | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment