Im trying to trigger the same thing that the system does when you click on Detect Displays in the Displays System Preferences pane. Is there a way to do this programmatically? My goal is to create a LaunchAgent that does this at login to reset the display resolution in case a user messes with it.
...
What is the best software ( open source ) for programming on c++ a Mac ?
any suggestions?
...
On Mac OS X, if I send SIGQUIT to my C program, it terminates, but there is no core dump file.
Do you have to manually enable core dumps on Mac OS X (how?), or are they written to somewhere else instead of the working directory?
...
Hi, I need to create an installer for a Mac application that not only unpacks the information but executes an script before unpacking the information. Also I want an interactive application that asks for some parameters during installation.
Do you know any tool to do that staff?
Thanks!
...
hi
As we have iphone simulator for run and test without iphone.
I want to know if there any software on which we can test application for PC and Mac.
...
Firefox doesn't currently bounce the Downloads box in the dock when a download is finished, like Safari, Chrome and Camino do.
If Firefox was written in Objective C, you could very easily add the one line of Objective C code required to do this. However, it's not. Is there a way to call this Cocoa function from C++ so that it can be a...
i wanted to create some shellscripts that display pretty ansi colored graphics for osx but unfortunately i find just very little information about that topic.
osx seems to use monaco 10 as its default console font. is there some way to find out all displayable characters for this font?
osx terminal runs in UTF-8 per default as far as i...
Hi,
Developing on a Mac and will host on Linux. Does any know of a good/reliable version control plugin or hosting platform I can us during development?
Thanks,
Eric
...
Hey guys!
I want to build a NSTokenField that works just like the recipient field in Mail.app. I know how to search the address book for names and emails. These are probably really bad noob questions, sorry for that.
How can I reformat my search results array to get items in the format "Name <email>" (like the auto completion results i...
Well I'd like to create apps for the iphone, starting out with really really basic stuff and working up, but I don't have a Mac at the moment (well I do but it's a powerPC ibook G4, which you can't develop on) and before I invest I'd like to learn how to create apps.
I also read an article in a newspaper about how a guy starting creatin...
I've found these two articles
http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl
(see 31.13)
and
http://www.tummy.com/journals/entries/jafo_20060727_145450
But am unfamiliar with basic vim setup. Can anyone help me with a step by step instructions to making mouse usuage in command line mode automatically enabled? (and you will have g...
How can I tell Chrome or Firefox to reload the document in the top window? Here's what I'm using for Safari:
osascript -e '
tell application "Safari"
activate
do JavaScript "history.go(0)" in document 1
end tell
'
...
I see a lot of applications that can respond to applescript messages such as this one.
tell application "Safari"
return URL of front document as string
end tell
How can I query an application to find out what commands it will accept? Is there a tool for doing so?
...
I have some template code which compiles fine in VC9 (Microsoft Visual C++ 2008) but won't compile in GCC 4.2 (on Mac). I'm wondering if there's some syntactical magic that I'm missing.
Below I have a stripped-down example which demonstrates my error. Sorry if this example seems meaningless, I removed as much as I could to isolate thi...
I want to create Perl scripts that run on older OS X machines as well as on current versions. Is there a list or a resource where I can find out which Perl versions were distributed with older Mac OS X Versions (10.0 to 10.6)?
...
While coding always the same questions concerning retain counts of IBOutlets came along: Retain count after unarchiving an object from NIB? When to use @property's for an IBOutlet? Retain or assign while setting? Differences between Mac and iPhone?
So I read The Nib Object Life Cycle from Apple's documentation. Some test apps on Mac and...
I have Cocoa project which uses Lua.framework.
In the header file I try to include some .h files from this framework:
...
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
...
And when I compile the source file I get this error:
error: lua.h: No such file or directory
error: lauxlib.h: No such file or directory
error: lualib...
Hello all,
Im having a problem with @font-face. It actually works flawlessly on Safari, internet explorer 7+ and Firefox for windows but not at all on firefox for mac.
I'm using code from the bulletproof @font-face article
Here's my Code:
@font-face {
font-family: "QlassikMediumRegular";
src: url("../fonts/Qlassik_TB.eot");...
I'm currently writing an applescript to be run within FileMaker. I need to tell filemaker what the name of its application is (FileMaker Pro or FileMaker Pro Advanced or whatever) so that I can within ANOTHER applescript within filemaker I can say "tell application filemaker"
I currently have a script that figures out the name of the ap...
Hi,
I want to implement Native Mac application with Database.
How can i implement database application? Can anyone give me some sample tutorial to start?
Thanks,
Jim.
...