invoke java through AuthorizationExecuteWithPrivileges() then jvm comes up without ipv6 ?

2012-08-17 Thread Rajendran P
option1, i can see urlconnection is able to connect to ipv6 address whereas in option2, i got protocol family unavailable. I am using AuthorizationExecuteWithPrivileges() through authKit jar on 10.6.8 and JVM is 1.6. Any pointers. -Rajendran P

Fixed font width

2012-06-06 Thread Rajendran P
How do i specify fixed font width for an nsattributedstring (used to set string to nstextfield) ? Thanks in Advance   P.Rajendran or Raju   (for further details contact me )     ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

standard user or admin user ?

2012-02-16 Thread Rajendran P
Is there any cocoa  by which i can determine ,  if the logged in user is standard user or admin user ?   P.Rajendran or Raju   (for further details contact me )     ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

how to cancel call to CSSM_SignData

2011-12-29 Thread Rajendran P
I have multithreaded App   which uses the certificate . the call to  CSSM_SignData function invokes the ( SecurityAgent - keychains ) prompt for keychain  password . the call to CSSM_SignData is blocking till the user responds to prompts (the current thread is blocked). i need to cancel the pro

Re: launchctl agents unload clean up

2011-12-06 Thread Rajendran P
My problem is that applicationWillTerminate is not being invoked when my launch agent is manually unloaded . My application is uielement with out dock entry . I am able to do a signal handling , low level unix signal handling like sigkill , sighup etc . Thanks Rajendran P On 12/4/11 5

launchctl agents unload clean up

2011-12-02 Thread Rajendran P
i need to  do some clean up on launchctl unload of my agent (cocoa application with minimal ui ).   - (void)applicationWillTerminate:(NSNotification *)aNotification  does not seems to be working any other solution ? Please help Thanks Rajendran P   P.Rajendran or Raju

Re: setTitleWithMnemonic -- warning for deprecated API .

2011-09-01 Thread Rajendran P
Thanks for the reply . Is there a way to set an error or warning for use of deprecated API during compilation ? Thanks Rajendran P On 9/1/11 10:31 AM, "KappA" wrote: I never said I was using the "mnemonic" feature... just using it for setting plain text. Is that what yo

setTitleWithMnemonic

2011-08-31 Thread Rajendran P
hi All, Question 1 : is it advisable to use the API setTitleWithMnemonic ? the document discussion says "Discussion Mnemonics are not supported in Mac OS X. " strangely , the API is not deprecated Question 2 : if the answer is yes for the Question 1 , how do i do a binding with Mnuemon

Re: Calculations in a tableview

2011-07-28 Thread Rajendran P
Try value transformers Thanks Rajendran P On 7/29/11 6:18 AM, "Andre Masse" wrote: Well, I may end up doing this... Thanks Andre Masse On 28/07/2011, at 18:52 , Thomas Davie wrote: > > On 28 Jul 2011, at 23:48, Andre Masse wrote: > >> Hi, >> >> For

unloading an launch agent with in the same process

2011-02-22 Thread Rajendran P
Hi All , I have a ui based application which is launched by launch agent .The user is provided with an option to exit/ quit from the same applicaion . what is the best way to unload the application ? P.Rajendran or Raju (for further details contact me )

how to retrive a part of image from a png/bitmap

2011-01-24 Thread Rajendran P
hi , i have a single bitmap/jpeg (no restriction on image type) of size 360*30 consisting of 12 pictures each of size 30*30 , i need to programatically retrieve each of these images and display them in ui . any suggestion on how to approach this would be of great help Thanks in

Re: Image,text and button cell in outline view

2010-11-24 Thread Rajendran P
HI Thank you , the Photosearch sample solved my problem . P.Rajendran or Raju (for further details contact me ) From: Joar Wingfors To: Rajendran P Cc: cocoa-dev@lists.apple.com Sent: Wed, 24 November, 2010 8:12:47 PM Subject

