View Single Post
Old 06-19-2017, 07:34 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by masteranza View Post
Hi, so I've been a happy LibrarianSync user as I use it to sync my books folder with kindle through custom collection rebuild from folders.
Now I'm after a new endeavour, namely in automatic assignment of articles which come by Amazon mail (I often mail articles from the my laptop browser directly to my Kindle) to a specific folder.

I think I have a rough idea how to do it but I couldn't notice any new process spawning with incoming content by using 'ps -aux' command...
So my question would be - has someone identified the process which handles the content delivery on kindle? What should I monitor? Perhaps someone already wrote a content delivery monitor?

Thanks!
The Amazon OS is an event driven system.
Significant events are logged into a message log (system).

So the first thing to do, is take advantage of that feature.
Very soon after (to simplify the searching) receiving one of these things you want to know about, do the 'dump messages' command.
Then read the files produced (preferable on a large screen monitor - although you can read them on the Kindle).

Once you spot the event messages related to what you want to know about, you can figure out what to 'wait for' to trigger your own actions.

In the searchbar, enter:
;dm
The semi-colon is part of the command ';dm' (dump messages).

The log format is very simple and not 'hidden' in any way, you'll figure out how to read them in a few minutes of study.
knc1 is offline   Reply With Quote