Danke, danke !!!
Bin nun wieder etwas schlauer.
Danke, danke !!!
Bin nun wieder etwas schlauer.
nuts & Andy, beides ist eine super Lsg.
nuts mal nutzt, da ich gerade im Arrayrausch bin.
lang aber richtig:
MsgBox(0, "Test", $4_array[3]&$4_array[4]&$4_array[5]&$4_array[6]&$4_array[7]&$4_array[8]&" - "&$4_array[10]&$4_array[11]&$4_array[12]&$4_array[13]&$4_array[14]&" - "&$4_array[16]&$4_array[17]&$4_array[18]&$4_array[19]&$4_array[20]&$4_array[21])
falsch aber kurz:
MsgBox(0, "Test", $4_array[3] bis $4_array[8]&" - "&$4_array[10] bis $4_array[14]&" - "&$4_array[16] bis $4_array[21])
Wie kann man das x "bis" y anwenden? Möchte einfach Arraywerte die aufeinander folgen zusammen nutzen oder wie man es nennen möchte.
Es geht um folgenes Test-Script:
$fFile = "\\server\share\order1\dummy.txt"
$4_array = StringSplit($fFile, '', 1)
MsgBox(0,"",$4_array[0])
MsgBox(0,"",$4_array[1]) ; = \
MsgBox(0,"",$4_array[2]) ; = \
MsgBox(0,"",$4_array[3]) ; = s
MsgBox(0,"",$4_array[4]) ; = e
MsgBox(0,"",$4_array[5]) ; = r
MsgBox(0,"",$4_array[6]) ; = v
MsgBox(0,"",$4_array[7]) ; = e
MsgBox(0,"",$4_array[8]) ; = r
MsgBox(0,"",$4_array[9]) ; = \
MsgBox(0,"",$4_array[10]) ; = s
MsgBox(0,"",$4_array[11]) ; = h
MsgBox(0,"",$4_array[12]) ; = a
MsgBox(0,"",$4_array[13]) ; = r
MsgBox(0,"",$4_array[14]) ; = e
MsgBox(0,"",$4_array[15]) ; = \
MsgBox(0,"",$4_array[16]) ; = o
MsgBox(0,"",$4_array[17]) ; = r
MsgBox(0,"",$4_array[18]) ; = d
MsgBox(0,"",$4_array[19]) ; = e
MsgBox(0,"",$4_array[20]) ; = r
MsgBox(0,"",$4_array[21]) ; = 1
MsgBox(0,"",$4_array[22]) ; = \
MsgBox(0,"",$4_array[23]) ; = d
MsgBox(0,"",$4_array[24]) ; = u
MsgBox(0,"",$4_array[25]) ; = m
MsgBox(0,"",$4_array[26]) ; = m
MsgBox(0,"",$4_array[27]) ; = y
MsgBox(0,"",$4_array[28]) ; = .
MsgBox(0,"",$4_array[29]) ; = t
MsgBox(0,"",$4_array[30]) ; = x
MsgBox(0,"",$4_array[31]) ; = t
Also in dieser MsbBox "MsgBox(0,"",$4_array[0])" wird gesagt, das es 32-Arraywerte gibt. Also doch eigentlich von 0 bis 31. Richtig?
Wieso arbeitet das Script aber denn mit 32-Arraywerte, also 0 bis 32? Da war aber noch etwas mit "-1" und da ist doch das Problem bei meinem denken, oder?
Wie kann ich das denn bitte richtig verstehen?
Also am besten das Script wie es bis dato besteht posten, denn so kann man gleich schauen wo es rein soll und besonders man kann bereits mit den bestehenden Vab.'s arbeiten.
So machst Du es uns leichter zu helfen.
aha für was ist denn dein bot? Was soll er tun?
Berechtigte FRage, Deshalb ja auch der freundlichere Hinweis auf das Thema "Bot's".
Moin Moin.
Also Du bist voir eienr Woche angefangen?
Frage mich ob die Forumregeln so lang gewurden sind, weil da steht doch klar drinne wo das problem steckt
"mit meinem bot" spricht da doch klare Worte, oder?
Ansonsten, wenn es denn nicht um Bot's geht, dann viel Spass und Erfolg mit AutoIt.
Super umgesetzt! Habe ich auch gleich mal archiviert.
Da schließe ich mich mal zu 100 v. H. an !!!
GENIAL !!!!
Männeranwendungsbeispiel:
"PC, sag mir 3 Tage vor dem Hochzeitstag, das ich Rosen für meine Frau bestellen muß"
Frauenanwendungsbeispiel:
Da fällt mir sicherlich mal was spontan ein
Und so "kööööönnnnnnte" man es auch machen:
$fFile = "\\server\share\order1\dummy.txt"
$array = StringSplit($fFile, '\', 1)
MsgBox(0,"",$array[0])
MsgBox(0,"",$array[1])
MsgBox(0,"",$array[2])
MsgBox(0,"",$array[3])
MsgBox(0,"",$array[4])
MsgBox(0,"",$array[5])
MsgBox(0,"","Dieses String wird gleich nochmals geteilt : " & $array[6])
$2_array = StringSplit($array[6], '.', 1)
MsgBox(0,"",$2_array[0])
MsgBox(0,"",$2_array[1])
MsgBox(0,"",$2_array[2])
;MsgBox(0,"",$2_array[3])
$3_array = StringSplit($array[3], '', 1)
MsgBox(0,"",$3_array[0])
MsgBox(0,"",$3_array[1]) ; = s
MsgBox(0,"",$3_array[2]) ; = e
MsgBox(0,"",$3_array[3]) ; = r
MsgBox(0,"",$3_array[4]) ; = v
MsgBox(0,"",$3_array[5]) ; = e
MsgBox(0,"",$3_array[6]) ; = r
$4_array = StringSplit($fFile, '', 1)
MsgBox(0,"",$4_array[0])
MsgBox(0,"",$4_array[1]) ; = \
MsgBox(0,"",$4_array[2]) ; = \
MsgBox(0,"",$4_array[3]) ; = s
MsgBox(0,"",$4_array[4]) ; = e
MsgBox(0,"",$4_array[5]) ; = r
MsgBox(0,"",$4_array[6]) ; = v
MsgBox(0,"",$4_array[7]) ; = e
MsgBox(0,"",$4_array[8]) ; = r
MsgBox(0,"",$4_array[9]) ; = \
MsgBox(0,"",$4_array[10]) ; = s
MsgBox(0,"",$4_array[11]) ; = h
MsgBox(0,"",$4_array[12]) ; = a
MsgBox(0,"",$4_array[13]) ; = r
MsgBox(0,"",$4_array[14]) ; = e
MsgBox(0,"",$4_array[15]) ; = \
MsgBox(0,"",$4_array[16]) ; = o
MsgBox(0,"",$4_array[17]) ; = r
MsgBox(0,"",$4_array[18]) ; = d
MsgBox(0,"",$4_array[19]) ; = n
MsgBox(0,"",$4_array[20]) ; = e
MsgBox(0,"",$4_array[21]) ; = r
MsgBox(0,"",$4_array[22]) ; = 1
MsgBox(0,"",$4_array[23]) ; = \
MsgBox(0,"",$4_array[24]) ; = d
MsgBox(0,"",$4_array[25]) ; = u
MsgBox(0,"",$4_array[26]) ; = m
MsgBox(0,"",$4_array[27]) ; = m
MsgBox(0,"",$4_array[28]) ; = y
MsgBox(0,"",$4_array[29]) ; = .
MsgBox(0,"",$4_array[30]) ; = t
MsgBox(0,"",$4_array[31]) ; = e
; Und was mag uns diese MsgBox wohl anzeigen ?????????
MsgBox(0, "Test", MsgBox(0, "Test", $4_array[1]&$4_array[2]&$4_array[3]&$4_array[4]&$4_array[5]&$4_array[6]&$4_array[7]&$4_array[8]&$4_array[9]&$4_array[10]&$4_array[11]&$4_array[12]&$4_array[13]&$4_array[14]&$4_array[15]&$4_array[16]&$4_array[17]&$4_array[18]&$4_array[19]&$4_array[20]&$4_array[21]&$4_array[22])
@Kirsche
Nutze mal die Online-Suchfunktion hier im Forum. Gebe dort mal "Download" ein, da bekommste ganz viele Beispiele.
Versuche mal mit den bischen herum zu testen.
Da sage ich nur: *frechgrins* Ordentliche Harware kaufen *frechgrins*.
Was mir spontan auf fällt ist folgende Zeile:
$WinMain = GUICreate(''Verschlüsselungsprogramm', 400, 400)
richtig also so:
$WinMain = GUICreate('Verschlüsselungsprogramm', 400, 400)
Ich meine das Du dieses Beispiel aus der Hilfe hast, aber ich hatte es schon mal meine ich gemeldet, das diese Zeile falsch ist. Wenn nicht aus der Hilfe kommend, dann aus dem Forum und dann hatte ich da bereits einiges zu gesagt. Manno, das ist so lange her und ich bin keine 18 mehr
Ansonsten aus Dir in der Hilfe folgendes zum Thema Kommandozeilenparameter folgendes bitte mal an. Ich meine das hilft Dir weiter.
1.) Hilfe aufrufen
2.) "Inhalt" auswählen
3.) "AutoIt" auswählen
4.) "Allgemeines zu AutoIt" auswählen
5.) "Scripte ausführen" auswählen
Nun steht rechts alles was man bezüglich dem Grundwissen zu Kommandozeilenparameter wissen sollte.
Hoffe Dir damit etwas geholfen zu haben.
Kann man nicht es so machen, das man, wenn man sich als "Übersetzer/in" bei z. B. Peethebee meldet, das man für die Hilfe automatisch eingelockt ist, sobald man hier eingelogggggggt ist? Spart Zeit und motiviert evtl. mehr