Actually, I just tried the link I mentioned and it didn't work.
There's an example of how to do exactly what you want on this page
though. http://developer.apple.com/releasenotes/AppleScript/RN-AppleScript/index.html
Ad
On Nov4, 2008, at 1:28 PM, Adam Penny wrote:
Hey there,
Hey there,
I get the impression that what he means is that he has an ADSL set up
where you have to dial a PPPoE connection from the computer as opposed
to an always on ADSL connection provided by a router.
It looks like this has already been done with Applescript by someone
else, which yo
Hi there,
I'm trying to process a MAC Address into Hex so I was going to do
something like.
NSArray *macArray=[[NSArray alloc] init];
macArray=[mac componentsSeparatedByString:@":"];
for (int i=0; i < [macArray count] ; i++)
{
//somehow need to get an int called dec from the number
onize regularly, so I thought that when synching when the window
closed would be a good option.
That said, if I'm on the wrong track I can always change my strategy
if there's a better way I missed?
Adam
On Oct29, 2008, at 5:38 PM, Jason Coco wrote:
On Oct 29, 2008, at 12:22 , Ada
Hi there,
I want to save preferences when the user either closes the preference
pane window, clicks the show all button or quits system preferences.
Can I just put the method call in the -(void)dealloc or is this a bad
idea?
Thanks,
Adam
___
C
Forgive me if I'm sounding like a broken record, but after a day
experimenting with different approaches based on ideas that came up
yesterday, I'm pretty confident that everything is sound as far as my
controller class is concerned. I've been mulling this problem over and
wanted to put my
On Oct27, 2008, at 12:46 AM, Adam R. Maxwell wrote:
On Oct 26, 2008, at 4:23 PM, Adam Penny wrote:
That's the binary plist representation. This will be transparent to
well-behaved applications. Naughty ones will try to read the raw
XML
plist representation and fail, but ones tha
On Oct26, 2008, at 10:40 PM, Kyle Sluder wrote:
On Sun, Oct 26, 2008 at 4:12 PM, Adam Penny <[EMAIL PROTECTED]>
wrote:
This is my code for the method in question and it's used for the
NSTableView
bindings:
Your code is rather disorganized. Particularly, your use of else
ocal#,:
I keep on rereading the documentation and scouting around for
examples, but this class really is getting the better of me. Help!
Adam
On Oct26, 2008, at 1:12 PM, Jean-Daniel Dupas wrote:
Le 26 oct. 08 à 13:02, Adam Penny a écrit :
Hi there,
Thanks for your response Kyle.
Ba
he control panel is in ~/Library/
PreferencePanes so I didn't think admin rights would be an issue, but
I'm starting to think I haven't grasped something (again). How do I do
this correctly?
Thanks,
Adam
On Oct26, 2008, at 1:14 PM, Adam Penny wrote:
On Oct26, 2008, at 1
On Oct26, 2008, at 1:12 PM, Jean-Daniel Dupas wrote:
Le 26 oct. 08 à 13:02, Adam Penny a écrit :
Hi there,
Thanks for your response Kyle.
Based on that I did this in my -(id)initWithBundle method and
tested it with and without a PList in the right place and it works:
servers
39 AM, Kyle Sluder wrote:
On Sat, Oct 25, 2008 at 6:11 PM, Adam Penny <[EMAIL PROTECTED]>
wrote:
My question is how do I do the checks for the if clause?
The documentation says that if the key doesn't exist, the function
returns NULL. So then you just check to see if your serve
Hi there,
It's been a few days, actually been able to make some progress on my
own for a change!
I've set up my initWithBundle method like this:
- (id)initWithBundle:(NSBundle *)bundle
{
if (![super initWithBundle:bundle]) return nil;
appID = CFSTR("uk.co.pennynet.Wopol");
serve
array.
Thanks again,
Adam
On Oct23, 2008, at 11:18 PM, glenn andreas wrote:
On Oct 23, 2008, at 4:10 PM, Adam Penny wrote:
Nope, I've triple checked the bindings and they're fine, but I do
have two table views in two different tab views in my prefpane
window, could that
Preferences[1164:10b] [NSPrefPaneBundle
instantiatePrefPaneObject] (/Users/adam/Library/PreferencePanes/
Wopol.prefPane): should only be called once
On Oct23, 2008, at 11:18 PM, glenn andreas wrote:
On Oct 23, 2008, at 4:10 PM, Adam Penny wrote:
Nope, I've triple checked the bindings and they&
er has the keys
name
host
uri
On Oct23, 2008, at 10:49 PM, Nick Zitzmann wrote:
On Oct 23, 2008, at 2:36 PM, Adam Penny wrote:
This is the my console message when the panel hangs:
System Preferences[372:10b] [
valueForUndefinedKey:]: this class is not key value coding-
compliant for the key hos
[name release];
[server release];
[uri release];
[super dealloc];
}
@synthesize name;
@synthesize server;
@synthesize uri;
@end
This is the class that it's talking about, which is the model class
for an NSArrayController.
On Oct23, 2008, at 9:52 PM, Nick Zitzmann
Hi there,
Apparently I need to add System Preferences as an executable to my
xcode project in order to debug my build. Can anyone tell me how to do
this in XCode 3 please? I'll be debugging from ~/Library/
PreferencePanes/
Thanks,
Adam
___
Coco
Hi there,
In a preference pane subclass, should the above method be treated as a
replacement for the init method used in normal app controllers i.e.
allocating any other objects that might be needed in the controller?
Thanks,
Adam
___
Cocoa-dev
On Oct20, 2008, at 10:55 AM, Adam Penny wrote:
Hi again,
Sorry, in my naivité I had expected the drag and drop to do more,
but having just created a new NSObject in IB and pointed at the
wopolpref class I now discover that it dragging and dropping has
done the trick.
Thank you very
wrote:
On Oct 19, 2008, at 9:33 AM, Adam Penny wrote:
Having constructed a preference subclass with the appropiate
outlets corresponding to those I've placed in the nib file, I'm
getting an NSObject and setting it's class to the preference pane
subclass with my outlets
t this was
enough just to get the outlets hooked up with IB.
Thanks again,
Adam
On Oct20, 2008, at 1:59 AM, Nick Zitzmann wrote:
On Oct 19, 2008, at 9:33 AM, Adam Penny wrote:
Having constructed a preference subclass with the appropiate
outlets corresponding to those I've placed in the
other than an
NSObject when it's a preference pane in order to make connections?
Thank you very much,
Adam Penny
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
C
23 matches
Mail list logo