I want to generate high-quality diagrams for a presentation. I’m using Python’s matplotlib to generate the graphics. Unfortunately, the PDF export seems to ignore my font settings.
I tried setting the font both by passing a FontProperties object to the text drawing functions and by setting the option globally. For the record, here is a ...
I'd like to control iTunes through Objective-C ( I just can't get Python appscript installed correctly on my OS/X 10.6.3 system ... that would have been my first choice ).
From what I gather, the IPC on Cocoa is based on Apple Events : is there either:
Online documentation on iTunes / Apple Events API ?
Instrospection mechanism to get...
The man page says:
Make restricted segments for use in multi-CD restores.
but it doesn't say what this means or why it would be desirable.
...
This must have been asked before, but after Googling I still can't find the answer.
How do you change the color of the title bar (The bar that you can click and drag around with the close, minimize and maximize buttons) to a different color than the default gray in Cocoa?
...
Hi,
How to give single common address space for all tasks. IF its happening like this can we avoid virtual to physical memory mapping.
I f all task sharing common address space then how can we avoid virtual to physical memory mapping.
...
I have an app and I am reading in the address book information using the ABAddressBook APIs and selecting a person. I would like to provide a link from my app to launch the Mac address book and pre-select a specific user.
I'm sure there are several ways to do it - I came up with one that seems to work but it feels a little clunky. I l...
Hey, I'm just looking for some rough guidance here on the feasibility of a project.
I have say a few thousand text documents and I want to create a web based system to serve them up to users in a OS X application.
It's just a tiny aside for my family's small business, so it doesn't need to be amazing at the moment, we just want to ...
Hi, I am wondering where the .framework files are located. I am using Mac OS 10.6. If this is more of a Superuser question just tell me because I was having trouble determining whether to put it here or Superuser or here but it seemed like it should go here.
...
I'm looking for a way in python to find out which type of file system is being used for a given path. I'm wanting to do this in a cross platform way. On linux I could just grab the output of df -T but that won't work on OSX or windows.
...
My primary computing setup is a macbook pro with a large external monitor. I'm looking for a convenient way of moving a number of the windows of open programs from the laptop screen to the external monitor when I plug it in. I've seen a few partial scripts for accomplishing this, but nothing comprehensive.
Ideally I'd like to specify ...
I was wondering if there were a way to extract information from an objective-c app, static or dynamic library and/or framework?
Information such as an array of class names without instantiating or running the target.
I've checked google and the apple developer documentation and haven't found anything.
Frank
...
Hello everybody.
Before I start a disclaimer, I should add a little disclaimer, that I am relatively new to Cocoa development and C in general.
However I do have a copy of 'Cocoa Programming for Mac OS X 3rd edition' by Aaron Hillegass, which I am working through and using as a base, if anybody has a copy I am using the 'AmaZone' exam...
What is a good way to "snap" windows into position into multiple monitors? I used to use ultramon on windows. These days, it is pain to manage windows individually, especially with the fact that resizing can only happen on the bottom left.
Curious to know what programs and tips everyone has. Thanks!
...
When i was at university i wrote a lot of C++. I primarily used either Visual Studio (at the time it was version 6) or VIM (if i was on linux) as an editor to write my code. Since i have graduate and have been working primarily in web programming i have stopped writing C++. Since i graduated i have also bought myself and started using my...
Hello, everybody.
I'm here to ask if any of you know how to develop an app for Mac OS X that keeps reading everything the user types in. An example of app that implements this behavior is Text Expander.
Text Expander reads everything the user types in, searching for abbreviations previously added on it. When one of this abbreviations i...
I want to make a type of popupbutton sort of like the action button on OSX. I need to make the button have two images makeup the representation of the button (the icon for the button and the downward facing disclosure triangle next to it). I was thinking maybe I could add the second image as a subview of the button but it seems that th...
I found the only one simillar question but that's for linux and xcode only...
http://stackoverflow.com/questions/854675/is-it-possible-to-set-up-a-linux-box-with-distcc-to-build-my-xcode-projects
im really interested to use OSX GCC for OPENBSD BOX. because my server is really slow, and all I need is file sharing and printing at home. I...
With Snow Leopard the default gamma changed from 1.8 to 2.2. I happen to be working on a few Mac apps that use a very dark custom colour scheme provided by Cocoa. On 10.5 it looks fine but on 10.6 with the new gamma it's much darker and really hard on the eyes.
The colour scheme is defined using numerous [NSColor colorWithCalibratedRe...
What would be the first step to creating an application for Mac OS X that would take user interaction from any text field in the system? A couple examples of apps that do this are TextExpander and Typinator.
What I want to do would be using similar functions to access Text fields throughout the computer during user input to give other a...
What is the programmatical mechanism by which an application can be launched at a result of another one being launched?
E.g. upon launching iTunes, the Last.fm desktop launches too.
Or it is just a question of substituting a "batch file" of some sort?
Note: OS X newbie.
...