New user with questions, from NSIS scripting

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

New user with questions, from NSIS scripting

Post by SteveTX » Sun Jan 17, 2010 9:09 pm

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?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: New user with questions, from NSIS scripting

Post by BvG » Sun Jan 17, 2010 11:12 pm

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" ;)
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

Re: New user with questions, from NSIS scripting

Post by SteveTX » Sun Jan 17, 2010 11:40 pm

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?

Post Reply