11-23-2004, 07:30 PM
I am writing a macro that will copy and paste information from an online database to a Notepad file, such that it would look like
Page 1
...
several lines of data
...
and then the macro goes back into the online DB and goes to page 2 and pastes it to Notepad
Page 2
...
several lines of data
...
and so on until the last page has a file to indicate End Of File, it looks something like
Page x
...
...
...
End of File
is there a way for a macro to analyze the text it is cutting / pasting to detect that the data it just pasted has the String "End of File" in it?
Or, if this makes the question clearer, is there a way for QM to read and analyze text from a file? The only way I saw for a user to send information to QM for QM to analyze was using the inp statement, but you cannot execute command key Cv while the inp is active as far as I can see
Page 1
...
several lines of data
...
and then the macro goes back into the online DB and goes to page 2 and pastes it to Notepad
Page 2
...
several lines of data
...
and so on until the last page has a file to indicate End Of File, it looks something like
Page x
...
...
...
End of File
is there a way for a macro to analyze the text it is cutting / pasting to detect that the data it just pasted has the String "End of File" in it?
Or, if this makes the question clearer, is there a way for QM to read and analyze text from a file? The only way I saw for a user to send information to QM for QM to analyze was using the inp statement, but you cannot execute command key Cv while the inp is active as far as I can see