Re: Using shell as administrator on Windows 10

2019-06-28 Thread Dar Scott Consulting via use-livecode
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

Re: Using shell as administrator on Windows 10

2019-06-28 Thread doc hawk via use-livecode
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)

Re: Using shell as administrator on Windows 10

2019-06-28 Thread Dar Scott Consulting via use-livecode
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

Re: Using shell as administrator on Windows 10

2019-06-28 Thread Tom Glod via use-livecode
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: >

Re: Using shell as administrator on Windows 10

2019-06-28 Thread Paul Dupuis via use-livecode
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

Using shell as administrator on Windows 10

2019-06-28 Thread Glen Bojsza via use-livecode
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

Using shell on Windows

2017-10-03 Thread Ben Rubinstein via use-livecode
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

Re: Using Shell

2015-07-07 Thread David Bovill
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

Re: Using Shell

2015-07-07 Thread Dr. Hawkins
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 _

Re: Using Shell

2015-07-07 Thread Mike Bonner
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

Using Shell

2015-07-07 Thread David Bovill
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

Re: How to handle spaces in a path when using shell

2012-11-14 Thread Glen Bojsza
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 > >

Re: How to handle spaces in a path when using shell

2012-11-14 Thread Thierry Douez
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

Re: Help using Shell to open a file in Excel

2012-04-21 Thread Peter M. Brigham, MD
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

Re: Help using Shell to open a file in Excel

2012-04-21 Thread Ian McKnight
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

Re: Help using Shell to open a file in Excel

2012-04-21 Thread Mark Schonewille
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

Help using Shell to open a file in Excel

2012-04-21 Thread Ian McKnight
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

Re: [On-Rev] Using Shell to Manipulate SQL

2011-08-15 Thread Bob Sneidar
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

Re: [On-Rev] Using Shell to Manipulate SQL

2011-08-14 Thread Andre Garzia
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

Re: [On-Rev] Using Shell to Manipulate SQL

2011-08-08 Thread Andrew Kluthe
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

[On-Rev] Using Shell to Manipulate SQL

2011-08-08 Thread Andrew Kluthe
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

Re: Using Shell to run a DOS program

2011-01-18 Thread Alejandro Tejada
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

Re: Using Shell to run a DOS program

2011-01-18 Thread Bob Sneidar
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

Re: Using Shell to run a DOS program

2011-01-18 Thread Alejandro Tejada
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

Re: Using Shell to run a DOS program

2011-01-17 Thread Alejandro Tejada
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

Re: Using Shell to run a DOS program

2011-01-17 Thread Bob Sneidar
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

Re: Using Shell to run a DOS program

2011-01-17 Thread David C.
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

Re: Using Shell to run a DOS program

2011-01-17 Thread Alejandro Tejada
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

Re: Using Shell to run a DOS program

2011-01-17 Thread David C.
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

Re: Using Shell to run a DOS program

2011-01-17 Thread Mark Schonewille
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

Using Shell to run a DOS program

2011-01-16 Thread Alejandro Tejada
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

Re: Using shell to call Livecode

2011-01-10 Thread David Bovill
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. __

Re: Using shell to call Livecode

2011-01-10 Thread Josh Mellicker
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

Re: Using shell to call Livecode

2011-01-10 Thread Scott Rossi
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

Re: Using shell to call Livecode

2011-01-10 Thread Bob Sneidar
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

Re: Using shell to call Livecode

2011-01-10 Thread Klaus on-rev
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

Re: Using shell to call Livecode

2011-01-10 Thread Björnke von Gierke
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

Re: Using shell to call Livecode

2011-01-10 Thread David Bovill
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

Re: Using shell to call Livecode

2011-01-10 Thread Mark Schonewille
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

Using shell to call Livecode

2011-01-10 Thread David Bovill
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