Re: Removing folder from /Applications

2008-07-08 Thread Robert Cerny
On 8.7.2008, at 12:52, Glover,David wrote: Hi there, I've create a little app that is required to remove an obsolete folder from /Applications. This works fine when the user is logged in as an Admin, but not when logged in as a Standard user, as they obviously require authorization. So,

Re: Memory not freed with CIImage

2008-06-12 Thread Robert Cerny
On 12.6.2008, at 7:48, Stefano Falda wrote: On 12/giu/08, at 00:34, Nick Zitzmann wrote: It's normal for physical memory sizes to go up, and not come down until either the program is quit or the physical memory is needed elsewhere. Activity Monitor is not a memory leak detector. If you

Support saving to network volumes

2008-05-30 Thread Robert Cerny
Hello folks, being more sysadmin than developer I'm very interested in the issue of saving Photoshop files over network, which is discussed here: http://discussions.apple.com/thread.jspa?messageID=7280520 and here http://www.adobeforums.com/webx/.59b56503/8 - and appears to be broken in the

Re: DirWatch

2008-05-23 Thread Robert Cerny
On 23.5.2008, at 6:42, Ken Thomases wrote: On May 22, 2008, at 10:56 PM, Ken Thomases wrote: On May 22, 2008, at 6:57 PM, Lorenzo wrote: I can't. Think about the FNSubscribe tells me that there is something new because the user copied 2 new files into that folder, but only one file is

Re: 'Configure Sheet' fails when containing a WebView

2008-05-23 Thread Robert Cerny
On 23.5.2008, at 14:28, harry greenmonster wrote: Hi I have a screensaver which I'm building, I have created a 'configure sheet' accessed by the 'options' button in 'system preferencesscreensaver'. In IB I drag WebView onto my 'configure sheet', then when I test the screensaver the

Re: Cocoa et al as HCI usability problem

2008-05-22 Thread Robert Cerny
Well, I just made new bugreport #5955452 to enhance docs sets with more sample code inside of method descriptions. I took NSEnumerator's nextObject method as a sample how to do it the right way..

Re: Core Data: How to encrypt a persistent store

2008-05-22 Thread Robert Cerny
On 22.5.2008, at 12:12, Ruotger Skupin wrote: Hi, I have an application which uses Core Data and handles sensitive information. Is there an easy way to encrypt the on-disk persistent store provided I'm reasonably fluent in libCrypto and do not want to use an encrypted disk image?

Re: File integrity

2008-05-22 Thread Robert Cerny
On 22.5.2008, at 12:35, [EMAIL PROTECTED] wrote: Hi all, is there a way to tell if my executable was launched by/attached to some other process? Basically, I just want to kill myself as soon as I sense those prying eyes, in order to make it just a little it harder for the crackers. TIA

Re: NSWindow in main nib.

2008-05-22 Thread Robert Cerny
On 22.5.2008, at 12:52, [EMAIL PROTECTED] wrote: Hi, I posted a qustion that about wndow zoom button.Now i got the window by setting all the intial positions. Thanks Sorry I have no idea what are you talking about. Could you please rephrase your question? Anyway, please don't cross

Re: NSTextField does not lose focus

2008-05-22 Thread Robert Cerny
On 22.5.2008, at 11:15, Torsten Curdt wrote: I've got a NSTextField (on a NSTabView). I open the window. I click the text field and enter some text. Now I click on a button next to it. The value has still not been committed and it still has the cursor. Then I click outside of the text

Re: NSPasteboard Delegate

2008-05-22 Thread Robert Cerny
Hi, I don't think it's possible to be notified about pasteboard change. Depending on your needs I believe a polling should be the right way to go. HTH Robert On 22.5.2008, at 14:08, Adil Saleem wrote: Let me be more precise this time. I haven't used pasteboards before. I think i asked

Re: NSTextField will not become editable in a borderless window

2008-05-22 Thread Robert Cerny
You need to subclass NSTextField. http://www.cocoadev.com/index.pl?BorderlessWindow HTH Robert On 22.5.2008, at 14:13, Peter Burtis wrote: When I add an NSTextField to a borderless window, nothing I do will make it editable. Specifically, running the code below, the text field just

