Okay my question is how do I convert one file, into another.
The old file looks like this:
[GoTo]
z=SetLoopStart(10000, 10000)
;repair
z=WP( -707.619, 2739.345, 0, 0, 1 )
z=SleepIt(1500)
z=SendIt("{ENTER}")
z=SleepIt(1500)
z=SendIt("/tar Sid")
z=SleepIt(1500)
z=SendIt("{ENTER}")
z=SleepIt(1500)
z=SendIt("{F7}")
z=SleepIt(1500)
z=SendIt("{ESC}")
z=WP( -704.081, 2740.161, 4, 0, 2 )
ect...
The new file should look like this:
<XAutomationWP>707.619 2739.345 0</XAutomationWP>
<XAutomationWP>-704.081 2740.161 4</XAutomationWP>
As you can see I only want the lines that start "z=WP(" I only need the first 3 numbers, and the "," need removing.
Is this possible in Autoit?
Thanks