closing external program

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
Da_Elf
Posts: 311
Joined: Sun Apr 27, 2014 2:45 am

closing external program

Post by Da_Elf » Sun Apr 27, 2014 10:09 pm

Im not sure if this s a beginners question or not but i just started learning livecode yesterday.

Ive got a program running now which when i click "connect to server" love code will automatically launch casparCG server. Ive got some buttons setup to play some videos through casparCG. When i click disconnect though ive got the code to disconnect the socket but i want to also be able to close the casparCG window as well

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: closing external program

Post by Simon » Sun Apr 27, 2014 10:43 pm

Hi Da_Elf,
Welcome to the forum :)
... love code will automatically launch...
Yes I do! :)

On Windows it would be
shell("taskkill /F casparCG.exe")
Or something like that, not sure of the name of the running app.

Google "taskkill"

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply