Re: I have a Corrupt data

2009-08-21 Thread Paul M
If you know you have a problem, why do you want to just push it away, and hope it doesnt come back _too_ soon. Why dont you want to actualy fix the problem instead of wasting time building creative ways of hiding it? paulm On 22/08/2009, at 2:28 PM, Agha Khan wrote: HI: While I am saving

Re: Setting multi line Text to Radio button

2009-08-22 Thread Paul M
Some extra newlines preceeding your title should make it _look_ like your screenshot (for odd numbers of lines in the lable, anyway), but it still wont work quite the same, as there will be a clickable area above your lable. (if that makes sense). I dont know how that'll affect the spacing betwe

Re: OR compositing operation?

2009-09-26 Thread Paul M
This is a multi-pass operation - you wont find a single blend mode that will do this in any simple manner. First question: Are you doing this all in one hit, or sequentially, ie, rendering the first layer of text then adding subsequent layers later? Second question: is the text all the same colou

Re: OR compositing operation?

2009-09-27 Thread Paul M
to the question of how to make kCGBlendModeLighten to the alpha channel. You said I could "average the color components but max the alphas." How can I do this? Thanks! On Sun, Sep 27, 2009 at 3:45 AM, Paul M wrote: This is a multi-pass operation - you wont find a single blend mode that will do th

Re: Checking whether a file is a genuine PDF file

2009-10-04 Thread Paul M
On 5/10/2009, at 4:12 AM, Sherm Pendley wrote: On Sun, Oct 4, 2009 at 8:07 AM, Squ Aire wrote: How can I check whether a file is indeed a true PDF file (that can be, for example, opened in Preview)? Would I be able to filter true PDFs file in an open dialog, or would I just have to stick to

Re: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)

2009-10-05 Thread Paul M
This is a much better approach IMO. If your user is trying out a bunch of options to find a particular combination that works for them, and the machine goes away for ~30 secs each time they test a new change, the'll get pretty irriated with your screen saver pretty quickly. Showing the resul

Re: Hide an Item on Desktop

2009-10-08 Thread Paul M
On 9/10/2009, at 2:51 PM, M Pulis wrote: Naming a file with leading period is THE traditional unix way of making a file less visible to the casual observer. OSX is based on unix. (Actually, isnt OSX the most widely used OS legally able to use the name 'Unix'?) The dialog message above i

Re: Hide an Item on Desktop

2009-10-09 Thread Paul M
This will be the POSIX spec, not an Apple one. OSX has been POSIX compliant since Leopard, accoring to this page: http://developer.apple.com/leopard/overview/osfoundations.html paulm On 10/10/2009, at 8:23 AM, Michael Domino wrote: M Pulis wrote: Unless you can absolutely prove that your f

Re: TIFFRepresentation, different TIFF format under Snow Leopard

2009-10-12 Thread Paul M
On 13/10/2009, at 4:39 AM, Sandy McGuffog wrote: Actually, that occurred under 10.5 as well - what happens is that some operations, it would seem those involving Core Image, cause the internal representation to go to RGBA. Which is fine, but there doesn't seem to be a way to write a plain R

Re: TIFFRepresentation, different TIFF format under Snow Leopard

2009-10-13 Thread Paul M
e corrected in future releases" Taken from this page: http://kb2.adobe.com/cps/000/13da4f4.html One other possibility is that the image in question is corrupt in some way. If you want to send me a sample image (preferably not too big) off list, I can verify this. Sandy On Oct 12, 200

Re: video DVD burn on Mac OS X?

2009-10-18 Thread Paul M
Take a look at the source for DVDAuthor. paulm On 19/10/2009, at 11:58 AM, David Cake wrote: While I am on the subject of DVD burning, are there any methods of creating a video DVD playable in DVD players programmatically, other than directly calling another program such as dvdauthor?

Re: how to make cocoa application run as a command line tool?

2009-10-20 Thread Paul M
On 20/10/2009, at 10:58 PM, XiaoGang Li wrote: Greetings, I have created an document-based cocoa application, now I need to provide a command line interface for my users. for example, users input this into the terminal: ./myApplication.app/Contents/MacOS/myApplication -c --srcFolder "A

Re: Sending a Selector to another Class.

2009-10-22 Thread Paul M
With all due respect, but by 'directly answering the question' you are doing the OP and all those reading this list a dis-service. You are just rewarding his lazyness. The OP has already been told to bone up on Obj-C basics, and he's obviously completely ignored this advice, the reason being that

Re: Make a solid line look like 3D

2009-10-25 Thread Paul M
On 26/10/2009, at 10:44 AM, Matthias Arndt wrote: Am 25.10.2009 um 19:50 schrieb I. Savant: How about creating 1 NSGradient instance for each color you want, then creating one bezier path for each line. The path would describe the outer edges of the pipe, then you'd *fill* it with the gradie

get ref to instance from IB

2009-06-15 Thread Paul M
First off, I'm new to IB and cocoa, so these questions should be taken in that context. Also, This is a port of an existing X/C++ app. The internals are tried and true, all I'm doing is adding a new UI. How do I obtain a reference to an object instanciated in IB? I have 2 outline views and 2 in

Re: get ref to instance from IB

2009-06-16 Thread Paul M
Thanks for all the good information here. It's helping a lot. My data is largely static, if it does change it all changes, so if I save references to all my wrappers, I can just dump the lot and start over if there are changes. I'll probably create them on an 'as required' basis to prevent a bum

Re: get ref to instance from IB

2009-06-17 Thread Paul M
On 17/06/2009, at 12:36 PM, Andy Lee wrote: On Tuesday, June 16, 2009, at 08:10PM, "Paul M" wrote: Thanks for all the good information here. It's helping a lot. My data is largely static, if it does change it all changes, so if I save references to all my wrappers, I can just d

Re: Amount of Arguments per Method

2009-06-22 Thread Paul M
In documentation, stacking the arguments verticaly is of value. In actual code, I _always_ concatenate on to as few lines as necesary (tho' using double indentation for subsequent lines) as I find it makes for much _more_ readable code. Reasoning? - I wrote that code, or I've already read it care

Re: Screen capture Cocoa framework

2009-06-24 Thread Paul M
On 25/06/2009, at 2:51 AM, Michael Ash wrote: On Wed, Jun 24, 2009 at 10:26 AM, Andy Bell wrote: I was asking for recommendations not tips on how to use a search engine. Sometimes you get what you need, not what you want. Sometimes you get what you ask for, not what you want. paulm ___

Re: How to display the information in the columns of the table view?

2009-07-27 Thread Paul M
Hi all, In my application, I want to drag the file into the table view. At the same time, display the basic information in the columns of the table view. ... Thanks for just wasting an hour and a half trying to recover from that stupid huge attachment! I'm on dial-up - I have no choic