Skip to content
⌘ NSIS Forum Archive

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

7 posts

Brummelchen#

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
Takhir#
You can modify script on the first link http://nsis.sourceforge.net/Special:...leObject&go=Go
But plug-in (second link) works as well.
Brummelchen#
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
Comm@nder21#
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 🙂