I’m trying to get my simple headless "status item" application to run at login (macOS only for now, I’ll deal with the Windows system tray version later). The LSSharedFileListMBS class seems to work just fine to get the built application registered in the “Login Items” section, but I did run into an odd problem:
Dim list As New LSSharedFileListMBS(LSSharedFileListMBS.kSessionLoginItems) Dim item As New LSSharedFileListItemMBS The following works: item = list.InsertFile(list.kLSSharedFileListItemLast, App.ApplicationNameMBS, App.ApplicationFileMBS.IconMBS(48), SpecialFolder.CurrentWorkingDirectory.Child(“My App Name.app")) The following doesn’t: item = list.InsertFile(list.kLSSharedFileListItemLast, App.ApplicationNameMBS, App.ApplicationFileMBS.IconMBS(48), App.ApplicationFileMBS) It instead puts a reference to a "Unix Executable”, and launches the app using a terminal window. I would assume the ApplicationFileMBS class would return a FolderItem reference to the app bundle, but it seems like it is doing something slightly different. Can anyone point out a better way to do this? Cheers. -bill k _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info