3 messages in org.openoffice.fr.prog[prog] OOo1.1.4 - Une macro rétissent...
FromSent OnAttachments
Ludovic CHEVALIERDec 24, 2004 8:06 am 
Laurent GodardDec 24, 2004 8:49 am 
Ludovic CHEVALIERDec 24, 2004 8:56 am 
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:[prog] OOo1.1.4 - Une macro rétissente à l'executionActions...
From:Ludovic CHEVALIER (tens@no-log.org)
Date:Dec 24, 2004 8:06:37 am
List:org.openoffice.fr.prog

Bonjour, J'ai créé une macro qui ne veut pas s'exécuter, a priori, pour des histoires de
sécurité. 1. Croyez vous vraiment qu'elle soit dangereuse??? 2. Comment faire pour forcer l'execution?

sub Actualiser_Niveau1 rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ---------------------------------------------------------------------- dispatcher.executeDispatch(document, ".uno:Refresh", "", 0, Array()) end sub

Ludo