View Single Post
Old 11-27-2020, 07:56 PM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
There is a copy to clipboard action in action chains plugin. It allows you to define a template to determine what metadata to copy to clipboard for selected books. For example, if you want to copy the path (containing folder) of selected books, use the following template:

Code:
program: 
    paths = formats_paths();
    fmt_path = re(paths, ',[A-Z0-9_]+:.*', '');
    path = list_item(fmt_path, 1, ':');
    dir_path = re(path, '(.+)[/\\].*', '\1')
Note: I tried the above on linux, have not tested it on Windows.

Or, if you want the path to a specific format e.g. epub, use this

Code:
program: select(formats_paths(),'EPUB')
capink is offline   Reply With Quote