Hello,
I have seen similar things discussed in this forum but nothing addressing exactly what I'm trying to do...
I'm trying to replace certain text in one file with captured-to-the-clipboard text from another file but cannot get certain parts to function. Here's what I have so far:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Find RegExp "xref callout="task"
Find RegExp "wpid="
StartSelect
Find RegExp ""*""
Copy
EndSelect
FindInFiles RegExp PreserveCase Recursive OutputWin Log "C:\XML\Maintenance Manuals\Files\" "*.xml" "wpno=right here I want the contents of the clipboard to be pasted in the find-in-files window after wpno"
Open "I want to open the file result from the above find-in-files"
Find RegExp "wpno=right here I want the contents of the clipboard to be pasted"
Find RegExp "<title>*</title>"
StartSelect
Copy
PreviousWindow
Find RegExp Up "xref callout="task *""
EndSelect
"xref callout=""
Paste
"""
Find RegExp Up "</title>"
Key DEL
Find RegExp Up "<title>"
Key DEL
The contents of the clipboard will be ever-changing as will the files where the find-in-files results will change.
Any help would be greatly appreciated as I'm about to pull out my hair here.
I have seen similar things discussed in this forum but nothing addressing exactly what I'm trying to do...
I'm trying to replace certain text in one file with captured-to-the-clipboard text from another file but cannot get certain parts to function. Here's what I have so far:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Find RegExp "xref callout="task"
Find RegExp "wpid="
StartSelect
Find RegExp ""*""
Copy
EndSelect
FindInFiles RegExp PreserveCase Recursive OutputWin Log "C:\XML\Maintenance Manuals\Files\" "*.xml" "wpno=right here I want the contents of the clipboard to be pasted in the find-in-files window after wpno"
Open "I want to open the file result from the above find-in-files"
Find RegExp "wpno=right here I want the contents of the clipboard to be pasted"
Find RegExp "<title>*</title>"
StartSelect
Copy
PreviousWindow
Find RegExp Up "xref callout="task *""
EndSelect
"xref callout=""
Paste
"""
Find RegExp Up "</title>"
Key DEL
Find RegExp Up "<title>"
Key DEL
The contents of the clipboard will be ever-changing as will the files where the find-in-files results will change.
Any help would be greatly appreciated as I'm about to pull out my hair here.