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

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -