View Single Post
Old 01-11-2024, 06:59 AM   #1228
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,209
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by nqk View Post
and {path_to_format} looks like a built-in variable. Where can I find the list of built-in variables like this? I'm interested in path to current book folder
No. It is not a built-in variable. It was defined earlier in the code above it.

Quote:
Originally Posted by nqk View Post
I realize that if this code works out and if I can get necessary variables, I can have external apps (command line interface) do a lot of things.
I've already modified the plugin to solve some of these problems. The test version is attached to this post below.

You can help test by trying out these three scenarios:
  1. Entering the path of the batch file that failed before (it must have a .bat or .cmd extension), and see whether the modifications made to the plugin helps run it as intended. (see screenshot number 1)
  2. If the above fails, repeat but this time check the "Execute command through shell" option. (see screenshot number 2)
  3. Entering the whole command we used yesterday and replacing the format file with the variable {inputfile} (see screenshot number 3)
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	1363
Size:	50.3 KB
ID:	205751   Click image for larger version

Name:	2.jpg
Views:	1364
Size:	48.8 KB
ID:	205752   Click image for larger version

Name:	3.jpg
Views:	1350
Size:	52.5 KB
ID:	205757  

Last edited by capink; 01-13-2024 at 01:51 AM. Reason: Remove zip attachment
capink is offline   Reply With Quote