how can i know the link the user press in web object
Professional Software Development Tools
how can i know the link the user press in web object
There's no real way in AMS with the native object, However retesets IExplorer Object plugin may help you there.
A workaround allbeit a little clunky would be to use Web.GetURL fired by the page timer 2 or 3 times a second. A quick compare of two variables to see if the URL has changed and if so store the new URL.
i wont to know if user pres on link in web object then i get the link in string on message box.
The attached example does what you are asking for as far as I can see (more or less). If not, then perhaps you should re-phrase your question.
If you place a script in the On Navigate event of your web object, you can easily use the e_URL variable to retrieve the address of the link that was clicked by the user. If you don't want him to leave the current page, use an anchor instead of a link.
http://www.indigorose.com/webhelp/am...tm#On_Navigate
Ulrich
Last edited by Ulrich; 12-16-2008 at 05:10 AM.