title: How to automate with python software sessions with assigned unique dynamic parameter?
body: <p>I've tried to automate UCL Enchance tasks, but after selection of file from list each consecutive session has unique dynamic parameter for any task. I programmed using SWAPY32bit.exe tool for pywinauto. How to automate software with unique parameters for any task?</p>
  
  <p>UCL Enhance Home Page - UCL Phonetics and Linguistics
  <a href="http://www.phon.ucl.ac.uk/resource/sfs/enhance.php" rel="nofollow noreferrer">www.phon.ucl.ac.uk/resource/sfs/enhance.php</a></p>
  
  <pre><code>from pywinauto.application import Application
  
  from pywinauto.timings import Timings
  import time
  
  app = Application().Start(cmd_line=u'"C:\\Program Files\\SFS\\Enhance\\enhance.exe"')
  afxbd = app[u'Untitled - UCLEnhance']
  afxbd.Wait('ready')
  time.sleep(3)
  menu_item = afxbd.MenuItem(u'&amp;File-&gt;&amp;1 File.wav')
  menu_item.Select()
  time.sleep(3)
  app = Application().Start(cmd_line=u'"C:\\Program Files\\SFS\\Enhance\\enhance.exe"')
  afxbd = app[u'File.wav - UCLEnhance']
  menu_item = afxbd.MenuItem(u'&amp;File-&gt;&amp;Save Original &amp;As...\tCtrl+S')
  menu_item.Select()
  </code></pre>