LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
Moderators: FourthWorld , heatherlaine , Klaus , kevinmiller , robinmiller
bidgeeman
Posts: 495 Joined: Wed Feb 21, 2007 7:58 am
Post
by bidgeeman » Sat May 16, 2009 2:30 pm
Hi.
I'm very green at coding so please forgive my learning process.
Can someone please give me some tips on writing a code to run a .bat file?
Cheers
Bidge
BvG
VIP Livecode Opensource Backer
Posts: 1239 Joined: Sat Apr 08, 2006 1:10 pm
Contact:
Post
by BvG » Sat May 16, 2009 2:32 pm
look at the following possible usable commands/functions in the dictionary:
shell()
launch
launch document
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
bidgeeman
Posts: 495 Joined: Wed Feb 21, 2007 7:58 am
Post
by bidgeeman » Sat May 16, 2009 2:34 pm
Thanks for the pointer bvg
Bidge
bidgeeman
Posts: 495 Joined: Wed Feb 21, 2007 7:58 am
Post
by bidgeeman » Sat May 16, 2009 3:11 pm
Thanks for the help. I got it to run the .bat file but is there a way to stop the .bat file DOS window from popping up? Is there a way to run it in the background or hidden?
Cheers
Bidge
BvG
VIP Livecode Opensource Backer
Posts: 1239 Joined: Sat Apr 08, 2006 1:10 pm
Contact:
Post
by BvG » Sat May 16, 2009 3:12 pm
yes, you want the hideConsoleWindows property
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
bidgeeman
Posts: 495 Joined: Wed Feb 21, 2007 7:58 am
Post
by bidgeeman » Sat May 16, 2009 3:19 pm
Wow....thanks for the quick response BvG! I'm slowly learning
Many thanks again
Bidge