I created a blessed helper and when I view it in Activity Monitor, it does not
contain a "Process Name".
Can somebody please refer me to the appropriate documentation as I can not find
it.
Thanks,
Coderama
___
Cocoa-dev mailing list (Cocoa-dev@lists.
Trying to write out syslog entries containing strings but they don't register.
E.g.
// where person.name is an NSSTring
syslog(LOG_NOTICE, "Some string %@", person.name);
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Does anyone know why the assignment of NSFileOwnerAccountName and
NSFileGroupOwnerAccountName does not work? The directory created defaults to my
account and the staff group.
NSFileManager *fileManager = [NSFileManager defaultManager];
NSMutableDictionary *attr = [NSMutableDictionary dic
Shouldn't the the SMJobBless example be used? Although I am still struggling to
get this to work - even have an open Apple support issue.
On 16/03/2012, at 11:45 PM, Jean-Daniel Dupas wrote:
>
> Le 16 mars 2012 à 13:27, Gerriet M. Denkmann a écrit :
>
>>
>> On 16 Mar 2012, at 19:17, Jean-Dani
I have references to 'ground' and 'air' in multiple files. It is usually used
in this context, but not always.
> if ([transport.type isEqualToString:@"ground"]) {
> // do something for automobiles
> }
> else if ([transport.type isEqualToString:@"air"]) {
> // do something else for pl
Figured it out:
> NSMenuItem *menuItem;
> menuItem = [subMenu addItemWithTitle:@"Open folder"
> action:@selector(openDirectory:person.directory) keyEquivalent:@""];
> [menuItem setRepresentedObject:person];
On 08/03/2012, at 6:56 PM, Prime Coderama wrote:
&g
I am dynamically building menu's based on an array and there is a sub-menu is
linked to an IBAction which opens a folder in Finder. The folder it opens is
based on a property of the object in my initial array.
Is there a way of linked the NSMenuItem action to the IBAction and passing in
this di
If no Terminal app is open, the following code opens TWO Terminal windows. Why
is it doing this? I only want one window to open.
If only one Terminal window is open, then the following code opens only ONE
additional window.
NSAppleScript* terminal = [[NSAppleScript alloc] initWithSource:
I have an NSMenu with the following static NSMenuItems
1. NSMenuItem "Count of people" (hidden)
2. NSMenuItem (hidden)
3. NSMenuItem
4. NSMenuItem "Refresh List"
5. NSMenuItem
6. NSMenuItem "Quit"
I then dynamically add n-amount of NSMenuItems between (2) and (3). This works
great.
The probl
I should have been more specific with what I wanted. The icon was in fact a
tickbox, and the solution was to use NSMenuItem's setSate with a value of
NSOnState
On 07/03/2012, at 12:21 PM, Prime Coderama wrote:
> I am trying to add an icon to only one NSMenuItem item but it is indentin
I am trying to add an icon to only one NSMenuItem item but it is indenting the
icon and text by 1 level.
I tried to set the setIndentationLevel to "0" but that doesn't work.
An example of what I am trying to achieve can be seen in the Wireless status
bar menu where the tickbox is displayed agai
I have an array and I am iterating through it using this technique:
> for (id object in array) {
> // do something with object
> }
Is there way to obtain the object's current array index position or do I have
to add a counter?
Thanks in advance.
I writing a PreferencePane project and created a helper tool to perform actions
that required an elevated privilege.
When I run my Preference Pane, I am getting this error:
> System Preferences[22312:903] Bless Error: Error
> Domain=kSMErrorDomainFramework Code=5 UserInfo=0x2005790e0 "The operat
Does anyone know the correct Subpath to use for the Build Phases of the Target
application of a PrefPane project?
e.g. in an Applications project, the subpath is
"Contents/Library/LaunchServices"
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
I am trying to install a helper tool via SMJobBless and it is returning this
error:
System Preferences[22312:903] Bless Error: Error Domain=kSMErrorDomainFramework
Code=5 UserInfo=0x2005790e0 "The operation couldn’t be completed.
(kSMErrorDomainFramework error 5 - The tool at the specified path
15 matches
Mail list logo