Killing Processes

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
carelvos
Posts: 19
Joined: Tue Jul 14, 2015 5:21 pm

Killing Processes

Post by carelvos » Tue Jul 14, 2015 7:26 pm

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Killing Processes

Post by Klaus » Tue Jul 14, 2015 9:30 pm

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

carelvos
Posts: 19
Joined: Tue Jul 14, 2015 5:21 pm

Re: Killing Processes

Post by carelvos » Wed Jul 15, 2015 8:50 am

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

Post Reply