Skip to main content
Search titles, bodies, and author names
Found 71,843 posts across 1 forum.

Determine whether screensaver is running — #2

I think you're probably going to have to do that, yeah, but you should probably use Carbon's Process Manager or sysctl to determine if it's running or not. I think that's a nicer s…
MacNN Development by Angus_D

Determine whether screensaver is running — #4

By the magic of class-dump (see fink), add this to your source somewhere: @interface ScreenSaverController:NSObject <ScreenSaverControl> { NSConnection *_connect…
MacNN Development by calumr

Determine whether screensaver is running — #5

woohoo, sounds great! but... i'm sorry, i've never used any class-dumps in my own source code before... it complains it cannot find the protocol declaraction for "screensavercontr…
MacNN Development by seb2

Determine whether screensaver is running — #6

You haven't declared the ScreenSaverControl protocol in any headers, but referred to it in the declaration for ScreenSaverController, so the compiler is getting confused. You don't…
MacNN Development by Angus_D

ar problems — #1

I was porting over a makefile to the Mac and found some weird changes. The ar command appears to be missing the s option. This means you have to run ranlib separately. This isn'…
MacNN Troubleshooting

ar problems — #2

Must be an older version of ar. Typically on MacOS X, the libtool -static command is used to create libraries, and it automatically updates the table of contents so ranlib is not …
MacNN Troubleshooting

How to detect file/creator types in OS X? — #1

What commands would I use to detect file and creator types under OS X? I know for OS X apps, you can just look inside pkgInfo, and the same information is in an XML file under ano…
MacNN Software

emacs — #1

I just downloaded emacs from versiontracker.com. It's got the ability to change font colors and faces which makes it more useful than the version that comes with OS X beta. Only …
MacNN Troubleshooting

Problems installing Project Builder — #1

When I click install from within the installer, I get the following error: "Couldn't write bom to path. Please try installing again." Any suggestions? Thanks, Tony
MacNN Software

Problems installing Project Builder — #2

I know I've read about this problem over in the Mac OS X Developer forums. So be sure to search for it there. I'm going to move this over to the Mac OS X Developer forum. Click …
MacNN Software

Problems installing Project Builder — #3

I have the same problem, so I am dead-in-the-water now. Quote: Originally posted by sinful@pagans.net: When I click install from within the installer, I get the follo…
MacNN Software

Problems installing Project Builder — #4

originally, I downloaded it with the OSX IE, and had the bom problem. I re-downloaded it with the OS9 IE and subsequently had no problems. Also, I have OSX on a pure UNIX drive, …
MacNN Software

Problems installing Project Builder — #5

I had the same problem and it was caused by Stuffit. I havn't tried the new version but the version shipped with osx couldn't unpack it correctly. If you looked at the size of the …
MacNN Software

NSUserDefaults in java? — #1

Can someone point me to an example of using the NSUserDefaults class with java. I don't understand how to create a domain with it. From the docs on apple webpage it seams like the …
MacNN Development

NSUserDefaults in java? — #2

Assuming you want to store per-user settings for your app, this is very easy. The bundle identifier is set in the CFBundleIdentifier key in the Info.plist file, which is part of y…
MacNN Development

NSUserDefaults in java? — #3

Thanks, that really helped. So now I know how to write and read preferences. Now I have another pretty fundamental question, how do I "catch" events? Let's say I want to save my pr…
MacNN Development

NSUserDefaults in java? — #4

Quote: Originally posted by gabrielf: Thanks, that really helped. So now I know how to write and read preferences. Now I have another pretty fundamental question, how do…
MacNN Development

CGI.pm error — #1

I get an error when using a standard upload script that requires CGI.pm. The error is: "CGI open of tmpfile: No such file or directory" Where is CGI.pm looking to place the temp…
MacNN Troubleshooting

HJSplit for Mac OS X? — #1

I`ve found a nice tool for Windows which`s function is not yet available for the Mac. I think it`s pretty simple to program but I can`t do it. HJSplit is a tool…
MacNN Software

HJSplit for Mac OS X? — #2

Sorry? Not available? Stuffit deluxe has the capability to segment files already for years. I've used this function extensively back in the floppy disk era to copy a 5 Mb file ont…
MacNN Software

HJSplit for Mac OS X? — #4

I did some looking through the manpages. OSX does in fact have a split command that seems to do what you want. I don't know if it's compatible with HJSplit, though. Type man split …
MacNN Software
mp.ls