Guy Voets a écrit :
Tu peux trouver le dernier cru de X11 (actuellement la 2.2.3) à
http://xquartz.macosforge.org/trac/wiki/Releases

Le message "command timed out" s'affiche toujours avec cette version de X11.

Je suis tombé par hasard sur cet article :

http://shaunmcdonald131.blogspot.com/2008/03/ooo-possible-fix-for-command-timed-out.html



Dans le fichier :

"OpenOffice.org 2.4.app/Contents/Resources/Scripts/main.scpt"

En remplaçant ce qui se trouve entre :

"on openSoffice(aFile)"  et "end openSoffice"

par :

on openSoffice(aFile)
 if (atLeastOSXVersion(10, 5, 0)) then
  -- if we have leopard, we don't need to manually start the X server first
set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & "soffice")) & " "
  do shell script theCmd & aFile & shellTerminator()
 else
  set theDisplay to startXServer()
  if (theDisplay is equal to "error") then
   return
  end if
  set theEnv to "DISPLAY=" & theDisplay & " ; export DISPLAY; "
set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & "soffice")) & " "
  do shell script theEnv & theCmd & aFile & shellTerminator()
  -- logEvent("open CMD: " & theEnv & theCmd & aFile)
 end if
end openSoffice

Le message n'apparaît plus.

Testé sous 10.5.3 avec OOo 2.4.1.

A utiliser avec toutes les précotions nécessaires. Je ne suis pas du tout calé en applescript.

Bonne journée.

--
Ronan




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Répondre à