-
Posts
24 -
Joined
-
Last visited
Everything posted by horne
-
Final words guys , i am making script sending me status of my computer using sys func ... etc ... its pity that the members with reputation in this community actually does not help and the only things i saw from you is some kind of show off, like "who are you to ask questions noob" LoL ... really unprofessional , the only help that i get is form guys with non exclusive status .... however if i do not follow the rules of that forum feel free to ban me , right now i am like "no comment" .... You suck fellas ps: Melba23, my repartee is just as good for the blackbird as it should be
-
Edited especially for you smarty pants !
-
Actually i separate the function and put the _INetSmtpMailCom($SmtpServ...... in a while with sleep .... but anyway thanks for the support and for the other guys, you`ve just remind me how unaffable you made that forum.
-
Since i can`t loop func in autoit, is there a way to loop the mailer so every 15 minutes to send message ?
-
Yes, that way its working
-
Here it is the fully working code: #include <IE.au3> #include <String.au3> #include <Array.au3> Local $vboxcode = InputBox("Vbox7 downloader", "Enter vbox7 code.", "", " ") Local $oIE = _IECreate ($vboxcode, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) Local $sExtract3 = _StringBetween($sHTML,'<span class="title">','</span>') Local $extractarray2 = _ArrayToString($sExtract3) _IEQuit($oIE) MsgBox(4096, "Videoname", $extractarray2, 10)
-
Lol, strange i can`t see how i offended you guys, seems i have in some kind of a way, i appreciate the help and the support you give DicatoroftheUSA i am already using the tool and i am using a lot the help ! Actually this is the way i am learning this language ... The the point i am trying to reach is that Stringregex and Stringregexpreplace are for cutting something from the array or at least that is what i am understanding and seeing from the tests. But i need ONLY the code between the <span class="title"> which in our case is the name of the video from the webpage ... so i am trying to get like $var = "Name of the video" When i use _StringBetween it gives me exatly what i need, but i dont know how to output it in variable. Apologise again if somehow i ofended someone i am total rookie here
-
I`ve got it, it must be used _StringBetween, the problem now is that its return me nothing, unless it used with _ArrayDisplay hmmmm..... I will have to work on it. some testing code #include <IE.au3> #include <String.au3> #include <Array.au3> Local $vboxcode = InputBox("Vbox7 downloader", "Enter vbox7 code.", "", " ") Local $oIE = _IECreate ($vboxcode, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) ;###Local $sExtract2 = StringRegExpReplace($sHTML, '(?U)<span class="title">(.*)</span>', "$1") Local $sExtract3 = _StringBetween($sHTML,'<span class="title">','</span>') Local $extractarray = _ArrayDisplay($sExtract3, 'Default Search') _IEQuit($oIE) ;###MsgBox(0, "Test", $sExtract2, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sExtract2 = ' & $sExtract3 & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $extractarray = ' & $extractarray & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
-
It still output the whole HTML code, not the content i want between the title span. When i find way out i will post.
-
No, see what i post i need only the content in <span class="title"> !CONTENT I NEED! </span> nothing more.
-
Run the script and input this http://vbox7.com/play:f3632ca681 i get all the HTML of the page without the title i want and i want only the text in the title span .*<span class="title">(.*)</span>.*
-
Isnt working i tryed this #include <IE.au3> Local $vboxcode = InputBox("Vbox7 downloader", "Enter vbox7 code.", "", " ") Local $oIE = _IECreate ($vboxcode, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) Local $sExtract2 = StringRegExpReplace($sHTML, '.*<span class="title">(.*)</span>.*', "$1") _IEQuit($oIE) ;###MsgBox(0, "Test", $sExtract2, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sExtract2 = ' & $sExtract2 & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console and it seems to give me anything but that i need
-
its only one
-
How i can use StringRegExpReplace to catch something specific. Like here #include <IE.au3> Local $vboxcode = InputBox("Vbox7 downloader", "Enter vbox7 code.", "", " ") Local $oIE = _IECreate ($vboxcode, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) Local $sExtract2 = StringRegExpReplace($sHTML, '<span class="title">(</span>)', "$1") _IEQuit($oIE) ;###MsgBox(0, "Test", $sExtract2, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sExtract2 = ' & $sExtract2 & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console '<span class="title">(</span>)' I want to catch the title in the code, without the rest of the page code. I am sure its something elementary, but i am new in this language.
-
How i can insert quotes in quotes, like here : #include <IE.au3> Local $vboxcode = InputBox("Vbox7 downloader", "Enter vbox7 code.", "", " ") Local $oIE = _IECreate ($vboxcode, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) Local $sExtract2 = StringRegExpReplace($sHTML, ".*<span class="title">.*</span>", "$1") MsgBox(4096, "Test", $sExtract2, 1)
-
Tnx a lot guys you are the best !
-
Another problem #include <IE.au3> Local $url = "http://vbox7.com/etc/ext.do?key=b9cf1f95fd&antiCacheStamp=1343505339091" Local $oIE = _IECreate ($URL, 0, 0, 1, 0) Local $sHTML = _IEBodyReadHTML($oIE) Local $sExtract2 = StringRegExpReplace($sHTML, ".*addr=(.*)&jpg_addr=.*", "$1") MsgBox(0, "Extract", $sExtract2 )$sExtract2 isnt working
-
I think i got it $sExtract = StringRegExpReplace($sText, ".*play:(.*)", "$1")
-
Could you please, explain me how its working because i will need to use it a lot. Like here, i need from this http://website.com/play:b9cf1f95fd to come only b9cf1f95fd
-
Many tnx for both of you !
-
How i can clean that one &flv_addr=media08.website.com/s/b9/b9cf1f95fd.flv&jpg_addr=i48.website.com/p/b9cf1f95fd4.jpg&subsEnabled=false&related=1 to become media08.website.com/s/b9/b9cf1f95fd.flv Thanks in advance
-
Thank you fellas . Peace
-
$a1 = InputBox("1-10", "cifra", "1-10", "", _ -1, -1, 0, 0) $b1 = InputBox("a-z", "keys", "a-z", "", _ -1, -1, 0, 0) HotKeySet ( $b1 , "Mysend" ) Func Mysend() send ("{NUMPAD$a1}") EndFunc While 1 Sleep(100) WEnd send ("{NUMPAD$a1}") - not working print N Help
-
I am very weak in coding but with autoit i start making some good for me programs ... bla bla bla so i make this program sourcecode so everyone who want to join me making freewindowsbooster program is wellcome skype:dead_koh program is called FreeB00ST (stuper huh ? ) its alpha 2 and it is very ugly for now