Re: Newbie query re default buttons

2008-05-22 Thread Robert Cerny
Hi, could you simply add the default flag in IB? 1. select the button 2. Hit -1 to bring up Inspector pane 3. Click the dark grey rectangle next to Key Equiv. 4. Hit Enter HTH Robert On 22.5.2008, at 16:51, Michael McLaughlin wrote: As a Cocoa newbie (after years of Carbon), I am working my

Re: Newbie query re default buttons

2008-05-22 Thread Robert Cerny
Just FYI, [myButton setKeyEquivalent:@\r]; is the correct way to set button to Default. Are you sure that speakButton is not nil? Robert On 22.5.2008, at 16:51, Michael McLaughlin wrote: As a Cocoa newbie (after years of Carbon), I am working my way through the 3rd edition of Hillegass'

Re: Newbie query re default buttons

2008-05-22 Thread Robert Cerny
Hi, could you send me your project off list? I will check it and let you know what's wrong. (If I find it of course) Robert On 22.5.2008, at 19:39, Michael McLaughlin wrote: Robert Cerny wrote: Just FYI, [myButton setKeyEquivalent:@\r]; is the correct way to set button to Default

Re: DirWatch

2008-05-22 Thread Robert Cerny
On 23.5.2008, at 0:32, Lorenzo wrote: Hi, I need to watch at a given folder and check whenever a new file has been copied therein. At the beginning, I fired a timer periodically getting the list of the contents of that folder with directoryContentsAtPath But soon I discovered that

NSXMLDocument encoding

2008-05-05 Thread Robert Cerny
Hi folks, I use NSXMLDocument to parse web page content, which is in NSWindowsCP1250Encoding. However I don't get correctly encoded data from NSXMLNodes NSURLRequest *req = [NSURLRequest requestWithURL:[NSURL URLWithString:url]]; NSData *webData = [NSURLConnection

Re: NSXMLDocument encoding

2008-05-05 Thread Robert Cerny
On 5.5.2008, at 22:41, Ricky Sharp wrote: On May 5, 2008, at 2:53 PM, Robert Cerny wrote: I use NSXMLDocument to parse web page content, which is in NSWindowsCP1250Encoding. However I don't get correctly encoded data from NSXMLNodes NSURLRequest *req = [NSURLRequest requestWithURL

Re: NSXMLDocument encoding

2008-05-05 Thread Robert Cerny
Hi, On 5.5.2008, at 23:14, Jens Alfke wrote: On 5 May '08, at 12:53 PM, Robert Cerny wrote: doc = [[NSXMLDocument alloc] initWithData:webData options:NSXMLDocumentTidyHTML error:error]; Try using -initWithContentsOfURL

AddressBook.framework binding

2008-04-28 Thread Robert Cerny
hi everybody, I searched the web but I'm probably not asking the right question :/ Is there a way how to use AddressBook data with bindings directly (I mean without writing glue code for extracting values wrapped with properties)? I mean I can write bunch of repeating code and add it to

Why is my NSTableView empty?

2008-04-28 Thread Robert Cerny
Hi, I'm kind of stupid today, my question is probably very easy to answer. I haven't been in programming for some time and somehow cannot manage solution for my following simple problem.. I got an array 'peeps' populated in apps delegate: peeps = [[NSArray arrayWithArray:[[ABAddressBook

Re: Why is my NSTableView empty?

2008-04-28 Thread Robert Cerny
Hello IS, thanks for your reply. On 28.4.2008, at 16:46, I. Savant wrote: and I'm trying to display all last names in the table. - I created NSArrayController ABPeople and set content to my delagate, key path: peeps This is imprecise - if there is a problem with this, we won't know to

Re: NSMailDelivery Deprecated

2008-04-12 Thread Robert Cerny
Hello Seth, check this link http://www.cocoadev.com/index.pl?SendingEmailMessages HTH Robert On 12.4.2008, at 19:35, Seth Willits wrote: Howdy, I'm writing an internal tool, and NSMailDelivery looked to fit the bill to automatically send emails behind the scenes, but it was deprecated