objective c - How to get list of all start up/login applications on mac? -


i want list/array of application launch @ startup mac using objective c.

thanks in advance!!

here code applicaiton list startup

     // loginitems list.     lssharedfilelistref loginitemsref = lssharedfilelistcreate(null, klssharedfilelistsessionloginitems, null);     if (loginitemsref == nil) return nil;     // iterate on loginitems.     nsarray *loginitems = (__bridge nsarray *)lssharedfilelistcopysnapshot(loginitemsref, nil);     (id item in loginitems) {    // want    } 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -