Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True
- $labels = FileRead(@ScriptDir&"\pendinglabels.txt")
- FileDelete(@ScriptDir&"\pendinglabels.txt")
- $labelsarray = StringSplit($labels, @LF, 2)
- for $n = 0 to UBound($labelsarray)-1
- $labelinfo = StringSplit(StringReplace($labelsarray[$n], @CR, ""), "|", 2)
- if UBound($labelinfo) > 7 Then
- $labelformat = "{0} {1} {2}"&@CRLF&"{3}"&@CRLF&"{4} {5} {6}"&@CRLF&"BOX {x} OF {y}"
- for $f = 1 to $labelinfo[7]
- $currentlabel = ""
- for $r = 0 to UBound($labelinfo)-1
- if $r = 0 Then
- $currentlabel = StringReplace($labelformat, "{"&$r&"}", $labelinfo[$r])
- EndIf
- $currentlabel = StringReplace($currentlabel, "{"&$r&"}", $labelinfo[$r])
- Next
- $currentlabel = StringReplace($currentlabel, "{x}", $f)
- $currentlabel = StringReplace($currentlabel, "{Y}", $labelinfo[7])
- ConsoleWrite($currentlabel&@CRLF&"======================="&@CRLF)
- Next
- EndIf
- Next
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement