

We choose for a specific Internet Explorer interface 'DWebBrowserEvents' because the IE is subject hWnd ) Remember the Window, in case user decides to close it Height = 400 Make it a bit smaller than our GUI. $oIE = ObjCreate ( "InternetExplorer.Application.1" ) We prepare the Internet Explorer as our test subject $GUIProg = GUICtrlCreateProgress ( 10, 5, 580, 10 ) $GUIMain = GUICreate ( "Event Test", 600, 500 ) Nous utilisons une GUI très simple pour montrer les résultats de nos événements. Requiert au moins AutoIt beta version 3.1.1.104 ! Exemple de script, montrant l'utilisation des fonctions événements COM. Using this you could open Acrobat and close it cleanly. One of the key features it has which will solve your problem is it can run as macro so you can open say notepad pass the alt keys to it to open a file type some text save the file and pass alt X to exit. Be sure to get the full package with GUI tools and editor. In all these cases I always recommend Autoit3 from Its the tool for the job its FREE creates a exe and loads of support very very easy to use. The problem may be some process not finishing and the batch file running on before the last task is finished You could do some check on that. this would show any changes it may be possible to skip what you are doing and apply the changes some other way. What does register Interwoven-integration actually do does it change the register or make file changes? You could run manually and test with Reg snapshot from The script hangs when trying to process the command "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" (above). "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" :: Open then close Adobe Reader 9 to register Interwoven-integration :: \\server\share\AdobeReader9\subinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe" /grant=everyone=F Xcopy /Q /R /Y \\server\share\AdobeReader9\NRTDDE.INI "C:\Program Files\Interwoven\WorkSite" :: Update NRTDDE.INI to amend path to new Adobe Acrobat executable Xcopy /Q /R /Y \\server\share\AdobeReader9\IManAcrobatReader.api "C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins\Interwoven" Mkdir "C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins\Interwoven" :: Copy IManAcrobatReader.api to the local machine to re-enable Interwoven-integration Msiexec /i \\server\share\AdobeReader9\AcroRead.msi TRANSFORMS=\\server\share\AdobeReader9\ar9.mst /qb! /norestart ALLUSERS=1 /l*vx C:\AdobeReader9.log Here are the full contents of the batch file:. The EULA is accepted within the MST so this is not the problem.
