MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
LoginItemsMBS class
class, Login Items,
MBS Real Studio MacOSX Plugin
(LoginItems),
class LoginItemsMBS,
Plugin version: 7.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A class to handle login items on Mac OS X.
Notes:
After creating a new object, the constructor may fail sometimes while updateing the list. lasterror is -609 in that case. His happens most likely just after login when the system events process is not yet ready. In that case, let your app wait a few seconds and try again.
For newer Mac OS X versions, please use LSSharedFileListMBS class instead.
Plugin version: 7.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A class to handle login items on Mac OS X.
Notes:
After creating a new object, the constructor may fail sometimes while updateing the list. lasterror is -609 in that case. His happens most likely just after login when the system events process is not yet ready. In that case, let your app wait a few seconds and try again.
For newer Mac OS X versions, please use LSSharedFileListMBS class instead.
- property Count as Integer
- property Handle as Integer
- property Lasterror as Integer
- method AddFile(file as FolderItem, hidden as boolean=false) as boolean
- method AddURL(url as string, hidden as boolean=false) as boolean
- method DisplayName(index as integer) as String
- method File(index as integer) as FolderItem
- method IsHidden(index as integer) as boolean
- method Name(index as integer) as String
- method OldAddLoginItem(file as folderitem,hide as boolean,allusers as boolean) as boolean
- method OldCountOfLoginItems(allusers as boolean) as integer
- method OldLoginItemPropertyAtIndex(what as integer, index as integer, allusers as boolean) as string
- method OldRemoveLoginItem(file as folderitem,allusers as boolean) as boolean
- method OldRemoveLoginItemAtIndex(index as integer, allusers as boolean) as boolean
- method Remove(index as integer) as boolean
- method RemoveFile(file as FolderItem) as boolean
- method RemoveURL(url as string) as boolean
- method Update
- method URL(index as integer) as String
This class has no sub classes.
Some examples which use this class:
The items on this page are in the following plugins: MBS Real Studio MacOSX Plugin.
Links
MBS Real Studio PDF Plugins