mac

Where is a binary file once it's been built (for ffmpeg)?

I need to build ffmpeg for Mac for converting MOV to FLV in a Java application. I made and installed LAME and then FFMPEG, but I'm confused as to what file I should grab to include with the Java application. What is the binary file? The previous version that I grabbed from the source of ffmpegX was 10mb in size, but the file that's in my...

Can I monitor other windows' event like resizing, hiding etc from NSNotificationCenter?

Hi guys, I'd like to monitor all windows (include other applications' windows) changes like resizing, hiding, un-hiding etc. I found that if I use [NotificationCenter defaultCenter] , I just receive the event from my own application's window. But how about NSWorkspace's notification center? ...

LaunchAgents for GUI app

Hi I would like to launch my app each time user logs-in. I added plist file to /Libray/LaunchAgents folder : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; <plist version="1.0"> <dict> <key>KeepAlive</key> <false/> <key> LaunchOnlyOnc...

Netbeans / Java / Delete Files on Mac

I have a problem with my Java program. I want to delete a file on my hdd; I use a MacBook. Here is my code: public static void main(String[] args) { File actualFile = new File("/Users/luffy/test.xml"); actualFile.delete(); } chmod is set! Help please. ...

.doc support in mac

I created a Word document with an image in my windows pc and saved it as mine.docx.Then i transferred it to my mac.When i opened it there the image just doesnt show up in the document.Doesnt mac support .docs with images??The apple tech forum says there is support for .doc but there is no mention about images.Also the documents icon has...

How can i set the proper font for java application on windows and mac?

I have been developing a program on a windows machine. All dimensions for the application are based on the default windows font and size. The default mac font seems to be larger in size, therefore not all text is visible in labels, comboboxes, ... How can i make sure that the proper font size is used on mac machines? ...

Shared application data on Mac?

Hi, I'm new to building application on Mac. I have global data that I need to share between users and not sure where to store this data on Mac to avoid permissions issues when reading and writing files. On Windows I have stored it in /ProgramData/ in the past. ...

What Is Bundle Identifier For Dreamweaver?

Hello, For Mac Os X Terminal I am trying to launch Dreamweaver by below code: open -b "com.adobe.Dreamweaver" But it does not help. What is the correct bundle identifier for Dreamweaver? Thanks. ...

trace() not written to flashlog.txt

Hi I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get written to the flashlog.txt just fine but my trace statements don't : ( I have mm.cfg in /Library/Application Support/Macromedia and it contains the following lines: ErrorReportingEnable=1 Tr...

Getting back into C++ (tools, debuggers, environments, compilers)?

I'm going to be using a subset of C++ (working within some of the ideas in Elements of Programming), but I haven't used C++ in years. I'm going to be writing a highly parallel algorithm on a 100+ nodes system with shared memory. The nodes are Mac OS X, but I have access to *nix and windows machines, too. Do people have suggestions for e...

Scheme instead of Applescript?

Can I use Scheme instead of Applescript on the Mac to automate apps such as iTunes, iCal, Mail, etc.? ...

Port an iPhone app to Mac OS X

I have an app running on the iPhone that I would like to convert into a runnable application on Mac OS X. It uses a single UIViewController, which I have heard needs to be changed into an NSViewController. Basically what I am wondering is what needs to be changed about an iPhone application to make it work like a Mac application instea...

How to read mac ICNS file with Java

I want to read ICNS file in Mac and convert it to Java Image. Help ...

NSTextView - using initWithHTML with tables

Hi, I'm trying to format some text in NSTextView to be placed in a single line with black background. One piece of text needs to be left aligned, the other piece (but still in the same line) needs to be centered. NSString *header = [NSString stringWithFormat: @"" "<table style=\"width: 100%; background: black; " ...

creating a IOBlockStorageDriver in mac os x Leopard

How can one create a simple IOBlockStorageDriver in mac os x leopard. Any help would be appreciated. ...

Customize List's cells in DashCode

Hi, I have my site created with Dashcode and I am using the List object but I don't like the default blue background when a cell is selected. How can I customize this? For example change it to grey or white, etc. (As far as i know, everything is customizable in Dashcode, is just sometimes you have to do it using code and not Dashcode ...

DB software for mac

hi all , i'm looking for a DB software that can run on mac server and serve multiple clients , all users can update the DB. the DB will hold thousands of contacts with loads of different fields (same as mac contacts , personal, freelancers, clients, others), i want to be able to categorize contacts(entries) under Clients, Personal, Staf...

System-wide hotkey for an application

I have a simple window with 3 buttons and I am trying to add a system-wide hot key so i can "press" those buttons without having to switch to that app, press a button and then go back to what I was doing. Something like Cmd+Shift+1 press button 1, Cmd+Shift+2 press button 2, etc. Is there any way to achieve this in Cocoa (with Objectiv...

Is there a way to run a python script that is inside a zip file from bash?

I know there is a way to import modules which are in a zip file with python. I created kind of custom python package library in a zip file. I would like to put as well my "task" script in this package, those are using the library. Then, with bash, I would like to call the desired script in the zip file without extracting the zip. The ...

Is it Possible to Create Mac OS X installer from scratch ?

I saw page when I was Searching with the key word "Open source" http://www.opensource.apple.com/release/mac-os-x-1064/ I just want to ask whether it is possible to build a entire OS using the source code ? and if yes then what exactly needs to be done. ...