3 messages in org.openoffice.fr.progRe: [prog] Lancer script python depu...
FromSent OnAttachments
Rémi BSep 22, 2008 2:55 am 
Laurent GodardSep 22, 2008 3:06 am 
Rémi BSep 22, 2008 2:07 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Lancer script python depuis macro Basic était Re: Énigme taille d'images jpg ?Actions...
From:Laurent Godard (lgod@indesko.com)
Date:Sep 22, 2008 3:06:28 am
List:org.openoffice.fr.prog

Bonjour remi

Une idée que je n'ai pas approfondie davantage afin de surmonter cet obstacle...Il existe des scripts python qui, modulo quelques modifications, devraient permettre d'effacer les données EXIF d'une image.

De manière plus générale, comment peut-on lancer un script python depuis une macro OOo Basic ? ou l'inverse ?

je pense que tu peux faire un wrapper pyUNO qui cree un service que tu peux instancier depuis une macro avec une createUnoService

Tu peux egalement ecrire ta macro entierement en python si tu le desires voir http://wiki.services.openoffice.org/wiki/Extensions_development_python

Laurent