api for the cmd tab app list

Discussion in 'Mac Programming' started by donaldmac, Sep 20, 2012.

  1. donaldmac macrumors newbie

    Joined:
    Jan 29, 2010
    #1
    Is there an applescript api (or anything else) for accessing the list of apps (and their order) in the horizontal list that is displayed upon CMD - Tab?

    I'm wanting to build an app/script which works out the most recent browser I've been using to test a web page with. I'm guessing the order of this list may represent a stacking order of windows, so maybe there's a way of working out that?
     

Share This Page