mac

How can I find the full path to a font from its display name on a Mac?

I am using the Photoshop's javascript API to find the fonts in a given PSD. Given a font name returned by the API, I want to find the actual physical font file that that corresponds to on the disc. This is all happening in a python program running on OSX so I guess I'm looking for one of: Some Photoshop javascript A Python function A...

Best subversion client for Mac OS

On Windows, Tortoise SVN is the daddy, no question. On the Mac there is nothing as simple and integrated, but there is a fair choice of tools. Which GUI clients are worth checking out and why?...

What are the preferred versions of Vim and Emacs on Mac OS X?

For those of us that like to use the graphical version of Vim or Emacs, instead of the console version, which version do you recommend? For Vim, there's Mac OS X Vim, MacVim, Vim-Cocoa. For Emacs, CarbonEmacs, XEmacs, and Aquamacs. Are there more? Which of these are ready for prime-time? If it's a tough call, what are the trade-offs? ...

How do I turn on line numbers by default in TextWrangler on the Mac?

I am fed up having to turn them on every time I open the application....

How to tab focus onto a dropdown field in Mac OSX

In Windows, in any windows form / web browser, you can use the tab button to switch focus through all of the form fields. It will stop on textboxes, radiobuttons, checkboxes, dropdown menus, etc. However, in Mac OSX, tab skips dropdown menus. Is there anyway to change this behavior, or access them any other way without using a mouse?...

How to tab between buttons on an Mac OS X dialog box

I know that there has been a similar question asked here very recently, but I was wondering if it was possible to tab between buttons on default Mac OS X dialog boxes? I already have the "All Controls" option enabled in System Preferences->Keyboard and mouse->keyboard shortcuts, but no joy. ...

I have some RAM to burn - any suggestions?

I needed to run memcached locally for dev on my Mac G5 so I have 8 Gigs now. I also use a RAM disk for running scripts on large files. Have you used extra ram for any interesting tasks? ...

Upload form does not work in Firefox 3 with Mac OS X

Just ran into this weird problem with a user using Mac OS X. This user always had a failed upload. The form uses a regular "input type=file". The user could upload using any browser except Firefox 3 on his Mac. Only this particular user was seeing this error. Obviously, the problem is only with this one particular user....

x86 Assembly on a mac...

Does anyone know of any good tools (i'm looking for IDEs, primarily) to write assembly on the mac... XCode is a little cumbersome to me. Also, on the Intel Macs, can I use generic x86 asm? or is there a modified instruction set? Any information about post Intel Also: I know that on windows, asm can run in an emulated environment cre...

Source control for web projects.

I'm looking for good suggestions on how to implement version and source control for web projects. I've looked into subversion, but it seems to only take care of code. I'm really looking for something that can do good version-ing, branching, archival, etc. with not only source code, but other web assets like art files, movie clips, and ...

Cocoa and Objective-C resources?

What are the recommended online or offline resources for Objective-C and Cocoa programming? My online resources: O'Reilly, Some useful articles and examples, but has not been updated for quite a while Learning Objective C, This seems like a good resource so far Late Night Cocoa Podcast, I recently discovered this one, starting on epis...

Not showing Dialog when opening file in Acrobat Pro using Applescript

When opening Adobe Acrobat Pro, whether it be through Applescript or finder, the introductory dialog is shown. Is there a way to not show this dialog without already having checked the "Don't Show Again" option when opening a document using Applescript? Photoshop and Illustrator Applescript libraries have ways of setting interaction ...

SharePoint WSS 3.0 Integration with Mac OSX (either Safari or Firefox)

We have a SharePoint WSS site and some of our users on on the Mac OSX platform. Are there any tips or tricks to get a similar experience to Windows with document shares and calendars on the Mac? Edit: Browsing a SharePoint WSS site on a Mac, whether using Firefox or Safari, has a very similar look and feel as it does on Windows IE. Th...

Accessing iSight programatically?

Is it possible to access the iSight camera on a macbook programatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using objective c, or could other languages be used as well? ...

Reading Other Process' Memory in Mac OS / BSD

I've been attempting to understand how to read the memory of other processes on Mac OS, but I'm not having much luck. I've seen many examples online using ptrace with PEEKDATA and such, however it doesn't have that option on BSD (man page). Does anyone know how I might do this? Thank you. ...

Cocoa - best way to capture key events in NSTextView?

Well? I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point me in the right direction or supply some first-hand help? Thanks in advance! ...

How can I improve performance when adding InDesign XMLElements via AppleScript?

I have an AppleScript program which creates XML tags and elements within an Adobe InDesign document. The data is in tables, and tagging each cell takes .5 seconds. The entire script takes several hours to complete. I can post the inner loop code, but I'm not sure if SO is supposed to be generic or specific. I'll let the mob decide. [ed...

Oracle SQL Developer not responsive when trying to view tables (or suggest an Oracle Mac client)

I just get the beach ball all day long (it's been doing nothing for hours). It's not taking CPU, not reading from disk, not using the network. I'm using Java 1.6 on Mac OS X 10.5.4. It worked once, now even restarts of the computer won't help. Activity Monitor says it's "(Not Responding)". Only thing that I can do is kill -9 that sucker...

Is there a good GUI SVN app for Mac (better than XCode)

Hey everybody, I'm looking for a more robust and fully featured GUI SVN manager for Mac than what is built into XCode (which works, but only as long as you don't need anything beyond the bare basics and doesn't work for versioning scripts and such created in other editors). I can use the terminal commands, but I'd really like the opti...

In Cocoa do I need to remove an Object from receiving KVO notifications when deallocating it?

When I've registered an object foo to receive KVO notifications from another object bar (using addObserver:...), if I then deallocate foo do I need to send a removeObserver:forKeyPath: message to bar in -dealloc? ...