Lecture de fichier “LIT” sous Mac
Après un coup d’oeil rapide je n’ai pas trouvé de moyen de lire directement des livres électroniques au format “LIT” directement sur MAC.
Par contre, un utilitaire (binaire) en combinaison avec un petit script (applescript) font la conversion des “LIT” en format “HTML” que vous pouvez par la suite lire avec Safari ou votre navigateur préféré.
Pour obtenir plus de détails consulter les URL en commentaire dans le script suivant
(* script source : http://www.macosxhints.com/article.php?story=20060716020829624 *)
(* lit conv src : http://www.convertlit.com/index.php *)
property type_list : {}
property extension_list : {"lit"}
on open these_items
repeat with i from 1 to the count of these_items
set this_item to item i of these_items
set the item_info to info for this_item
if (folder of the item_info is false) and Â
(alias of the item_info is false) and Â
((the file type of the item_info is in the type_list) or Â
the name extension of the item_info is in the extension_list) then
process_item(this_item)
end if
end repeat
end open
on process_item(this_item)
set file_path to quoted form of POSIX path of this_item
set this_item to this_item as alias
set file_info to info for this_item
if name of file_info does not end with ".lit" then
display dialog "This application only works on Microsoft .lit files that adhere to appropriate naming conventions." buttons {"Ok"} default button 1
error number -128
end if
-- REMOVE THE DASHES BELOW THIS LINE
do shell script "/bin/c-l-i-t " & file_path & " " & file_path & "_Open_eBook/"
end process_item