|  12-26-2020, 01:58 PM | #196 | |
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | Quote: 
 This time I did get an error in Ransack, which seems to indicate that AC tried to send the paths before the argument (the intended command-line is posted in #192 for reference). Not sure if that's another Linux difference.* Code: 2020.12.26 14:56:07:786 Unexpected command line parameter: D:\Documents\My Books\Jenny Oldfield\Starlight (5627) Code: Action Chains: Starting chain: Search with Agent Ransack Action Chains: Search with Agent Ransack: starting action No. 1: Open With Open: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe (file): "D:\Documents\My Books\Jenny Oldfield\Steamboat Charlie (5626)" "D:\Documents\My Books\Jenny Oldfield\Starlight (5627)" (args): -d mutiple: True About to run a command: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe Job Spy: self.gui.tags_view.recount() is enhanced for showing icons of user category child values... Action Chains: chain (Search with Agent Ransack) finished in: 0.28754210472106934 Last edited by ownedbycats; 12-26-2020 at 02:06 PM. | |
|   |   | 
|  12-26-2020, 02:51 PM | #197 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			OK, I changed the way multiple selections work (not sure how this affects macos). I replaced the previous test version with another one (in the same post). If this one does not work, or breaks the functionality for other platforms, I will remove the multiple selections and revert to a simpler one selection only. I need someone to confirm that this is working on macos at least for single selections. Also, I need the debug output for your first problem with the action condition, that is more critical to deal with. | 
|   |   | 
| Advert | |
|  | 
|  12-26-2020, 03:18 PM | #198 | |
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 They are also used to delimit Alternate Data Stream names. Notepad knows about them - create a file (e.g.my.file), and then run the command: "notepad my.file:note". See https://en.wikipedia.org/wiki/NTFS#A...eams_.28ADS.29 BR | |
|   |   | 
|  12-26-2020, 03:25 PM | #199 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			This time, I got the "unexpected command line parameter" for both books. Ransack's error log: Code: 2020.12.26 16:14:42:871 App version: 8.5.2951.1 ------------------- 2020.12.26 16:14:44:296 Unexpected command line parameter: D:\Documents\My Books\Jenny Oldfield\Steamboat Charlie (5626) ------------------- 2020.12.26 16:14:45:062 Unexpected command line parameter: D:\Documents\My Books\Jenny Oldfield\Starlight (5627) ------------------- 2020.12.26 16:14:46:061 Search stopped Code: Action Chains: Starting chain: Search with Agent Ransack Action Chains: Search with Agent Ransack: starting action No. 1: Open With Open: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe (file): ['D:\\Documents\\My Books\\Jenny Oldfield\\Steamboat Charlie (5626)', 'D:\\Documents\\My Books\\Jenny Oldfield\\Starlight (5627)'] (args): -d sep: ; About to run a command: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe Job Spy: self.gui.tags_view.recount() is enhanced for showing icons of user category child values... Action Chains: chain (Search with Agent Ransack) finished in: 0.22805213928222656 edit: moving conditional stuff to new post Last edited by ownedbycats; 12-26-2020 at 05:40 PM. | 
|   |   | 
|  12-26-2020, 05:34 PM | #200 | |
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | Quote: 
 Another version attached to the same post. Hopefully this one does it. | |
|   |   | 
| Advert | |
|  | 
|  12-26-2020, 05:46 PM | #201 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			The conditional seems to be working now. Here's some debug info if you want to see it anyways. Here's the chain: Spoiler: 
 Debug log (I canceled the restore and re-upload): Spoiler: 
 Last edited by chaley; 12-26-2020 at 05:49 PM. Reason: Added spoilers | 
|   |   | 
|  12-26-2020, 06:04 PM | #202 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			Sorry, I decided to split off my conditional post at the same time you posted.
		 | 
|   |   | 
|  12-26-2020, 06:15 PM | #203 | ||
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | Quote: 
 Quote: 
 Code: 2020.12.26 19:13:22:342 App version: 8.5.2951.1 ------------------- 2020.12.26 19:13:25:509 Unexpected command line parameter: ;D:\Documents\My Books\Jenny Oldfield\Starlight (5627) ------------------- 2020.12.26 19:13:26:502 Search stopped Code: Action Chains: Starting chain: Search with Agent Ransack Action Chains: Search with Agent Ransack: starting action No. 1: Open With Open: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe (file): ['D:\\Documents\\My Books\\Jenny Oldfield\\Steamboat Charlie (5626)', 'D:\\Documents\\My Books\\Jenny Oldfield\\Starlight (5627)'] (args): -d mutiple: True About to run a command: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe Job Spy: self.gui.tags_view.recount() is enhanced for showing icons of user category child values... Action Chains: chain (Search with Agent Ransack) finished in: 0.8465745449066162 Last edited by ownedbycats; 12-26-2020 at 06:28 PM. | ||
|   |   | 
|  12-26-2020, 06:19 PM | #204 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			Some links that may be of assistance: https://ss64.com/nt/syntax-esc.html https://www.robvanderwoude.com/escapechars.php Last edited by ownedbycats; 12-26-2020 at 06:21 PM. | 
|   |   | 
|  12-26-2020, 06:33 PM | #205 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			OK, a new version is attached to the same post. It does not change anything, but adds an additional debug statement. Just to know if I am doing something wrong. It should print the whole command.
		 | 
|   |   | 
|  12-26-2020, 06:51 PM | #206 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | Code: Action Chains: Starting chain: Search with Agent Ransack Action Chains: Search with Agent Ransack: starting action No. 1: Open With Open: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe (file): ['D:\\Documents\\My Books\\Jenny Oldfield\\Steamboat Charlie (5626)', 'D:\\Documents\\My Books\\Jenny Oldfield\\Starlight (5627)'] (args): -d mutiple: True sep: ; debug1: cmd: "C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe" -d "D:\Documents\My Books\Jenny Oldfield\Steamboat Charlie (5626)" ;"D:\Documents\My Books\Jenny Oldfield\Starlight (5627)" About to run a command: C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe Job Spy: self.gui.tags_view.recount() is enhanced for showing icons of user category child values... Action Chains: chain (Search with Agent Ransack) finished in: 0.7905950546264648 | 
|   |   | 
|  12-26-2020, 06:54 PM | #207 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			Check the settings box and make sure it has no extra space.
		 | 
|   |   | 
|  12-26-2020, 06:58 PM | #208 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			There was a space in there. I removed it and it worked!
		 | 
|   |   | 
|  12-26-2020, 07:03 PM | #209 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			Thank you!
		 | 
|   |   | 
|  12-28-2020, 04:18 AM | #210 | 
| Hedge Wizard            Posts: 802 Karma: 19999999 Join Date: May 2011 Location: UK/Philippines Device: Kobo Touch, Nook Simple | 
				
				Quick Question
			 
			
			Hi I have been playing with the plugin recently and have been trying to set up a chain that "clicks on" certain icons in Calibre Editor. I have not yet found a way of doing this. Am I missing something or is it not possible without writing a load of code? Last edited by Thasaidon; 12-28-2020 at 04:18 AM. Reason: typo | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Action Chains Resources | capink | Plugins | 80 | 09-18-2025 04:45 AM | 
| [Editor Plugin] Editor Chains | capink | Plugins | 106 | 06-17-2025 05:36 PM | 
| [GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM | 
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |