ich grüße euch,
sitze vor einem script und es scheitert leider an der umsetzung
letztendlich funktioniert es schon provisorisch
allerdings brauche ich für die theoretisch ziemlich lange kette in meinem scribt eine umschreibung
das sollte doch irgendwie mit $i = Ubound sry komm gerade nicht darauf
zur erklärung
das script liest einen text ein und filtert aus dem nur bestimmte werte
werte der eigendschaft "a" werden in ein array und dann in einen string mit "|" als trennzeichen übergeben
genauso passiert es mit den werten der eigenschaft "b" in ein extra array bzw folglich in einen string mit "|" als trennzeichen
werte der eigendschaft "a" habe ich für den user in eine combobox gesteckt als auswahlmöglichkeit
wenn der user nun werte aus der combobox auswählt soll aber anstatt des wertes "a", "b" verwendet werden
für jeden "a" wert soll ein bestimmter "b" wert zugewiesen werden
Spoiler anzeigen
#include <INet.au3>
#include <GuiConstantsEX.au3>
#include <IE.au3>
#Include <Array.au3>
$file = _INetGetSource("http://www.meineseitexy.de/auslese.php")
$Username = StringRegExp($file, 'xyzabc\w*">([\w- .ß\[\]öäü]*|())<x>', 3)
$userID = StringRegExp($file, 'xyz(\w*)">', 3)
$Username_String = _ArrayToString($Username, "|")
$userID_String = _ArrayToString($userID, "|")
$msg = GUICreate("Userauswahl", 200, 100)
$combo = GUICtrlCreateCombo("", 30, 30, 150, 20)
GUICtrlSetData(-1, $Username_String)
$ok = GUICtrlCreateButton("OK", 65, 70, 70, 25)
GUISetState(@SW_SHOW)
[/autoit] [autoit][/autoit] [autoit]while True
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_CLOSE
Exit
Case $ok
ExitLoop
EndSwitch
WEnd
$combo = GUICtrlRead($combo)
if $combo = $Username[0] then $combo = $userID[0]
if $combo = $Username[1] then $combo = $userID[1]
if $combo = $Username[2] then $combo = $userID[2]
if $combo = $Username[3] then $combo = $userID[3]
if $combo = $Username[4] then $combo = $userID[4]
if $combo = $Username[5] then $combo = $userID[5]
if $combo = $Username[6] then $combo = $userID[6]
if $combo = $Username[7] then $combo = $userID[7]
if $combo = $Username[8] then $combo = $userID[8]
if $combo = $Username[9] then $combo = $userID[9]
if $combo = $Username[10] then $combo = $userID[10]
if $combo = $Username[11] then $combo = $userID[11]
if $combo = $Username[12] then $combo = $userID[12]
if $combo = $Username[13] then $combo = $userID[13]
if $combo = $Username[14] then $combo = $userID[14]
if $combo = $Username[15] then $combo = $userID[15]
if $combo = $Username[16] then $combo = $userID[16]
if $combo = $Username[17] then $combo = $userID[17]
if $combo = $Username[18] then $combo = $userID[18]
if $combo = $Username[19] then $combo = $userID[19]
if $combo = $Username[20] then $combo = $userID[20]
if $combo = $Username[21] then $combo = $userID[21]
if $combo = $Username[22] then $combo = $userID[22]
if $combo = $Username[23] then $combo = $userID[23]
if $combo = $Username[24] then $combo = $userID[24]
if $combo = $Username[25] then $combo = $userID[25]
if $combo = $Username[26] then $combo = $userID[26]
_IECreate("http://www.meineseitexy.de/dings/bums/" & $combo)
exit