Windows Scripting Overview
As of version 3.0.0.842, Evernote for Windows includes the "ENScript.exe" utility, which can be used to automate a set of operations via command-line options. To invoke the ENScript.exe utility from a shell script or from the Windows command shell, Evernote's program directory must be in your shell "Path", or you must give the full location of the ENScript.exe utility when you invoke the command.
C:\> c:\Progra~1\Evernote\Evernote3\ENScript.exe /?ENScript v1.00, built on Sep 29 2008 09:13:12 Copyright (c) 2007-2008 Evernote Corp. All rights reserved. Usage: ENScript <command> [options] Commands: createNote - creates note from the specified file path or url importNotes - imports notes from the specified export file showNotes - displays specified notes in the Evernote window printNotes - prints specified notes from the Evernote window exportNotes - exports specified notes into a file createNotebook - creates a notebook listNotebooks - lists specified notebooks to standard output syncDatabase - synchronizes database to the service Type "ENScript <command> /?" to get command specific help. @filename - specifies response file name contaning options one per line. Command line options that follow response file name specification override options specified in the response file.
To receive more information on any of the ENScript commands, invoke the command with the '/?' argument:
C:\> c:\Progra~1\Evernote\Evernote3\ENScript.exe syncDatabase /?
Usage: ENScript syncDatabase [options] Options: /l file name - log file name. Use standard log if omitted. Ignored in GUI implementation. /u username - user name if not the same as database file name. /p password - user password to confirm Evernote service access. /d database - database file name if user name is not specified. If both database file name and user name are not specified, last login name is used and if there is none, USERNAME environment variable value is used as a user name.
