View Full Version : how can i know the link the user press in web object
how can i know the link the user press in web object
ShadowUK
12-16-2008, 01:51 AM
There's no real way in AMS with the native object, However retesets IExplorer Object plugin may help you there.
longedge
12-16-2008, 02:37 AM
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.
longedge
12-16-2008, 03:47 AM
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.
Ulrich
12-16-2008, 06:08 AM
how can i know the link the user press in web object
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/ams/Program_Reference/Script_Editor/Events.htm#On_Navigate
Ulrich
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.