>DECLARE Sleep IN WIN32API INTEGER nMilli >LOCAL oShell AS WScript.Shell > >oShell = CREATEOBJ('Wscript.Shell') > >oShell.AppActivate("whatever") >Sleep(1000) > >*!* ** Login >*!* oShell.SendKeys(lcPassword) >*!* Sleep(1000) >*!* oShell.SendKeys("{TAB}") >*!* Sleep(1000) >*!* oShell.SendKeys("{ENTER}") >*!* Sleep(1000*10) >*!* oShell.SendKeys("%") && % = Alt (active menu) >*!* Sleep(1000) >*!* oShell.SendKeys("F") >*!* Sleep(1000) >*!* oShell.SendKeys("O") >*!* Sleep(1000) >*!* oShell.SendKeys("{ENTER}") >*!* oShell.SendKeys("{TAB}") >*!* Sleep(1000) >oShell = NULL >>