Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2009, 06:09 PM   #1
dedo
Enthusiast
dedo doesn't litterdedo doesn't litter
 
dedo's Avatar
 
Posts: 45
Karma: 198
Join Date: May 2007
Location: Italy
Device: iRex DR800
Launch file from script

I'd like to open a pdf from a bash script run.sh
In the pdf folder there is the corresponding manifest.xml
Is it possible to "launch" the manifest.xml?
dedo is offline   Reply With Quote
Old 07-21-2009, 02:35 AM   #2
Max
Connoisseur
Max has a complete set of Star Wars action figures.Max has a complete set of Star Wars action figures.Max has a complete set of Star Wars action figures.Max has a complete set of Star Wars action figures.
 
Max's Avatar
 
Posts: 79
Karma: 380
Join Date: Mar 2008
Location: Girona, Spain
Device: iLiad, DR1000s
No, the manifest.xml is a XML file with info about the file, like the title, last page readed, orientation, etc...

The pdf reader is ipdf, the command ipdf [pdf_name] sould open the document, I never try my self. But, it seams that ipdf will not recive the buttons signals, see this thread https://www.mobileread.com/forums/showthread.php?t=34292
Max is offline   Reply With Quote
Advert
Old 07-21-2009, 04:02 AM   #3
dedo
Enthusiast
dedo doesn't litterdedo doesn't litter
 
dedo's Avatar
 
Posts: 45
Karma: 198
Join Date: May 2007
Location: Italy
Device: iRex DR800
I thought I could use something like "contentLister manifest.xml", but it didn't work.
dedo is offline   Reply With Quote
Old 07-21-2009, 04:32 AM   #4
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Shell script can be executed from manifest.xml by adding a line in manifest.xml (after "<y-metadata>"):
<startpage>run.sh</startpage>

If you open pdf from shell script (using ipdf), you may encounter some problem as described by Max.
ericshliao is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A little newb help? Launch Calibre via batch file with "Start in tray" modifier jphphotography Calibre 7 01-04-2011 11:49 AM
conversion script JeffElkins Calibre 2 03-28-2009 03:06 AM
New feature: CHM and file launch support astrodad Calibre 3 12-09-2008 11:50 AM
iLiad Can't run my first script ragdoll iRex Developer's Corner 4 01-28-2008 06:40 AM
Would anyone be interested in this script... coleman Sony Reader 2 07-26-2007 11:30 AM


All times are GMT -4. The time now is 02:09 PM.


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