| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
OK,
I did find my project which runs as tool from command line and uses Appkit methods. The trick is that you need to call [NSApplication sharedApplication] in your main method.
int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
[NSApplication sharedApplication];
// your code here
[pool release]; return 0; }
HTH Robert
Hello Robert,
Perhaps you can have a look at the webkit2png script here: http://www.paulhammond.org/2005/08/webkit2png/webkit2png-0.4.txt
Thank you for further help. Hannes
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden
| References: | |
| >Untrusted apps are not allowed to connect to or launch Window Server before login. (From: Hannes Bohring <email@hidden>) | |
| >Re: Untrusted apps are not allowed to connect to or launch Window Server before login. (From: Robert Cerny <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.