tapping into finder events

-= JB =- sundown at pacifier.com
Wed Jan 9 21:58:47 EST 2008


Mark,

I put your script in a mouseUp button and tried it
but all it did was show the message box without
any info in it.

I am using OS X 10.4.10 and Rev 2.9 Enterprise.

-=>JB<=-


On Jan 9, 2008, at 6:15 PM, Mark Smith wrote:

> Randall, 'open process' is a way of opening other apps and being  
> able to communicate with them.
>
> For example (this works on OS X with Rev 2.9, but won't with  
> earlier versions of Rev), to run an interactive session in the bash  
> shell:
>
> on mouseUp
>     put "/bin/bash" into tProc
>     open process tProc for binary update
>     write "echo $USER" & cr to process tProc
>     wait 10 millisecs
>     read from process tProc until empty
>     put it
>     close process tProc
> end mouseUp
>
> you should now see your username in the message box.
>
> Hope this helps,
>
> Mark
>
>
>
> On 9 Jan 2008, at 08:17, Randall Lee Reetz wrote:
>
>> What does "open process[ing]" something  do? How do you do it?
>>
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list