Execute A Program
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
Execute A Program
Hi Guys,
I am seeking another way of running a program aside from this:
get shell("start C:\Windows\Temp\Console.exe")
Any Ideas??
Many Thanks,
Matt.
I am seeking another way of running a program aside from this:
get shell("start C:\Windows\Temp\Console.exe")
Any Ideas??
Many Thanks,
Matt.
-
- Livecode Opensource Backer
- Posts: 5280
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Execute A Program
I tend to run programs by double-clicking symbolic links on the desktop.
-
- VIP Livecode Opensource Backer
- Posts: 8336
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Execute A Program
Have you tried the launch command?
Richard Gaskin
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
-
- Livecode Opensource Backer
- Posts: 5280
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- VIP Livecode Opensource Backer
- Posts: 8336
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Execute A Program
This being a LiveCode forum, that's how I inferred the question.richmond62 wrote: ↑Sat Sep 26, 2020 9:06 am"How can I launch a Windows program from inwith LiveCode without using a shell command."
Richard Gaskin
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
-
- Livecode Opensource Backer
- Posts: 5280
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Execute A Program
Well, you are obviously privy to some information which I am not.This being a LiveCode forum, that's how I inferred the question.

Given the number of totally out-of-context spam messages that keep turning up hereabouts, I . . .

-
- VIP Livecode Opensource Backer
- Posts: 8336
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Execute A Program
When in doubt look at a user"s profile. Googie85 has been a part of this community for quite a while, as has contributed to a great many meaningful discussions.
Richard Gaskin
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
-
- Livecode Opensource Backer
- Posts: 5280
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Execute A Program
Thanks: I'll remember that in future.When in doubt look at a user"s profile.
-
- Posts: 8
- Joined: Fri Oct 02, 2020 10:24 am
Re: Execute A Program
In my windows application I run a batch file by pressing a button.
I use the following code:
Maybe it works also with exe files?.
Hope it helps
M.
I use the following code:
Code: Select all
on mouseUp
answer"prompt text"with"closing button text"
launch document "complete Path"
end mouseUp
Hope it helps
M.
Re: Execute A Program
Livecode programming until the cat hits the fan ...