Notification of internet use in Rev standalone
paulgabel at comcast.net
Sun Oct 5 13:55:43 CDT 2008
Thanks, Phil. Your suggestions look useful. I'll try them out.
On Oct 4, 2008, at 2:27 PM, Phil Davis wrote:
> Hi Paul,
> The "suspend" and "resume" messages might be more what you're
> looking for. They're sent when your Rev app loses/gains focus as the
> frontmost app currently running.
> There's always shell() to get info from the OS. For example, to get
> all apps in the "Applications" folder that are running, you can do
> on mouseUp
> put shell("ps -A") into tData
> filter tData with "*/Applications/*"
> put tData into fld 1
> end mouseUp
> Then you would at least what apps are running.
> On the Mac there's probably something you can do with AppleScript to
> find out what's running, but someone else will have to address that.
> The only way I can think of to really prevent net access outside of
> Rev is to run a proxy server on the client that is set up to do that.
> If you'll be using shell() much, you might find this Rev plug-in
> HTH -
> Phil Davis
> Paul Gabel wrote:
>> Hi everybody:
>> My stack structure is a mainstack splash screen and three
>> substacks. Within a Rev standalone, is there any way to be notified
>> if the user opens a web browser or attempts to write an email with
>> a non-Rev application? Is there any way to prevent it?
>> "on resumeStack" is not helpful in my case, as, if placed in the
>> mainstack (which is hidden by now), it is not triggered when I come
>> back from a web browser. I can't place "on resumeStack" in a
>> substack, because I am constantly going back and forth between
>> them, and, even in a standalone, it is triggered.
>> I would greatly appreciate any suggestions (or even being told to
>> forget the whole idea).
>> Paul Gabel
>> Mac OS X 10.5.5
>> Rev 3.0
> Phil Davis
> PDS Labs
> Professional Software Development
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode