03-26-2006, 04:50 PM
Is it possible to get everything what macro prints through "out" command into one string?
out/string question
|
03-26-2006, 04:50 PM
Is it possible to get everything what macro prints through "out" command into one string?
03-26-2006, 04:56 PM
03-26-2006, 05:03 PM
When i was writing my macro i used out command to see how it`s working through writing process. Now when everything is ok i`d like to get those out messgs into one solid text that i can manipulate on (like msg it to user, paste in excel etc).
Otherwise I`d have to go through the code again and add new commands each time it "outs" sth, and then link it together. I thought there might be a way to just save some time on it.
03-26-2006, 05:08 PM
Thanks, works fine.
How to combine it into one line? (since every "out" output is in the separate line)
03-26-2006, 05:16 PM
Thank you.
03-26-2006, 05:17 PM
Or, use your own function for text output. For example, create function Out2 and paste this text:
Then, in the macro, replace all out to Out2. At the beginning of the macro, insert this: When the macro ends, all its output will be in global variable g_out2.
03-27-2006, 12:28 AM
Yes, this is probably better, since you don`t have to set wintxt to clean macro output before running
Thanks again. |
« Next Oldest | Next Newest »
|