tapping into finder events
Mark Smith
mark at maseurope.net
Wed Jan 9 21:52:03 EST 2008
Well I agree, really, but what you're after is really getting at the
guts of the OS - so it would be up to developers to make it available
to users in a way that they can deal with. One of the things that is
cool about Revoluton is that nearly everything is at a nice high
level, but if necessary, one can get a bit low level when necessary,
within reason.
Best,
Mark
On 10 Jan 2008, at 02:45, Randall Lee Reetz wrote:
> I remember when the good people at xerox parc built this great
> graphical front end so that memorizing a thousand command line
> utterances would become a thing of the past.
>
> So, given the dozen or so languages and protocols i am forced to
> know (applescript, appleevents, xtalk, unix commands, xml, html,
> dhtml, perl, c, c++, c#, java, javascript, etc...) and the fact
> that the solution being sugested demands that i enter a root user
> mode that apple itself spends considerable amount of energy dis-
> recomending, i wonder what has become of "computing for the rest of
> us?"
>
> But i do thank you for the info and advice. I am looking for a
> solution generalizable to "everyone"... Otherwise it will
> ultimately fail for me. Can you imagine telling your users to
> start a root account?
>
> randall
> -----Original Message-----
> From: "Mark Smith" <mark at maseurope.net>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: 1/9/2008 6:15 PM
> Subject: Re: tapping into finder events
>
> 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
>
>
> _______________________________________________
> 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