|
You last visited: Today at 00:47
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.
07/19/2013, 19:19
|
#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", 827, 327, 272, 177)
$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", 304, 8, 201, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
$Button1 = GUICtrlCreateButton("Vote", 704, 88, 81, 25)
GUICtrlSetCursor (-1, 0)
$Port1 = GUICtrlCreateInput("Port 1", 288, 88, 57, 21)
$Port2 = GUICtrlCreateInput("Port 2", 288, 128, 57, 21)
$Port3 = GUICtrlCreateInput("Port 3", 288, 168, 57, 21)
$Port4 = GUICtrlCreateInput(" Port 4", 288, 208, 57, 21)
$Label4 = GUICtrlCreateLabel("Ports", 288, 56, 33, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
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
|
|
|
07/19/2013, 19:31
|
#2
|
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))
|
|
|
|
07/19/2013, 19:57
|
#3
|
elite*gold: 278
Join Date: Aug 2010
Posts: 145
Received Thanks: 19
|
 sehr gut dankeschön --> hat funktioniert
|
|
|
 |
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.
|
|