Page 1 of 1

Killing Processes

Posted: Tue Jul 14, 2015 7:26 pm
by carelvos
I read this: http://forums.livecode.com/viewtopic.php?f=8&t=6417

" I store it in a stack custom property (like "uKillProcScript"), and then call it from LC like this:"

How do I do that? - can Livecode execute VBScript?

What I ultimately want to do is kill ALL windows processes (which are killable) except my own process.

Thanks,

Carel

Re: Killing Processes

Posted: Tue Jul 14, 2015 9:30 pm
by Klaus
Hi Carel,

1. welcone to the forum! :D

2. Yes, i thinik on Windows you can use VBScript.
I'm on a Mac right now, you can check if your machine support this
by entering this into the message box: put the alternatelanguages

VBScript should appear in the message box now.

Then you can do:
...
put the uKillProcScript of this stack into tScript
do tScript as vbscript
...


Best

Klaus

Re: Killing Processes

Posted: Wed Jul 15, 2015 8:50 am
by carelvos
Hi Klaus,

Thanks for the welcom, but I was here before, but had to register again (was inactive for probably a year).

I just discovered the message box - never knew about it, and VBScript is supported.

I will try your suggestions, thank you.

Carel