| 
			
			 | 
		#31 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#32 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 277 
				Karma: 1004969 
				Join Date: Mar 2007 
				
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I'm attaching the script I'm trying to use in case it's helpful to anyone.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#33 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Run the import at a terminal with 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibredb add path_to_lit_file  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#34 | |
| 
			
			
			
			 Jeffrey A. Carver 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,355 
				Karma: 1107383 
				Join Date: Aug 2008 
				Location: Massachusetts, USA 
				
				
				Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+ 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#35 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 277 
				Karma: 1004969 
				Join Date: Mar 2007 
				
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Finally got it working. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			The relevant line is: subprocess.call('"C:\Program Files\Microsoft Office\OFFICE11\winword.exe"',shell=True) even using notepad++ it ended up giving me fits with the end of line characters and indentation. But, anyone who wants to be able to run Dos Command Line should be able to with this. Last edited by junkml; 01-02-2009 at 09:49 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#36 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 18 
				Join Date: Jan 2009 
				Location: Minnesota 
				
				
				Device: PRS-505, iPhone 3GS, iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I tried the Run Command plugin and nothing is happening. I was able to add the plugin but when I imported a LIT file nothing happened. This plugin should run when I import a LIT file correctly? What did I do wrong?? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Drew  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#37 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() Posts: 63 
				Karma: 244 
				Join Date: Dec 2008 
				Location: Dubai 
				
				
				Device: Sony PRS-T1 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've been away for a while, but I am impressed! Thanks for doing this so fast Kovid!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#38 | 
| 
			
			
			
			 Illiterate 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279 
				Karma: 37848716 
				Join Date: Mar 2009 
				Location: The Sandwich Isles 
				
				
				Device: Samsung Galaxy S10+, Microsoft Surface Pro 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Pardon the newbe question, but I have a Python script that will strip the DRM from a mobi file with the syntax: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	name_of_script.py inputfile output_path\file PID Can this script be used as an input filter plugin for Calibre? If I could get this working I might see my way clear to get off some dinaro! ![]()  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#39 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It can but helping you do this would be against forum policies
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#40 | |
| 
			
			
			
			 Chocolate Grasshopper ... 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599 
				Karma: 20821184 
				Join Date: Mar 2008 
				Location: Scotland 
				
				
				Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 can anyone assist me with the same (pm ofc)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#41 | 
| 
			
			
			
			 The Dank Side of the Moon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35,930 
				Karma: 119747553 
				Join Date: Sep 2009 
				Location: Denver, CO 
				
				
				Device: Kindle2 & PW, Onyx Boox Go6 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre GUI behavior between machines | phenomshel | Calibre | 2 | 08-21-2010 07:28 PM | 
| Editing Capabilities in calibre | GJN | Calibre | 3 | 12-21-2009 06:59 PM | 
| Calibre 0.6.10 GUI crashes on startup | Wagenius | Calibre | 1 | 09-03-2009 02:53 AM | 
| Mobi2mobi GUI has died again/New version? | AlexBell | Kindle Formats | 8 | 12-10-2008 09:13 PM | 
| Calibre GUI crash on convert | aapezzuto | Calibre | 1 | 08-02-2008 07:39 PM |