7 messages in org.openoffice.fr.progRe: [prog] setFormula : Bug ou c'est ...
FromSent OnAttachments
Emmanuel S.Oct 5, 2004 4:20 pm 
Alain NowakOct 6, 2004 12:25 am 
Emmanuel S.Oct 6, 2004 1:24 am 
JovialOct 6, 2004 11:41 am 
Emmanuel S.Oct 6, 2004 1:58 pm 
Laurent GodardOct 6, 2004 10:30 pm 
Philippe progOOOct 21, 2004 12:38 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] setFormula : Bug ou c'est moi ?Actions...
From:Emmanuel S. (emma@free.fr)
Date:Oct 6, 2004 1:58:57 pm
List:org.openoffice.fr.prog

Merci, mais non c'est pas les parenthèses, j'avais déjà essayé ...

J'ai aussi essayé tout ça, mais rien ne fait : Shell("find /mnt/cdrom -type d > ~/lecdrom.txt",2) Shell("/bin/bash",1,"find /mnt/cdrom -type d > ~/lecdrom.txt",false) Shell("/bin/bash",1,"find /mnt/cdrom -type d > ~/lecdrom.txt",true) Shell("/bin/bash find /mnt/cdrom -type d > ~/lecdrom.txt",2)

OOo ne me renvoie pas d'erreur, mais ca ne marche pas. Je pense qu'il s'agit de ma ligne de commande : find /mnt/cdrom -type d

~/lecdrom.txt qui ne fonctionne pas,

car si je met Shell("/usr/bin/ark",2) par exemple, ca marche.

Il y a un truc que je pige pas...

Manu

Jovial a écrit :

Je pense qu'il manque les parenthèses

Shell "find /mnt/cdrom -type d > ~/lecdrom.txt"

Par contre je met exactement la même commande dans la console et ca marche ???

Chez moi : Shell("C:\windows\calc.exe",2) Fonctionne

Tu peux trouver + d'info dans la documentation sur la programmation l'Api (presque) sans peine :http://fr.openoffice.org/Documentation/How-to/Basic/OOo_API_intro-05.sxw Le guide d'Andrew en français :http://fr.openoffice.org/Documentation/Guides/Andrew5.pdf Manuel de programmation basic SO7 en français :http://api.openoffice.org/TipsAndTricks/external.html

bonne suite