Page 1 of 1

New user with questions, from NSIS scripting

Posted: Sun Jan 17, 2010 9:09 pm
by SteveTX
I used to develop applications in NSIS scripting language, but it has too many OS limitations. Thankfully my friend introduced me to RunRev. I am trying to transition, but I notice there are many resources missing or not obvious to new developers. For example:

what are the environmental variables that runrev uses (ex. ${EXECDIR}, %SYSTEM_ROOT%, %USERNAME%)?

What are all the possible message handlers (mouseUp, OpenStack, preOpenStack, etc) ?

How do I wait for a window to open that has an unknown ID?

These blending effects are also somewhat daunting, as it seems there are a millions ways to fade a window in and out. Is there an elegant or common method?

Re: New user with questions, from NSIS scripting

Posted: Sun Jan 17, 2010 11:12 pm
by BvG
the environmental variables can be seen with a $ sign in front of their name in the variable watcher. To get all handlers, click on "type" in the dictionary, and then scroll down to "messages". I don't understand your window id question, but the default blending effect is "none" ;)

Re: New user with questions, from NSIS scripting

Posted: Sun Jan 17, 2010 11:40 pm
by SteveTX
Thanks for the help.

Let me explain the window issue a little more. RunRev uses the shell command to call a program to start in console. That program then turns around and calls another windowed application to start. In this specific instance, it is Xming and I am exporting a display window. Is there a way to get RunRev to recognize that the window that Xming process created?