kLSSharedFileListGlobalLoginItems. When add new item with
function LSSharedFileListInsertItemURL, return LSSharedFileListItemRef item =
1. This is the correct code?
Sorry for my english.
Macarov Anatoli , www.mas.do.am - iCtrlClip
___
Cocoa-dev mailing list
Thank you for your reply and for directory /tmp.
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.ap
CFPreferences doesn't work. My bundle works in login window under user account
securityagent. Can I somehow with the user's rights create file?
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo
I have admin rights. But I can't use NSUserDefaults because upon starting
system in login window I'm not in user account, and there the function doesn't
work.. After authorization and login in user account the function will work
because detects what user account you work from.
I have got my own bundle that I insert into login window. When login window is
started up the bundle writes necessary parametr into file which is situated
in /Library/Preferences/. I try to write in the following way:
NSString *Value;
NSDictionary *theDict = [NSDictionary dictionaryWit
How to compile a PAM module?
Where to download libpam-dev or files pam_appl.h, libpam.so?
I'd like to get PAM module from yubico-pam.c, here what I'm guided
by:http://code.google.com/p/yubico-pam/wiki/ReadMe.
This is error when compiling:
"configure: error: PAM header files not found, install libp
Example: http://www.cocoabuilder.com/archive/message/cocoa/2001/7/8/41850
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
hasVisibleWindows:(BOOL)flag
{
NSBeep();
NSLog(@"Hi");
return YES;
}
And in awakeFromNib in the same class
[NSApp setDelegate:self];
I found this function. But it doesn't respond to reopen application. I just
declare it in class MainMenu.nib. This is my code:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
hasVisibleWindows:(BOOL)flag
{
NSLog(@"Reopen");
return YES;
}
or I should create notificat
No. The program starts up automatically upon system logon, and the icon appears
in the system tray (near clock). A user may not notice the icon , thus he/she
starts the program manually, and then pops up program's main window.
Вы у
How to get notification of rerun application that is namely being
started from the icon? Because the program is automatically started
upon OS login.
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail
I have PowerBook G4 and PowerPC. In Xcode and Obj - C, I use
IOBluetooth.framework. Why when bluetooth is working WIFI connection is
interrupted, and sometimes quits working. May be both devices use one and the
same antenna or use the same frequency? Is there a way out?
__
When modal window is started up the application stops carrying out other
processes. How to work out this issue?
Cod:
- (void)showCustomDialog: (NSWindow *)window widi:(NSPanel *)windowDialog
{
if (!windowDialog)
[NSBundle loadNibNamed: @"MyCustomDialog" owner: self];
[NSApp beginS
HI!
Cocoa, Obj-C.
How to check the capital letter?
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.
My program requests user's password for further work. Tha's why I'd like to
check password, if the user has entered it correctly. And for this I use
Authorization Service.
On Mon, Jul 28, 2008 at 7:24 AM, Macarov Anatoli
<[EMAIL PROTECTED]> wrote:
> With the help o
HI!!!
Cocoa, Obj-C.
With the help of this procedure I check whether the password has been entered
correctly. But the code works only for the user with admins rights. How do I
check the password being a standard user?
Cod:
-(BOOL) authenticatePassword:(NSString *)password :(NSString *)userName
{
Problem solved.
Cod work:
NSPipe *writePipe = [NSPipe pipe];
NSFileHandle *writeHandle = [writePipe fileHandleForWriting];
NSTask *task = [[NSTask alloc] init];
NSString *command = @"/usr/libexec/authopen";
NSArray *args = [NSArray arrayWithObjects:@"-w",@"/etc/tolea.txt"
This is my code, I would give you an example.In documentation on authopen
command-w writes data in file, but I can't do it.
On 27 Jul 08, at 02:19, Macarov Anatoli wrote:
> HI Andrew Farmer,
> This is my cod:
>
> NSString *command =@"/usr/libexec/authopen&q
When user has a standard account (not administrator), he/she doesn't have
rights to create a file in the Directory /Applications/. I try to create a file
with the help of function authopen. This code doesn't work:
FILE *pFile = popen("/usr/libexec/authopen -stdoutpipe
sys.openfile.readwritecre
Someone has an example with authorization services.Le 24 juil. 08 à 14:24,
Macarov Anatoli a écrit :
> HI!
> Cocoa, Obj-c.
> How to creat a file in the folder that has limited permissions (read-
> only)?
> Give me example, please.
You can use NSTask and /usr/libexec/authopen (
HI!
Cocoa, Obj-c.
How to creat a file in the folder that has limited permissions (read-only)?
Give me example, please.
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
_
20 matches
Mail list logo