Jump to content

Recommended Posts

  • Level 5*
8 hours ago, Traveller1 said:

Is it possible to create an EN (automatic) import folder on a Mac? I see it is possible for windows. This would be useful.

Yes, it's possible to have an import folder on a Mac
Instead of an EN feature, it's driven by the OS

Right-click on the folder and    Services > Folder Actions Setup918342595_ScreenShot2019-06-03at05_51_29.png.3f66df621e6da365c1f3cf5ea29038cd.png

As you can see in the screenshot
- folders on the left and scripts on the right

The script can be very complex; here's a simple version 
     on adding folder items to thisFolder after receiving newFiles
          
repeat with newFile in newFiles
               
tell application "Evernote" to create note from file newFile
               
tell application "Finder" to delete (newFile)
           
end repeat
     end adding folder items to
This is AppleScript, more details at https://discussion.evernote.com/topic/112316-scripting-on-a-mac-applescript/

 

Link to comment

I figured out how to create an applescript to auto import photos with a tag. Here it is. Obviously, change the notebook, tag, and import folder to your situation:

 

on run {input, parameters}
    
    repeat with this_item in the input
        set the item_info to info for this_item
        tell application id "com.evernote.evernote"
            activate
            create note from file this_item notebook "Photobackup" tags "photo_backup"
        end tell
    end repeat
    return input
    return input
end run

Link to comment
  • Level 5*
1 hour ago, Traveller1 said:

I figured out how to create an applescript to auto import photos with a tag. Here it is. Obviously, change the notebook, tag, and import folder to your situation:

I'm not seeing the import folder in your script

Yes, the script can get more complex; setting title, notebook, tags, ....

I'm a big fan of scripting

Link to comment
5 hours ago, DTLow said:

I'm not seeing the import folder in your script

Yes, the script can get more complex; setting title, notebook, tags, ....

I'm a big fan of scripting

Whoops, let me clarify. This is part of automator. The automator commands before this script select the folder. I have become a moderate fan of scripting.

screenshot-  2019-06-04 at 05.46.09.jpg

  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...