what's wrong with the shell ?
Jim Ault
JimAultWins at yahoo.com
Thu Jul 20 15:10:14 EDT 2006
try using the following extra step
>> on mouseUp
put (field "outPut") into cmd
>> get shell(cmd)
>> put it into field "outPut"
>> end mouseUp
and set the debug checkpoint to 'get shell(cmd)' then observe the variable
cmd. Perhaps the answer will appear to you.
Jim Ault
Las Vegas
On 7/20/06 11:28 AM, "Viktoras Didziulis" <viktoras at ekoinf.net> wrote:
> No, I am on Windows. By the way, just noticed that this happens only with
> Studio 6.2. Same script works fine with 7.1. Maybe a bug of t 6.2 ?
>
> Viktoras
>
> -------Original Message-------
>
> From: Stephen Barncard
> Date: 07/20/06 21:24:49
> To: How to use Revolution
> Subject: Re: what's wrong with the shell ?
>
> if you are using MacOSX, it's UNIX:
>
> use 'ls -l'
>
>
>
>
>> Hi,
>>
>> on mouseUp
>> get shell(field "outPut")
>> put it into field "outPut"
>> end mouseUp
>>
>> Now I write "dir" into field "outPut" and click a button to test - with no
>> success... Shell returns empty with any shell command I put into shell().
>> What is wrong here ?
>>
>> Viktoras
>
More information about the use-livecode
mailing list