09-13-2010, 12:02 PM
Link in Web Browser
|
09-13-2010, 12:13 PM
In web browser control? To find and click links, you can use html element functions. The same as with Internet Explorer.
09-13-2010, 12:15 PM
I tried the following..
But there are errors wich i dont understand, because i used QM help to build the code. Function Friendfinder str html
09-13-2010, 12:20 PM
I see these errors:
1. " not escaped in pattern string. 2. Space before function name and (. Macro Macro1438 str html 3. The regular expression may not work. Not sure.
09-13-2010, 12:26 PM
Thanks Gin!
Shouldnt this code show all Links when i type "out a" on the end of the script? It says nothing.. :?: Even with "out i" it says only 0.
09-13-2010, 12:30 PM
Change regular expression.
Macro Macro1438 ;out
09-13-2010, 12:41 PM
09-13-2010, 12:45 PM
It extracts links.
submatch=-9DXv8qnr8nI" onmousedown="" href="/user/samsontech", whole=<a id="video-from-username-9DXv8qnr8nI" onmousedown="" href="/user/samsontech"> submatch=-DL4s6YdBXzI" onmousedown="" href="/user/s2pandapple", whole=<a id="video-from-username-DL4s6YdBXzI" onmousedown="" href="/user/s2pandapple"> submatch=-alLJUlO7IOc" onmousedown="" href="/user/fobohem", whole=<a id="video-from-username-alLJUlO7IOc" onmousedown="" href="/user/fobohem"> submatch=-14A32E7AE17A4001" onmousedown="" href="/user/manko1989", whole=<a id="video-from-username-14A32E7AE17A4001" onmousedown="" href="/user/manko1989"> submatch=-VVfiyjVBass" onmousedown="" href="/user/SirAnaxagoras", whole=<a id="video-from-username-VVfiyjVBass" onmousedown="" href="/user/SirAnaxagoras"> submatch=-oVkV6UKl7Mw" onmousedown="" href="/user/gshoes04", whole=<a id="video-from-username-oVkV6UKl7Mw" onmousedown="" href="/user/gshoes04"> submatch=-vb3wiRanBpc" onmousedown="" href="/user/RandomDCE", whole=<a id="video-from-username-vb3wiRanBpc" onmousedown="" href="/user/RandomDCE"> submatch=-kLToDBvHTWQ" onmousedown="" href="/user/s2pandapple", whole=<a id="video-from-username-kLToDBvHTWQ" onmousedown="" href="/user/s2pandapple"> submatch=-2EfHhYt_jV8" onmousedown="" href="/user/RoosterTeeth", whole=<a id="video-from-username-2EfHhYt_jV8" onmousedown="" href="/user/RoosterTeeth"> submatch=-p1rH0fFiD4U" onmousedown="" href="/user/WorksLikeThis", whole=<a id="video-from-username-p1rH0fFiD4U" onmousedown="" href="/user/WorksLikeThis"> submatch=-w4D6cHLRLUk" onmousedown="" href="/user/mattthebrat89", whole=<a id="video-from-username-w4D6cHLRLUk" onmousedown="" href="/user/mattthebrat89"> submatch=-Z7kg1yZ1pPY" onmousedown="" href="/user/CmereNoStay", whole=<a id="video-from-username-Z7kg1yZ1pPY" onmousedown="" href="/user/CmereNoStay"> submatch=-3AqnmXVzx9k" onmousedown="" href="/user/maximotv", whole=<a id="video-from-username-3AqnmXVzx9k" onmousedown="" href="/user/maximotv"> submatch=-0hcwECtoZ6U" onmousedown="" href="/user/jacksfilms", whole=<a id="video-from-username-0hcwECtoZ6U" onmousedown="" href="/user/jacksfilms"> submatch=-viNmZK5WERU" onmousedown="" href="/user/SomethingGood", whole=<a id="video-from-username-viNmZK5WERU" onmousedown="" href="/user/SomethingGood"> submatch=-g-hEZ_oefLE" onmousedown="" href="/user/RandomDCE", whole=<a id="video-from-username-g-hEZ_oefLE" onmousedown="" href="/user/RandomDCE"> submatch=-tKYE7nUoMOE" onmousedown="" href="/user/4BetaMale2", whole=<a id="video-from-username-tKYE7nUoMOE" onmousedown="" href="/user/4BetaMale2"> submatch=-OE0xAayzCRM" onmousedown="" href="/user/CmereNoStay", whole=<a id="video-from-username-OE0xAayzCRM" onmousedown="" href="/user/CmereNoStay"> submatch=-oTxeI1P6mB8" onmousedown="" href="/user/RandomDCE", whole=<a id="video-from-username-oTxeI1P6mB8" onmousedown="" href="/user/RandomDCE"> submatch=--ECaWMY19pQ" onmousedown="" href="/user/TheProductTester", whole=<a id="video-from-username--ECaWMY19pQ" onmousedown="" href="/user/TheProductTester"> submatch=-wMB-ohgtVag" onmousedown="" href="/user/GunniZ", whole=<a id="video-from-username-wMB-ohgtVag" onmousedown="" href="/user/GunniZ"> submatch=-4F59E623A0B9A4C6" onmousedown="" href="/user/Huongii22", whole=<a id="video-from-username-4F59E623A0B9A4C6" onmousedown="" href="/user/Huongii22">
09-13-2010, 12:53 PM
Yes, you are right, but how can i extract the information as it stands in "whole=" ?
when i only output whole i dont get a complete link. Maybe i need to ask otherwise: How can i click these links now? :lol:
09-13-2010, 12:59 PM
Macro Macro1438
out
09-13-2010, 01:18 PM
Thank you for the support Gintaras!
![]() I hope to learn QM within the next weeks. Then i dont need to ask every day. :lol:
09-13-2010, 01:41 PM
09-13-2010, 01:48 PM
If it is used as regular expression, need to escape special characters of regular expressions.
These characters are () and maybe #. Nothing wrong if you escape all nonalphanumeric characters. To escape a character, add \ before. \( \) \#
09-13-2010, 01:53 PM
09-13-2010, 01:58 PM
I think you should read about regular expressions in QM help. Also you can use floating toolbar -> more tools -> reg expr menu.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)