Ah, I neglected to emphasize "open process" in contrast with "shell".
> On Jun 28, 2019, at 6:30 PM, doc hawk via use-livecode
> wrote:
>
>
> dar delivered,
>>
>> There is a note on open process in the Dictionary that says that on OS X
>> systems you can start an application but not a Unix p
dar delivered,
>
> There is a note on open process in the Dictionary that says that on OS X
> systems you can start an application but not a Unix process,
Tha’ts not right:
From the message box,
put shell("pwd")
Yields
/Applications/LiveCode Business 9.5.0 (dp 1).app
(Under Catalna)
There is a note on open process in the Dictionary that says that on OS X
systems you can start an application but not a Unix process, so I suppose the
LiveCode app intermediary must be needed. However, I have a vague memory of
running a CLI program from open process, but I don't remember how. I
Can't u do it your stack is run as administrator? and can't you force admin
permissions using the UAC control in standalone settings?
On Fri, Jun 28, 2019 at 2:54 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:
> On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote:
>
On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote:
Hello,
Is there a way to us LC shell to do commands as administrator?
thanks,
Glen
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe a
Hello,
Is there a way to us LC shell to do commands as administrator?
thanks,
Glen
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runre
Attempting to debug an ugly memory problem on a remote machine, I've installed
pslist.exe, one of the SysInternals tools, and want my LiveCode script to
invoke it via "shell" at various intervals to get some data about memory usage.
Initially I just dropped pslist.exe into the same folder as my
Both commands give the same.
On 7 July 2015 at 15:23, Dr. Hawkins wrote:
> On Tue, Jul 7, 2015 at 3:39 AM, David Bovill wrote:
>
> > Any ideas what to do?
> >
>
> could it be finding a different program with the same name? try "which
> ipfs" from the shell and live code. Also, what happens if
On Tue, Jul 7, 2015 at 3:39 AM, David Bovill wrote:
> Any ideas what to do?
>
could it be finding a different program with the same name? try "which
ipfs" from the shell and live code. Also, what happens if you shell the
command it suggests?
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_
I'm curious, if you do
which ipfs
from the command line, vs from livecode shell, are they the same?
On Tue, Jul 7, 2015 at 4:39 AM, David Bovill wrote:
> Hi I've had a strange problem with using the shell command. everything
> works as normal:
>
> put shell ("ls -la")
>
> But I have a shell comm
Hi I've had a strange problem with using the shell command. everything
works as normal:
put shell ("ls -la")
But I have a shell command which works on the command line but not with
using the LiveCode shell command. So:
ipfs version
Works fine and returns:
ipfs version 0.3.2
Note the syntax is
That's it!
Also I needed to concatenate the commands to get the application to launch.
thanks
On Wed, Nov 14, 2012 at 3:05 AM, Thierry Douez wrote:
> Hi Glen,
>
> > put shell("/Users/lab/Desktop/tools/HardwareSimulator.sh")
> > but when there are any spaces it doesn't work... the space is
> >
Hi Glen,
> put shell("/Users/lab/Desktop/tools/HardwareSimulator.sh")
> but when there are any spaces it doesn't work... the space is
> between Macintosh and HD2
This snippet works:
get "/Volumes/Macintosh HD"
replace space with "\ " in IT
put shell("ls " & IT)
change whatever to fit
On Apr 21, 2012, at 5:19 AM, Ian McKnight wrote:
> Hi
>
> I have a stack which produces a set of tables which I want to export to
> excel.
>
> What I would like:
> User clicks a button in LC and excel opens with the tables in place.
>
> What I have:
> User clicks a button, saves the file to dis
Hi Mark
You are quite correct - I just failed to read the dictionary entry
carefully enough!
Thanks
On 21 April 2012 10:27, Mark Schonewille
wrote:
> Hi Ian,
>
> Why do you want to use the shell? There is a launch command, which lets
> you launch a document with an application:
>
> launch "pa
Hi Ian,
Why do you want to use the shell? There is a launch command, which lets you
launch a document with an application:
launch "path/to/document.xls" with "path/to/application"
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-t
Hi
I have a stack which produces a set of tables which I want to export to
excel.
What I would like:
User clicks a button in LC and excel opens with the tables in place.
What I have:
User clicks a button, saves the file to disc, double clicks the file on
disc which opens in Excel
I can get the
it!
>
> The dangers are too big. You should avoid using shell() with anything that
> comes from user input.
>
> If the user chooses a username such as:
>
> " && rm -rf *
>
> And this, in a very unlucky day, is not detected by your security filters
Andrew,
This is a quick email typed on a phone on an aiport so forgive me for not
going to deep.
Basically : don't do it!
The dangers are too big. You should avoid using shell() with anything that
comes from user input.
If the user chooses a username such as:
" && rm -rf
message in context:
http://runtime-revolution.278305.n4.nabble.com/On-Rev-Using-Shell-to-Manipulate-SQL-tp3728813p3728823.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Here is another thing I am wondering about this evening.
I am curious as to how much power the Shell() function in an On-Rev
configuration is. I'd like to create mySQL databases & users on the fly.
I know the shell() function can run commands for you, but do you think I
will be able to create mys
x.
Al
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3224574.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-li
are named Wine, useful to run Windows applications:
> http://wiki.winehq.org/MacOSX
> http://helpdeskgeek.com/linux-tips/run-windows-programs-in-ubuntu-10-04/
>
> Alejandro
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run
rsion of
the software named Wine, useful to run Windows applications:
http://wiki.winehq.org/MacOSX
http://helpdeskgeek.com/linux-tips/run-windows-programs-in-ubuntu-10-04/
Alejandro
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp322
Oh. I must set the defaultFolder first...
Yes, the Docs mention this:
"The command is executed in the current defaultFolder"
and this actually means:
Before using shell with a command line application
you must set the default folder to the folder where
this Command line application r
w34.brinkster.com/dizzyk/download/crc32.zip
>
> downloaded from this page:
> http://www34.brinkster.com/dizzyk/crc32.asp
>
> Now, my curiosity is awakened with your answer.
> How do you test a Dos program using Mac OS X?
>
> Thanks in advance!
>
> Al
> --
> Vie
Alejandro,
I just noticed that I pasted a non-working version in my earlier
message. Try this one, which works on this end:
on mouseUp
-- must set the folder location to the same as crc32.exe
set the defaultFolder to "C:\crc32\"
put "crc32.exe" into tCommand
put " readme.txt > c:\crc32\ou
his message in context:
http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3221259.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Pl
On Sun, Jan 16, 2011 at 11:31 PM, Alejandro Tejada
wrote:
> Hi all,
>
> I have been trying, without sucess, to run
> the program CRC32.EXE using Shell
> from LiveCode.
>
> This is the code that I am using:
>
> put "C:\crc32.exe CRC32INPUT >CRC32
gt; I have been trying, without sucess, to run
> the program CRC32.EXE using Shell
> from LiveCode.
>
> This is the code that I am using:
>
> put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand
> set the hideconsolewindows to true
> get shell (tCommand
Hi all,
I have been trying, without sucess, to run
the program CRC32.EXE using Shell
from LiveCode.
This is the code that I am using:
put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand
set the hideconsolewindows to true
get shell (tCommand)
get URL "file:C:\CRC32O
On 10 January 2011 22:27, Josh Mellicker wrote:
> What external program?
>
There's a couple of things in version control systems - command line
utilities that invoke an external editor as part of the script - sometimes
for images, text editors or in this particular case a browser.
__
What external program?
On Jan 10, 2011, at 11:09 AM, David Bovill wrote:
> I want to configure an external program to use LiveCode as a web browser
> rather than a default browser - in the config options it allows you to
> specify a command line that will open a browser of you choice with the gi
Recently, Klaus on-rev wrote:
>> David, you want $.
>
> C'mon, every american wants $! :-D
Some of us want cheese.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please v
And a bit over half of them want $ without actually having to work for it. ;-)
Bob
On Jan 10, 2011, at 12:37 PM, Klaus on-rev wrote:
> Hi Björnke,
>
>> David, you want $.
>
> C'mon, every american wants $! :-D
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major
Hi Björnke,
> David, you want $.
C'mon, every american wants $! :-D
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
David, you want $.
On 10 Jan 2011, at 20:09, David Bovill wrote:
> I want to configure an external program to use LiveCode as a web browser
> rather than a default browser - in the config options it allows you to
> specify a command line that will open a browser of you choice with the given
> url
I want to configure an external program to use LiveCode as a web browser
rather than a default browser - in the config options it allows you to
specify a command line that will open a browser of you choice with the given
url:
> A shell command used to launch your preferred web browser when given a
David,
You can do really nice tricks with the shell and Revolution 3.5 and earlier.
I'm not sure about 4 and later.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
I'd like to use the shell to open LiveCode and pass it a value that can be
handled by a Script - I used to do this with MetaCard on Linux - is this
possible cross platform with LiveCode?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please v
40 matches
Mail list logo