Image,text and button cell in outline view

2010-11-24 Thread Rajendran P
HI my requirement is simple I need a nscell to have image, text and button to be used in an outline view .I had a look at the imageandtext cell example , how to add an button to it ? any idea about how to convert image and text cell to add button ? any suggestion would be really help f

outline view with different elements for parent and child

2010-11-23 Thread Rajendran P
HI all, is it possible to have an outline with three elements in parents and only element in child window ? I need to implement an outline view in which the parent have 3 elements namely nstext , nsimage and nsbutton and the child window has only element namely nstext . my build is targetin

problem with right click jump to definition

2010-11-16 Thread Rajendran P
HI all , I am currently using a custom make file to build my project file , when i right click and say "Jump to definition". it is no going to definition file for methods defined in frameworks like cocoa and systemsecurity but its working fine for all methods written by me . any input on

add a icon to window title bar ?

2010-11-16 Thread Rajendran P
Hi , I am developing a non document based App. i need to add an icon to its main window title bar before the title string , any input on how to implement it would be help full Thanks In Advance P.Rajendran or Raju (for further details contact me ) _

Re: Writing an Uninstaller

2010-10-27 Thread Rajendran P
There is possibility that user might restore the app from trash to /Application :) just ensure that launchd is added after the App launch Thanks Rajendran P On 10/27/10 7:22 PM, "Angus Hardie" wrote: On 27 Oct 2010, at 13:16, eveningnick eveningnick wrote: > Hell

Re: Writing an Uninstaller

2010-10-27 Thread Rajendran P
HI , launch an applescript / shell script when uninstall button is clicked . This should first quit the App and wait for it to terminate and then delete the bundle and plist Thanks Rajendran P On 10/27/10 5:46 PM, "eveningnick eveningnick" wrote: Hello I have an application t

custom outline view

2010-10-27 Thread Rajendran P
HI i need to implement an outline view similar to the one below * first row should consist of Text followed by image and button * on expansion child rows should have Multi Line text | l> TEXT HERE Imagehere ButtonHere

Tableview similar to the network preferences in snowleopard

2010-10-14 Thread Rajendran P
HI I am planning to implement a tableview similar to the one present in System Preferences ---> network pane .will be appropriate to implemented it using a custom cell similar to ImageAndText cell or is there any other alternate method available in snowleopard ? Thanks Rajendra

how to cancel / time out authorisation window through code

2010-02-10 Thread Rajendran P
hi I am currently working on a Cocoa Application in which i pop up an authorisation window using AuthorizationCreate . if the user has not responded to it with a time say 60 seconds , i want to cancel/timeout the pop up window created by above authorisationCreate . how can i cancel / tim

Hardware UUID in New Mac Book Pro

2009-10-08 Thread Rajendran P
Hi, How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac Book's system Profiler was showing Hardware UUID but in new machines, It might be hidden or stored in any other form/name. Is there any command or (c/cpp) api to get that ID? P.Rajendran or Raju (for further det

NSoutlineView Selection Problem with 10.4 SDK

2009-07-08 Thread Rajendran P
I have attached a sample outline view code ,the outline view cell has a custom "text and image cell" . Whenever i do selection of an item using mouse and continue holding mouse, the image of the selected item does not change until i release the mouse. This problem is only seen i compile the p

NSoutlineView Selection Problem with 10.4 SDK

2009-07-08 Thread Rajendran P
I have attached a sample outline view code , the outline view cell has a custom "text and image cell" . Whenever i do selection of an item using mouse and continue holding mouse, the image of the selected item does not change until i release the mouse. This problem is only seen i compile the

localisation of contents in main menu

2009-06-30 Thread Rajendran P
on how to completely localise the menu Items Provided by default menu ? Thanks In Advance Rajendran P Cricket on your mind? Visit the ultimate cricket website. Enter http://cricket.yahoo.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.