Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: EPUB - not able to add cover images

$
0
0

Hi Praveen,

 

I’m not a scripter, but it seems, that only the full path with ":" instead of "/" is honored on a Mac?!

 

Steps to reproduce:

 

1. Import your image on a page in InDesign and select it

2. app.selection[0].graphics[0].itemLink.filePath; // gives you the full path of your image

3. myDoc.epubExportPreferences.coverImageFile = 'MBook:Users:mbadmin:Desktop:E:Cover.jpg'; // works for me

 

best

Kai


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>