Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:47

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

Advertisement



Proxy ändern in Firefox// Problem mit Port ändern

Discussion on Proxy ändern in Firefox// Problem mit Port ändern within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 278
Join Date: Aug 2010
Posts: 145
Received Thanks: 19
Proxy ändern in Firefox// Problem mit Port ändern

Hey... ich hab schon wieder ein Problem:
Ich will den Port in Firefox ändern nur über eine Variable läuft es irgendwie nicht.

PHP Code:
#AutoIt3Wrapper_UseX64=n
#include <FF.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Hove\Desktop\KODAK Autoit\Forms\Votetest1.kxf
$Form1_1 GUICreate("Dark-Metin2 Vote Bot Copyright Evoh"827327272177)
$MenuItem3 GUICtrlCreateMenu("&Datei")
$Save GUICtrlCreateMenuItem("Speichern"$MenuItem3)
$Load GUICtrlCreateMenuItem("Laden"$MenuItem3)
$MenuItem4 GUICtrlCreateMenuItem("Beenden"$MenuItem3)
$MenuItem1 GUICtrlCreateMenu("&Help")
$MenuItem2 GUICtrlCreateMenuItem("Hilfe"$MenuItem1)
GUISetBkColor(0x000000)
$Ueberschirft GUICtrlCreateLabel("Test"304820128)
GUICtrlSetFont(-1148000"MS Sans Serif")
GUICtrlSetColor(-10xFFFFFF)
$Button1 GUICtrlCreateButton("Vote"704888125)
GUICtrlSetCursor (-10)
$Port1 GUICtrlCreateInput("Port 1"288885721)
$Port2 GUICtrlCreateInput("Port 2"2881285721)
$Port3 GUICtrlCreateInput("Port 3"2881685721)
$Port4 GUICtrlCreateInput(" Port 4"2882085721)
$Label4 GUICtrlCreateLabel("Ports"288563317)
GUICtrlSetFont(-188000"MS Sans Serif")
GUICtrlSetColor(-10xFFFFFF)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
         Case 
$Button1
            _Func1 
()
    EndSwitch
WEnd

Func    _Func1 
()  
Sleep(1000)
;
Seite öffnen
$variable1 
GUICtrlRead($Port1)   ;Port 1
MsgBox
(0,"",$variable1)
_FFStart("http://www.google.de")
_FFPrefSet("network.proxy.type"1
_FFPrefSet("network.proxy.http_port"$variable1)  ; wenn ich statt $variable1 eine Zahl einfüge funktioniert es...
_FFOpenURL("http://www.google.de")
MsgBox(0,"",_FFPrefGet("network.proxy.http_port"))
EndFunc 
evoh12 is offline  
Old 07/19/2013, 19:31   #2
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Es könnte daran liegen, das _FFPrefSet einen int Wert erwartet und durch das auslesen der Inputbox einen String bekommt. Versuch es mal mit
Quote:
_FFPrefSet("network.proxy.http_port", Int($variable1))
Croco™ is offline  
Old 07/19/2013, 19:57   #3
 
elite*gold: 278
Join Date: Aug 2010
Posts: 145
Received Thanks: 19
sehr gut dankeschön --> hat funktioniert
evoh12 is offline  
Reply


Similar Threads Similar Threads
Firefox Proxy IP ändern
07/01/2013 - AutoIt - 10 Replies
Hallo, ich brauche mal eure Hilfe bei meinem "Proxy switcher". Ich habe vor einen Switcher zu erstellen, der im Browser Firefox über eine Proxy IP eine Seite aufruft. Sich dort einloggt und einen Button drückt. Das mit dem Einloggen und dem Button drücken klappt auch. Nur ich weiß nicht, wie ich die Proxyeinstellungen über AutoIt ändern kann bzw. Zugreifen kann. Gruß Evoh
Wo und mit was P2P port ändern
10/25/2010 - Metin2 Private Server - 0 Replies
ich habe gelesen (http://www.elitepvpers.com/forum/metin2-pserver-gu ides-strategies/780431-zusammenstellung-api-tool-f ixxs.html) , dass man p2p port ändern muss damit man api tool "blockt". Bei mir stellt sich die frage wo und mit was man das ändern muss bzw wo die confg eig genau ist? €: Mein geigener server der drunter leidet )B
pw ändern vom port 22 @@@@@@@@@@@@@@@@@@@@@@@@@@@
05/11/2010 - Metin2 Private Server - 0 Replies
wo änder ich das pw vom port 22 also filezilla also nich mcncc.com
Problem Port ändern für den char Server
09/25/2008 - Flyff Private Server - 9 Replies
also ich stell mal lieber die frage so, da mir sie bis jetzt keiner beantwortet hat, ich ändere den port, öffne den port natürlich auch. nun aber im spiel kommt nun Could connect to Server, aber erst ab dem ich auf die server auswahl geklickt habe. so nun ich möchte dies gerne aber ändern, so das es funktioniert.
Port ändern
04/19/2008 - Metin2 - 5 Replies
Hi, gibt es im Metin Ordner eine Datei, bei der man die Ports ändern kann? mfg



All times are GMT +1. The time now is 00:48.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.