[MacRuby-devel] Is this possible in MacRuby?

azzzz at gmx.net azzzz at gmx.net
Thu Nov 24 07:16:57 PST 2011


Hi Josh

Thanks. I'm in the middle of doing a clean Lion install but will have a read up on it when I'm done - if I get anywhere with it I'll post back to let you know. Thanks again for taking the time to reply!

Aston

On 23 Nov 2011, at 18:17, Joshua Ballanco wrote:

> Hey Aston,
> 
> Again, this isn't a question particularly specific to MacRuby, but (since I was just playing with it the other day) you might have a look at the documentation for "ipfw". It can be a bit confusing and intimidating at first, but one of the many (many, many) things that you can do with ipfw is route traffic bound for one interface on the local machine to a different interface (and back again to the original, if you like). The only downside is that you need administrator permissions to configure ipfw...but then you would need that, regardless of the specific mechanism, to alter traffic routing on a machine.
> 
> Cheers,
> 
> Josh
> 
> 
> On Mon, Nov 21, 2011 at 8:16 AM, azzzz at gmx.net <azzzz at gmx.net> wrote:
> Hi Josh - on the same theme, would it be possible to create an app (in MacRuby) where I could intercept web connections (/urls) and block if need be?
> 
> I'm thinking about creating a website limiter - where you can set time limits or time-frames for certain websites. I'm guessing something like it might be possible as Little Snitch intercepts network connections :/
> 
> Thanks in advance.
> 
> Aston
> 
> 
> On 20 Nov 2011, at 00:37, Joshua Ballanco wrote:
> 
>> On Thu, Nov 17, 2011 at 1:07 PM, azzzz at gmx.net <azzzz at gmx.net> wrote:
>> Hi All,
>> 
>> Is it possible to make a Lion app(/option) with MacRuby which allows you to change the opacity (alpha value) of other apps/windows via the View menu?
>> 
>> So say I have a PDF open in Preview, I'd go to: view menu > transparency, and then set it to 50%
>> 
>> Is this possible? Would it be a pain to do? I don't think I've seen any MacRuby apps that add functionality to other apps like this so am guessing it's not trivial.
>> 
>> Hi Aston,
>> 
>> Forgive the quick and dirty description... Properties of an application's windows are controllable by the operating system or the application itself. Allowing a different application access to the window is, generally speaking, a violation of process separation. That said, you might look into SIMBL. It allows you to inject code into a running process. Not as a separate process, but it is possible to modify an already running process.
>> 
>> Hope that helps.
>> 
>> - Josh
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111124/423e4068/attachment.html>


More information about the MacRuby-devel mailing list