I spawn a child process and need to know what files it modifies, creates or deletes.
I can't use dtrace because I cannot sudo.
I can't use FSEvents because it reports modifications that occur for all processes on the system and I'm only interested in my child process.
Thanks for your help.
...
Is there a tool to get all string for NIB file on MAC OSX? Right now, I have to copy it from the NIB editor. Thanks.
...
I'd like to search for words in the OS X system dictionary (or dictionaries) using a simple glob or regex rather than a known text. (Currently I'm using /usr/share/dict/words instead, but the OSX dict would be a lot nicer.)
The Dictionary Services interface is quite limited and doesn't allow this, but it seems like DSGetTermRangeInStrin...
I have a self-installed MySQL service running on my OS X Snow Leopard machine, compiled using the automated installer from mysql.com.
The problem I'm having is that I want to sync my database files, from the "data" directory, using Dropbox. All directories and files created within that folder are being assigned to the user "_mysql" and ...
If I wanted to ignore a touch event in UIKit on the iPhone I would simply do:
// Begin ignoring events
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
//Do my code
// Stop ignoring events
[[UIApplication sharedApplication] endIgnoringInteractionEvents];
This allows my code in between the "ignore" calls to operate ...
I am making a Java program, and one way to load files is to drag the file onto the application window (swing). I have code that works in Windows and Linux. It works in OS X, but the 1st file I drag throws an exception, and then the rest work fine.
Here is the code I use to enable DnD.
/*
* Allow a file to be opened by dragging it on...
Given a path, in Mac OS X, is there a way to tell that it is a mounted CD or DVD, as opposed to a regular directory, a regular file, or mounted DMG or other mountable file type? Specifically I would like to know if it is a CD or DVD when a user supplies a path directly, or via the NSOpenPanel, or drags the CD onto the app. I need to ta...
I'm trying to embed Python into a MATLAB mex function on OS X. I've seen references that this can be done (eg here) but I can't find any OS X specific information. So far I can successfully build an embedded Python (so my linker flags must be OK) and I can also build example mex files without any trouble and with the default options:
jm...
A question for Apple,QT programmers.
Would like to know if it's possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I've looked at QTComponentTypes.h but don't see an entry for MP3.
I need to export audio in a format that can do > 4GB.
...
I am trying to install MIME::Lite using CPAN via Mac OS X Leopard and CPAN just keeps reporting back the following message:
cpan shell -- CPAN exploration and modules installation (v1.9304)
ReadLine support enabled
cpan[1]> install MIME-Lite
CPAN: Storable loaded ok (v2.21)
Going to read /private/var/root/Library/Application Suppo...
Hi,
I need both Firefox 2 and Firefox 3 on my Mac OS X for testing purposes.
Is it possible?
...
Is there any method / API defined to collect system info in osx.
I want to write utility which will collect hardware information like CPU,RAM,Network adapter.
Any idea ?
Thanks in advance.
...
I downloaded LibC source from opensource.apple.com, but since it's part of one monolithic library /usr/lib/libSystem.B.dylib would I have to somehow rebuild the entire thing?
I have a BSD command line program, ported from Linux. I want to be able to set breakpoints in LibC functions and step through. I'm trying to close in on what seems...
Hi guys
I have a external 1TB drive which is not getting recognized by my program as removable storage device.
I have in my code the following lines to detect the removable drives attached to the machine.
NSArray *removableDrivesPaths = [[NSWorkspace sharedWorkspace] mountedRemovableMedia];
Please can you guys tell me a method to get...
Is there a way to find out what all softwares are installed / present in OS x, programmatically using objective C. any help will be appreciated. Thanks in advance
...
I get this on every git svn command I try. I am using git version 1.6.4.2 on OS 10.6
The initial git svn fetch works, and i can do further fetches after that, but they do not enter the log or update the working copy.
...
I have a simple little osx app that just starts up an IKPictureTaker and then saves the resulting picture as a .tiff file. It all seems to work fine but everytime I take the picture I get this error repeatedly:
2009-11-10 12:25:38.890 Take A Picture[855:9c23] *** QTCaptureSession warning: Session received the following error while de...
I would like to store some files in the application support directory is there some system call to retrieve this directory?
...
I have a small osx cocoa app that brings up an IKPictureTaker at start up, I would like for my application to quit after this picture taker is closed. I read that I need to add this code to my NSWindowController class but I have no idea how to access this class (it shows up no where in my class list in XCode):`
-(BOOL) applicationShoul...
I need run a system call to run a .app file from java. Any ideas?
...