2014-05-12 26 views

回答

1

你可以尝试以下:

on error resume next 
session.findById("wnd[1]").setfocus 
if err.number = 0 then 
    msgbox "The SAP GUI element exists." 
else 
    msgbox "The SAP GUI element does not exist." 
end if 
on error goto 0 

问候, ScriptMan

相关问题