Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Input&Output Proplem

Discussion on Input&Output Proplem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 4
Received Thanks: 1
Input&Output Proplem

I want to change links like this

"http://www.google.com/?d=GVOMXHQ2"

to

"http://www.google.com/mgr_dl.php?d=GVOMXHQ2" but its dont convert the Url to it.

Script need only to read this

"/?d=" changed input to

"mgr_dl.php?d="

Anybody can help ?



HTML Code:
#include <IE.au3>

$gui = GUICreate("Internet", 800, 600, 195, 127)
$String = GUICtrlCreateInput("http://www.google.com/?d=GVOMXHQ2", 5, 355, 440, 21)
$GoogleString = "http://www.google.com/"
$myVar = StringRight($String, 8)
$Result = $GoogleString & "mgr_dl.php?d=" & $myVar
$button_url = GUICtrlCreateButton("Get It", 456, 352, 129, 25, 0)
$oIE = _IECreateEmbedded()
$oIE_ctrl = GUICtrlCreateObj($oIE, 0, 0, 800, 300)

GUISetState(@SW_SHOW)

_IENavigate($oIE, "http://www.google.com/?") 



While 1
    $nMsg = GUIGetMsg()
    
    Switch $nMsg
        Case -3
            Exit
        Case $String
            _IENavigate($oIE,$Result)
    EndSwitch
WEnd
Analyze is offline  
Old 11/05/2009, 14:47   #2
 
bassbanane's Avatar
 
elite*gold: 116
Join Date: Oct 2007
Posts: 677
Received Thanks: 248
Code:
$url="http://www.google.com/?d=GVOMXHQ2"
$result=StringReplace( $url, "?d=", "mgr_dl.php?d=")
bassbanane is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Guide] Hooking the Console Input and Output
11/19/2011 - SRO Coding Corner - 24 Replies
My next guide is more of a boring one, but it is necessary to show the concepts now since I will be using them in an upcoming guide (assuming I can get it done before any client updates)! There are no images to show really and I don't expect anyone to really spend a lot of time on this one now, but it will be a good reference for later on when I use the concepts. Just remember all of the guides up to now are setting the stage for future guides (barring anything that might prevent me from...
i got this proplem when i get connect to my server+pic of proplem
06/19/2010 - CO2 Private Server - 4 Replies
when i got connect to my server on detacted host iget this error http://img139.imageshack.us/img139/268/55208631.j pg
Input = Output [LIVE]
03/11/2010 - Main - 2 Replies
I know ... ist schon was peinlich sowas als DJ zu fragen aber was solls..:facepalm: Ich habe mich immer auf meine programme verlassen die ich auf meinen rechner hatte und da von A bis Z alles dabei... nun habe ich meinen rechner formatiert und ich suche nun ein ( INPUT = OUTPUT (LIVE) PROG. ) Für dumme ;) : Wenn ich was in mein Mic reinspreche will ich das es sofort aus meinen boxen wieder rauskommt bzw meine boxen es live wiedergeben wo finde ich so ein programm..:confused:?? wäre...
input output error
10/23/2009 - Metin2 Private Server - 1 Replies
hallo habe bei fterm einen input output error beim conecten weis da vllt jemand weiter??



All times are GMT +2. The time now is 18:31.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.