I've noticed on OSX, installation is frequently a drag and drop one file kinda deal. I assume that file is an archive of all the applications necessary bits and that the application runs directly from it. Where does the application store configuration data, particularly per user settings when there are multiple users? On Windows, this...
Is there any way to automatically launch an application on USB attach or CD insert on Mac OS X? it's easy on Windows, but I found that AutoRun.Inf does not work on the Mac at all. Please help me. Thanks in advace.
...
In debugging a game that is full screen (on one of my two monitors) when it crashes and the debugger (on the other monitor, not captured) displays the crash location, the cursor is still hidden. Is there any way to force the cursor to reappear? I can click around blindly and it works, but it's not terrible accurate.
...
I have a wizard application for MS Windows which is a typical Next-Next-Finish type. The application has a default vendor specific window background theme which persists through all the windows of the application (i.e Vendor logo and background color for each screen). I want to develop a similar application wizard for Mac. I noticed that...
Hi
How can I execute a terminal command (like grep) from my Objective-C Cocoa application?
Thanks.
...
My job is currently based on Visual Studio (ASP.NET).
Looking for experiences using Visual Studio on a Mac.
Does it work?
...
Hello everyone,
The application I'm working on (it's a game, actually) uses XML for some of its configuration. Since I'm using CEGUI for the GUI, and it has its own XML parsing objects, I converted my code to use that instead of my own hand-rolled parser class. If the document is missing attributes on certain tags, it throws an except...
Using the Subclipse plugin (1.4.5) for Eclipse (3.4.1, OS X) adds some subversion metadata to the file navigator pane, including the modified date. Unfortunately this date is in m/d/y format, when I would prefer it to be in d/m/y.
Subclipse may be using Eclipse for the date formatting, but I don't recall having seen any other instances ...
I'm examining the feasibility of porting an existing Windows MFC control to OS X/Carbon.
My test bed is a C++ Carbon application generated using the XCode 3 Wizard.
I'm looking for a quick way to dump some trace info to the debugger or the OS X equivalent of DbgView. On Win32 I'd use OutputDebugString() - what's the deal on OS X? Is th...
Say I've got a bunch of files that are all >100 lines long. I'd like to trim off the top 14 lines and the bottom 9 lines, leaving only the lines in the middle. This command will trim off the top fourteen:
cat myfile.txt | tail -n +15
Is there another command I can pipe through to trim off the bottom 9 without explicitly passing the ...
I have a button that correctly wired such that when it is clicked, the "login" IBAction is hit.
- (IBAction) login: (id)sender
{
NSLog(@"OK");
}
Now, I wired the button to the username/password text fields using "takeStringValueFrom" but I don't understand how to then get at those values?
Hope that makes sense.
EDIT: so basica...
Is there something similar to the "Open Command Window Here" Windows Powertoy for Mac OS? I've found a couple plugins through a google search but wanted to see what works best for developers out there.
...
Hi,
I'll admit I'm completely dumbed by python install. Can someone help me on how to install module
I want to play with PyGame, PyOpenGL etc. So I install them, but I everytime I type "import pygame" error message shows up.
here's my environment so far.
In .bash_profile
PATH=${PATH}:/System/Library/Frameworks/Python.framework/Versi...
As a Windows and web developer of 12+ years and an "at home" Mac user, I'm wondering if it's worth it to get the REALBasic for personal use. I've often wanted to dabble in development for OS X; I know VB, Java, C#, but not C, C++, or Objective-C. I don't have a specific project in mind and haven't been motivated to learn Objective-C, s...
I want cscope to open files in MacVim instead of vim, so I'm trying to have the path to MacVim as the Value of the EDITOR environment variable which is used by cscope:
$ export EDITOR=/Applications/MacVim.app/Contents/MacOS/MacVim
If I'm now trying to edit a file from within ctags, it won't work and throws this error message:
$ MacVim...
How would I go about programatically changing the desktop background in Mac OS X? I'd like to use python, but I'm interested in any way possible. Could I hook up to Terminal and call a certain command?
...
Is there a way to map Cmd-C to Copy in linux? (instead of Ctrl-C)
Would be nice if I could also have the emacs style ones, like Ctrl-B to move left by one character.
...
Hi folks,
I would like to associate the last installed version of my Mac OS X application with a certain type of file. A little experimentation shows that the info.plist file seems to be read and interpreted by the operating system when launching the application, not when dragging the application bundle to the disk. Apple's documentatio...
Here's a puzzler: can anyone explain why cd fails when the output is redirected to a pipe?
E.g.:
james@machine:~$ cd /tmp # fine, no problem
james@machine:~$ cd /tmp | grep 'foo' # doesn't work
james@machine:~$ cd /tmp | tee -a output.log # doesn't work
james@machine:~$ cd /tmp >out.log ...
Excuse me for not quite a programming question, but I need to burn a disc that would be autoplayed both on Windows and OSX. I read somewhere, that OSX disables autoplay feature by default (?) regarding to some security issues or wtf. However, posting the problem here in hope Stackoverflow knows how to hack / enable it.
And yes, I know t...