03-11-2010, 05:59 PM
i guess sendkeys should work here.
you just need to ativate the edit box by clicking there before sending the enter/tab.
I would prefer to send Tab key instead of Enter (if AUT permits)
try this
let me know if this helps.
you just need to ativate the edit box by clicking there before sending the enter/tab.
I would prefer to send Tab key instead of Enter (if AUT permits)
try this
Code:
set WshShell = CreateObject("WScript.Shell")
AMA.WebEdit("name:=equipmentIdList").Set "PACU 898375"
AMA.WebEdit("name:=equipmentIdList").Click
WshShell.SendKeys"{TAB}"
'or try sending Enter as well
'WshShell.SendKeys"{ENTER}"
let me know if this helps.