Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/i/digsby-HEAD/digsby/src/gui/native/mac/machelpers.py   digsby(Download)
def GetUserIdleTime():
    # Carbon functions are in seconds, not milliseconds, so multiply after getting the proper time
    lastEventTime = Carbon.CarbonEvt.GetCurrentEventTime() - Carbon.CarbonEvt.GetLastUserEventTime()
    return lastEventTime * 1000