püüüüüssh :>
das ganze sollte vielleicht eher umformuliert werden zu wie man eine eigene oberfläche für den internetexplorer erstellt...Quote:
In diesem TuT zeige ich euch, wie ihr
euch ganz leicht einen Internet-Browser Scriptet
nicht in einer schleife realisierst.Quote:
Code:$GUI_radio_google = GUICtrlCreateRadio("Google", 1056, 72, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_youtube = GUICtrlCreateRadio("YouTube", 1056, 96, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_amazon = GUICtrlCreateRadio("Amazon", 1056, 120, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_wikipedia = GUICtrlCreateRadio("Wikipedia", 1056, 144, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_ebay = GUICtrlCreateRadio("Ebay", 1056, 168, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_yahoo = GUICtrlCreateRadio("Yahoo", 1056, 192, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS") $GUI_radio_forestle = GUICtrlCreateRadio("Forestle", 1056, 216, 113, 17) GUICtrlSetFont(-1, 10, 400, 0, "@Arial Unicode MS")
Immer her damit :)Quote:
Hi und Hallo :D
erstmal sehr Nett gemacht ;)
Hast du bereits eine Lösung gefunden sodass die größen auch im Vollbild funktionieren?
Ich habe bereits ein paar Bugs entfernt und eine bessere Lesezeichen funktion eingebaut ;) werde die mal in nächster Zeit hochladen vielleicht gefällt dir das ja =)
Bis dann
$favs_anzahl = IniRead("data/favs.ini", "fav_anzahl", "anzahl", "0")
Dim $FavNameArray[$favs_anzahl]
Dim $FavGUILink[$favs_anzahl]
For $i = 1 to $favs_anzahl
$FavNameArray[$i-1] = IniRead("data/favs.ini", "fav_name", $i, "ERROR")
$FavGUILink[$i-1] = IniRead("data/favs.ini", "fav_link", $i, "ERROR")
Next
For $z = 1 to $favs_anzahl
$FavNameArray[$z-1] = GUICtrlCreateMenuItem($FavNameArray[$z-1], $GUI_menu_lesezeichen)
GUICtrlSetOnEvent($FavNameArray[$z-1], "favoriten_button")
Next
[fav_name] 1=Google 2=Googlemail 3=Facebook 4=Wer-Kennt-Wen [fav_link] 1=http://www.google.de 2=http://www.googlemail.com 3=http://www.facebook.com 4=http://www.wer-kennt-wen.de [fav_anzahl] anzahl=4
Func favoriten_button() _IENavigate($oIE[$iAktiverTab], $FavGUILink[@GUI_CtrlId - 35]) EndFunc
[favorites] Google=http://www.google.de Googlemail=http://www.googlemail.com Facebook=http://www.facebook.com Wer-Kennt-Wen=http://www.wer-kennt-wen.de
Wenn du meinst du bekommst das so hin, dann zeig uns das doch bitte mal sowQuote:
und warum baust du die ini nicht so auf?
wäre doch wohl deutlich einfacher...Code:[favorites] Google=http://www.google.de Googlemail=http://www.googlemail.com Facebook=http://www.facebook.com Wer-Kennt-Wen=http://www.wer-kennt-wen.de
hä?Quote:
Wenn du meinst du bekommst das so hin, dann zeig uns das doch bitte mal sow
#include <IE.au3>
Dim $old_adress
$ie_fenster = _IECreateEmbedded()
$gui = GUICreate("Browser", 600, 480, -1, -1, 0x12470000)
$pos = WinGetPos($gui)
$ie = GUICtrlCreateobj($ie_fenster, 0, 40, $pos[2]-16, $pos[3]-77)
$adress = GUICtrlCreateInput('', 8, 8, $pos[2]-107, 21)
$search = GUICtrlCreateButton("Suchen", $pos[2]-99, 6, 75, 25)
_IENavigate($ie_fenster,"http://www.google.de")
While 1
Switch GUIGetMsg()
Case -3
Exit
Case -12, -8, -7, -6, -5
$pos = WinGetPos($gui)
GUICtrlSetPos($ie, 0, 40, $pos[2]-16, $pos[3]-77)
GUICtrlSetPos($adress, 8, 8, $pos[2]-107, 21)
GUICtrlSetPos($search, $pos[2]-99, 6, 75, 25)
Case $search, $adress
_IENavigate($ie_fenster, GUICtrlRead($adress))
Case Else
$current_adress = _IEPropertyGet($ie_fenster, "locationurl")
If $current_adress<>$old_adress Then
GUICtrlSetData($adress, $current_adress)
$old_adress = $current_adress
EndIf
EndSwitch
WEnd