hi i am creating ann app for my friend and i need it to shut programs like notpad wen a button is clicked and to for mat the hard drive wen a buton is clicked can this be done if so
can some one plz the code to do it thanks
need help with is fast
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 4
- Joined: Mon Mar 30, 2009 8:35 am
- Contact:
need help with is fast
[url=http://www.join-points2shop.eu.tf][img]http://www.points2shop.com/images/promotionbanners/120x60-Banner.gif[/img][/url]
Hi darklexus2k9,
You could use VBScript to close programmes, if these programmes listen to VBScript commands, and you might be able to use shell(fdisk) or shell(format) to format a drive (I think) but I really wonder why you would want to do this?!
Mark
You could use VBScript to close programmes, if these programmes listen to VBScript commands, and you might be able to use shell(fdisk) or shell(format) to format a drive (I think) but I really wonder why you would want to do this?!
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Code: Select all
on mouseUp
set the hideconsolewindows to true
answer shell("taskkill /f /im notepad.exe")
end mouseUp