Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2011, 07:36 AM   #1
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Launching Kindle Previewer from command line?

Anyone know if it's possible to launch the Kindle Previewer from a command line with the file to open as an argument?

When I try to do so, I get an error:
Code:
The document cannot be opened.  Java cannot open files of this type.

The same file can be dragged onto Kindle Previewer and opened, or opened from the menu, so it's not a problem with the file itself.


I'm guessing that it's either not supported, or there's a special syntax for passing the file.


G
GRiker is offline   Reply With Quote
Old 01-29-2011, 07:41 AM   #2
Acorn
Enthusiast
Acorn began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Wild guess here, but maybe it gets converted by something else first and then passed to the previewer? To be honest, I'm not even sure what the Kindle Previewer is..
Acorn is offline   Reply With Quote
 
Enthusiast
Old 01-29-2011, 08:50 AM   #3
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 971
Karma: 1382338
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro, Kindle 3/WiFi - Retired:Clie UX50, T415, ...
It doesn't seem to be supported by the Kindle Previewer app. I've tried using Windows' "Open with..." functionality and while Kindle Previewer launches, it does so without opening the file, totally ignoring the filename passed to it.
dwig is offline   Reply With Quote
Old 01-29-2011, 09:09 AM   #4
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
@dwig: Thanks for confirming. I was hoping for possibly a switch prefix (-o?), but I can't seem to shake any help content out of the app from the cli.

G
GRiker is offline   Reply With Quote
Old 01-29-2011, 08:00 PM   #5
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Quote:
Originally Posted by GRiker View Post
Anyone know if it's possible to launch the Kindle Previewer from a command line with the file to open as an argument?

When I try to do so, I get an error:
Code:
The document cannot be opened.  Java cannot open files of this type.

The same file can be dragged onto Kindle Previewer and opened, or opened from the menu, so it's not a problem with the file itself.


I'm guessing that it's either not supported, or there's a special syntax for passing the file.


G
It's probably not supported ^_^

I tried dragging/dropping onto the file as well, and it just opened as if nothing happened.
kranu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Specify liberary path in command line when launching calibre rollercoaster Calibre 2 03-04-2010 12:08 AM
Where are the command line tools? PaulChernoch Calibre 17 10-23-2009 12:08 PM
Why use the command line? slantybard Calibre 6 07-22-2009 12:17 PM
Launching Calibre from Command Prompt itimpi Calibre 7 04-02-2009 07:26 PM
Errors on Command Line drnkusv Calibre 11 11-07-2008 02:59 PM


All times are GMT -4. The time now is 12:30 PM.


MobileRead.com is a privately owned, operated and funded community.