Hello All,
I want to Send my machine an hardware event so that my caps-lock key becomes enable. When I send enable interrupt, light on Caps-lock key should be on and when I send enable interrupt, light on Caps-lock key should be off.
I am using Qt, Mac, C++, Carbon.
Any help is appreciated.
Thanks,
Rahul
...
I'm running apache / os x and serving up localhost pages to test django on my laptop. I've already verified all the following
• python is working fine and up to date (2.5.1)
• django available to python and up to date (1,1,0, 'final', 0)
• mod_wsgi module is loaded among apache modules in my apache config - Check!
• path to django ...
I am planning on developing an Mxmlc to Textmate formatter, one that formats mxmlc errors as clickable links, so you can open them up quickly in Textmate as Textmate has a url scheme e.g.: txmt://open/?url=file://~/.bash_profile&line=11&column=2.
I am wondering if it is possible to display links in your OSX terminal, that are also clic...
When I try to run the following, I get an error back from ActiveRecord stating that the connector hasn't been found.
require 'activerecord'
ActiveRecord::Base.establish_connection(
:adaptor => "sqlite3",
:database => "db.sqlite3"
)
Error Message:
>> ActiveRecord::Base.establish_connection("adaptor" => "sqlite3-ruby")
ActiveR...
.dylib is the dynamic library extension on OSX, but it's never been clear to me when I can't / shouldn't use a traditional unix .so shared object.
Some of the questions I have:
At a conceptual level, what are the main differences between .so and .dylib?
When can/should I use one over the other?
Compilation tricks & tips (For example,...
When my laptop wiped a few months back, I had to re-install, and thinking I didn't have the original disk image anymore, I downloaded and installed what was then the latest version of XAMPP (1.7.2a). I quickly became annoyed with some of the quirks of the new version's included version of phpMyAdmin, however, and so I frankly stopped bo...
Hello every one !
I have a virtual trackpad on my iPhone and to move my mouse I'm using :
CGDisplayMoveCursorToPoint(kCGDirectMainDisplay, CGPointMake(((float)aD.msg)+location.x, ((float)aD.msg2)+location.y));
It's working well but this not a real mouse because when I put my mouse on my hidden dock, this one doesn't display it self....
I can make a single row IKImageBrowserView by setting the
[imageBrowser setContentResizingMask:NSViewWidthSizable];
but in this case while i drag an image inside image browser to rearrange it, the drop place highlights with horizontal line(vertical line expected).
how can this be changed?
Many thanks.
...
Hi Everyone,
I've been trying to get RApache set up properly on my Macbook Pro running OS X 10.5.8. After installing RApache successfully (I think), I added the following to the httpd.conf file as suggested in the manual.
LoadModule R_module /apache/module/path/mod_R.so
ROutputErrors
<Location /RApacheInfo>
SetHandler r-info
<...
Ok, so I have an excel spreadsheet that contains data that I would like to copy directly into an SQLite db using Menial Base, a db editor. I have tried a number of different methods such as trying to convert from .csv and .txt extensions, and nothing is working the way I need it to, so I am now resorting to Automator. From what I underst...
Hello,
I am wondering if there is a source of information on how to develop a GUI frontend application for a commandline one in Mac OS X in, but not necessarily, Xcode?
Specifically, I would love a GUI frontend that lets me specify arguments to pass to the commandline program.
Thank you very much.
...
I am creating a pixel buffer using QTPixelBufferContextCreate with the native size for current movie.
Then opening the movie on the context and cue to required frame, checking using QTVisualContextIsNewImageAvailable.
Then calling QTVisualContextCopyImageForTime to readback the frame for further cpu based image processing.
This has all ...
Hi All!!
This is my first question, so I hope I didn't mess too much with the title and the formatting.
I have a bunch of file a client of mine sent me in this form:
Name.Of.Chapter.021x212.The.Actual.Title.Of.the.Chapter.DOC.NAME-Some.stuff.Here.ext
What I need is a regex to output just:
212 The Actual Title Of the Chapter
...
What's the bare skeleton to get a triangle drawn on an OpenGL window in C on OSX? I've gone through the tutorials at Nehe and tried to get it working, but the CreateGLWindow seems hopelessly tied to win32.
I want to stick to just opengl and glut, etc. I'll be eventually wrapping this in scheme, but I'd like to have a firmer understandin...
I'm looking for recommendations for a reliable and functional cross-platform JSON library that can be called from either C or C++ and which can be used with Linux, Mac OS X and WIN32. Ideally it should support both generating JSON output as well as parsing JSON input.
I've looked at a lot of the open source options but it's hard to tell...
When I developed for the iPhone I had multiple events on touch that could be true for a button. (e.g. Editing did Change, Editing did End …)
Now that I develop for Mac OSX I want my application to recognize multiple events in a NSTextField.
How to do that? Is there an alternative for the events?
Thanks!
EDIT: May delegates be the ke...
Hi,
I am new to OSX and Xcode. I got a macbook with Xcode 3.0 and downloaded the C++ of a sourceforge project, which comes with the structure:
config.mk
doc
include
lib
Makefile
soruces
in this kind of projects I usually work with "vi" and edit the ncesasry files. Here I want to debug the code and use subversion. What is the best way...
Update: for the CSV you can import into Eclipse, check this Gist [Ed: or not... looks like it's filled with ? marks where the key icons should be]
Discussion
I've avoided Java development in OS X for some time now, only because Eclipse's UI feels extremely inconsistent with OS X's HIG. Not least of these are its fine-under-windows-but-...
Hey!
I am currently trying to get data out of a plist.
It basically looks like that:
plist called 'woerter'
-> Root key of type Dictionary
-> woerter key of type Array
-> various Items of type String with string Values
When I now try to read a random string from it, I only get a (null) expression
NSString * path =...
I'm looking for a way to bundle JavaFX applications similarly to the way I can bundle Java applications using Jar Bundler? I really would like to have a custom icon for my program(and the ability to pin it to the Dock). Is there a way to do this now, or do I have to wait for JavaFX to mature in the Java market?
...