>WizardName = "CD Writing Wizard" >DO WaitForWizardToStart >DO StartWizardWriting with "My File Name" >DO WaitForWizardToStop > >procedure WaitForWizardToStart > >oShell = CreateObject("WScript.Shell") > Do WHILE ! oShell.appactivate(WizardName) > Sleep 500 > Loop > Enddo > >procedure StartWizardWriting >PARAMETERS name > > oShell = CreateObject("WScript.Shell") > oShell.appactivate(WizardName) > oShell.SendKeys(name) > oShell.appactivate(WizardName) > oShell.SendKeys("Enter") > >procedure WaitForWizardToStop > > oShell = CreateObject("WScript.Shell") > Do WHILE ! oShell.appactivate("CD Writing Wizard") > *' Keep script running until Dialog is gone, > *' or else the wizard will close. > sleep 500 > Loop > Enddo >>I'd be extremely grateful for any ideas anyone has on converting this C++ to VFP - thanks ahead of time :)