Wednesday, June 9, 2010

sample examples for DOM

msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.currentstyle.backgroundcolor
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.currentstyle.fontfamily
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.currentstyle.fontsize
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.currentstyle.textAlign
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.currentstyle.backgroundcolor
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.sourceIndex
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.disabled
msgbox Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Learn more").Object.visible

No comments:

There was an error in this gadget