Archive: how to: wait for external program and set nsis idle this time


how to: wait for external program and set nsis idle this time
i need to set nsis "idle" while waiting for a shutdown of an
external program (not started from nsis)

any loops uses cpu power - i need it "sitting in the edge like a spider"

any hints for me?
(eg. like Processes::WaitProcess "myapp.exe")

thx


You can modify script on the first link http://nsis.sourceforge.net/Special:...leObject&go=Go
But plug-in (second link) works as well.


hmm, i dont want to terminate the program - user has to close it.

fct closed my program - wasn't purpose. :(
fct:wait does not work alone?

i have for now a 10sec sleep loop


ExecWait "myapp.exe"


aaahhhhh O_o

read this what i described

nsis -> app1 -> app2
^-----------------|


args, sry, read now :)

there is an api function for it, i guess you'll need a new plugin for it, or better enhance nsProcess :)


thx man - i'll look for it