Page 1 of 1
Execute A Program
Posted: Sat Sep 26, 2020 5:35 am
by Googie85
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.
Re: Execute A Program
Posted: Sat Sep 26, 2020 8:14 am
by richmond62
I tend to run programs by double-clicking symbolic links on the desktop.
Re: Execute A Program
Posted: Sat Sep 26, 2020 8:59 am
by Googie85
Why be smart??
Re: Execute A Program
Posted: Sat Sep 26, 2020 9:04 am
by FourthWorld
Have you tried the launch command?
Re: Execute A Program
Posted: Sat Sep 26, 2020 9:06 am
by richmond62
Googie85 wrote: ↑Sat Sep 26, 2020 8:59 am
Why be smart??
Well, for starters because you probably asked the wrong question.
What I believe you should have asked goes a bit like this:
"How can I launch a Windows program from inwith LiveCode without using a shell command."
Re: Execute A Program
Posted: Sat Sep 26, 2020 10:07 am
by FourthWorld
richmond62 wrote: ↑Sat Sep 26, 2020 9:06 am
"How can I launch a Windows program from inwith LiveCode without using a shell command."
This being a LiveCode forum, that's how I inferred the question.
Re: Execute A Program
Posted: Sat Sep 26, 2020 10:47 am
by richmond62
This being a LiveCode forum, that's how I inferred the question.
Well, you are obviously privy to some information which I am not.
Given the number of totally out-of-context spam messages that keep turning up hereabouts, I . . .

Re: Execute A Program
Posted: Sat Sep 26, 2020 10:54 am
by FourthWorld
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.
Re: Execute A Program
Posted: Sat Sep 26, 2020 10:59 am
by richmond62
When in doubt look at a user"s profile.
Thanks: I'll remember that in future.
Re: Execute A Program
Posted: Mon Oct 12, 2020 10:24 am
by marco.deepak
In my windows application I run a batch file by pressing a button.
I use the following code:
Code: Select all
on mouseUp
answer"prompt text"with"closing button text"
launch document "complete Path"
end mouseUp
Maybe it works also with exe files?.
Hope it helps
M.
Re: Execute A Program
Posted: Mon Oct 12, 2020 1:17 pm
by AxWald
Hi,
marco.deepak wrote: ↑Mon Oct 12, 2020 10:24 am
Maybe it works also with exe files?
Sure it does:
Works.
Have fun!