07-26-2011, 02:15 PM
Why focus is required for that?
Code:
txt=Browser().page().webedit().getROproperty("value")
if len(txt)<>0 then
msgbox 'something is already present'
else Browser().page().webedit().set "new value"
end if