Hi there,
I'm looking for a bit of plugin advice as I'm unsure as to what the best option might be. I have a
standalone application that generates Kindle X-Rays and other misc files. My ultimate goal is to have the "send to device" option also send the .asc files when it sends the book and apnx file (which I now realize is generated within the device driver itself).
I was hoping to simply save them in the same location as the book file but after much fiddling I discovered that the device driver has no method of accessing the original path of the book it is sending, so it is unable to scan for/send any additional files from that path.
My plan B ideas are either:
- Hook into the 'send to device' process before the book is copied to the temp location and save the path somewhere the driver can access (requires no configuration but is messy/unsafe/unreliable?)
- Add a setting to specify the path to the X-Ray Builder output directory and scan/send files from there (is there an option to add a folder-chooser to the plugin preferences dialog?) -- requires minor config, thus less ideal, but if it works it works...
Any thoughts?
Thanks