Sorry Allen, not a single line yet. I have written a lot of Kix scripts in my company but never was forced to use a Windows API function so far. Right now I'm still wondering how to
to use Windows API functions in general in a kix script. I was looking in the forum for some example code but couldn't find it. Doesn't have to be related to WTSSendMessage - I hope I can find some basic code structure that might use another API function. Just looking for some examples in order to adapt it for my purpose.