Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ExeOutputWindow => correct usage?
#1
If I have a macro that is an .exe and I want to output something in the output window:

Macro test_output
Code:
Copy      Help
str a="abc"
ExeOutputWindow 4 "Show output"
out a

mes("close?")

I need to have a messagebox in order for the output window to be kept shown.
If I remove the messagebox the messagebox will be rendered in and out so quickly I often can not even see it.

Is there a way around this? (without using a messagebox)
#2
The window disappears when exe process exits.
If the macro has nothing more to do, it can wait for something. For example, wait until the user closes the output window.

Macro Macro2420
Code:
Copy      Help
str a="abc"
ExeOutputWindow 4 "Show output"
out a

;mes("close?")
int w=win("Show output" "#32770" GetCurrentProcessId)
wait 0 -WC w
#3
thank you!!!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)