I have no idea how to write "unique files or put an explict example" as told to me by a great helpful user whom I thank much.
I want to Export text to save as new files 150 lines at a time from a 40 thousand+ line Document. Problem is they all start with one of two words..
"TAG" or "GOTO"
I will use 3 lines not 150 as example..
I would like edit to go something like this on a 3 line example out of 18 lines exported to seperate pages, tabs or txt FILES if possible.
file to split.. and each split would be a new txt file in a folder or on the desktop without overwriting itself.
GOTO=http://............1
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............2
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............3
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............4
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............5
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............6
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split = saved text file or new document from highlighted text exort
split 1
GOTO=http://............1
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 2
GOTO=http://............2
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 3
GOTO=http://............3
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 4
GOTO=http://............4
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 5
GOTO=http://............5
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 6
GOTO=http://............6
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
I am a newbie here and have been reading the forums trying not to bother people about this for hours. I thought I should now ask. This is a macro problem and thought I should ask here...
below is the 2 macros code that overwrote the file in a 3 line example.
I want to Export text to save as new files 150 lines at a time from a 40 thousand+ line Document. Problem is they all start with one of two words..
"TAG" or "GOTO"
I will use 3 lines not 150 as example..
I would like edit to go something like this on a 3 line example out of 18 lines exported to seperate pages, tabs or txt FILES if possible.
file to split.. and each split would be a new txt file in a folder or on the desktop without overwriting itself.
GOTO=http://............1
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............2
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............3
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............4
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............5
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
GOTO=http://............6
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split = saved text file or new document from highlighted text exort
split 1
GOTO=http://............1
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 2
GOTO=http://............2
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 3
GOTO=http://............3
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 4
GOTO=http://............4
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 5
GOTO=http://............5
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
split 6
GOTO=http://............6
TAG POS=1 TYPE=IMG ........
TAG POS=1 TYPE=INPUT:SUBMIT.........
I am a newbie here and have been reading the forums trying not to bother people about this for hours. I thought I should now ask. This is a macro problem and thought I should ask here...
below is the 2 macros code that overwrote the file in a 3 line example.
Code: Select all
Loop 3
StartSelect
Key DOWN ARROW
IfEof
ExitLoop
EndIf
EndLoop
Copy
EndSelect
Code: Select all
InsertMode
ColumnModeOff
HexOff
Top
Loop
PlayMacro 1 "1"
Cut
NewFile
Paste
Key UP ARROW
SelectWord
SaveAs "F:\split test\^s.txt"
Key DOWN ARROW
CloseFile NoSave
IfEof
ExitMacro
EndIf
EndLoop
Clipboard 0