Skip to main content
Hi,

 

 

Does anyone know the correct syntax to run FME using AutoIT?

 

I could use Python which works very nicely although then I get problems with the user installing PyQT etc.

 

 

Some of my attempts:

 

#include <Process.au3>   Global $PID ;RunWait("C:\\apps\\FME2013\\fme.exe \\\\nbnco.local\\filestore\\SYD-Users\\kenburger\\Documents\\My FME Workspaces\\Test.fmw") RunWait("C:\\apps\\FME2013\\fme.exe \\\\nbnco.local\\filestore\\SYD-Users\\kenburger\\Documents\\My FME Workspaces\\Test.fmw --SourceDataset_MITAB C:\\MapInfo\\2CFS-07_FDAs.TAB --DestDataset_CSV C:\\MapInfo") ;$PID = Run('C:\\apps\\FME2013\\fme.exe Test.fmw Test.fmw --SourceDataset_MITAB C:\\MapInfo\\2CFS-07_FDAs.TAB --DestDataset_CSV C:\\MapInfo') ;Send("Test.fmw STest.fmw SourceDataset_MITAB C:\\MapInfo\\2CFS-07_FDAs.TAB DestDataset_CSV C:\\MapInfo") ProcessWaitClose($PID) ConsoleWrite($PID&@CRLF)

 

;FME quote: ;    fme.exe Test.fmw ;          --SourceDataset_MITAB C:\\MapInfo\\2CFS-07_FDAs.TAB ;          --DestDataset_CSV C:\\MapInfo  
Be the first to reply!

Reply