2014-05-12 49 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

相關問題