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

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

Change font size on axis for excel chart with powershell -