Highlight active window

Discussion in 'Mac Programming' started by aigo, Mar 2, 2011.

  1. aigo macrumors newbie

    Joined:
    Mar 17, 2008
    #1
    I have 12 windows open in one application. Is it possible to write a script that highlights the active window with a color frame? Similar to the blue frame that shows in expose.
    Thanks.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    It might be possible, using the accessibility framework, Apple events, and/or CGWindow.

    If you know how to program, feel free to explore those options.
     
  3. aigo thread starter macrumors newbie

    Joined:
    Mar 17, 2008
    #3
    Thank you for your answer. Unfortunately I don't know how to program. But now I know this is possible. I found one program that does this. http://code.google.com/p/blazingstars/

    Would it be easier and possible to highlight the active window titlebar with another color than grey? I can see now that the active window changes color from dark grey to light grey. Would it be possible to give the titlebar a red color?
     

Share This Page