Skip to main content
Question

Run FME with AutoIT

  • September 9, 2013
  • 0 replies
  • 6 views

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  
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.