I want to search a website, say google, and open the search result weblinks. In Automator you just start by opining the search site witch the parameter in the url. Than you get all the links from this site and then you sort them.
BUT i never could find out HOW you stop after say the first 10 links. Cause there are sometimes 500 links and...
I need to change my Qt application's dock icon (in MacOS X) in run-time according to some conditions.
I've found several recipes on trolltech.com:
QApplication::setIcon()
setApplicationIcon()
qt_mac_set_app_icon()
but none of it works: there is no such methods/functions in Qt 4.5.
How can I change my application's dock icon and wha...
So I just read this article. What I'm wondering is, is there any way to determine bluetooth signal strength quantitatively, whether using AppleScript or some other language on Mac OS X? I'd like to implement something like this, except the 30-foot range mentioned in the article is a bit high, IMHO. I'd like it to work when I'm more than,...
Hello,
For the application I am writing, I need to access some other applications' items, for which Applescript seems the best way to go. I have been using the Appscript framework, which worked well, because it allowed me to thread it and not make my app lock up when an Applescript was taking a while. However, now I am attempting to m...
I want to implement IPC in a Cocoa application using UNIX domain sockets, with which I have no experience. I found Apple's CFLocalServer example project, but it's written in C and looks, well, fairly complicated (and yes, I have read most of it).
Are the techniques demonstrated in CFLocalServer still state-of-the-art, or is there a way...
Hi,
I've been trying to figure out how to run a bash command in a new Max OS X Terminal.app window. As, an example, here's how I would run my command in a new bash process:
bash -c "my command here"
But this reuses the existing terminal window instead of creating a new one. I want something like:
Terminal.app -c "my command here"
Bu...
Programaticly, how can I modify the brightness of the backlit keyboard on a Macbook or Macbook Pro using Python?
...
When I use "lynx" via the terminal I believe it is using an symbolic link, but my Google searches have failed to show me how to determine the symbolic path value.
That is, I would like to determine the symbolic link value for "lynx", and a few others, e.g. wget, etc.
Thanks for any insights and suggestions.
P.S. I am using the termi...
When writing Cocoa and implementing a class method that accepts a delegate and one or more selectors to use for its callbacks, does the terminology change from "delegate" and "selectors" to "target" and "action"? More to the point, is "delegate" limited only to when my class is the one getting called, but not when my class is doing the ...
A question similar to Locating bundles by identifier, but different problem:
I have several applications that need to locate each other's bundles by their ID. That always works well, unless I do a completely fresh install of all my applications. In many cases it's sufficient to point the finder to the install location for the bundle loc...
Core Data allows you to add multiple persistent stores to a single NSPersistentStoreCoordinator (each with a different configuration) name, thereby bringing them together in a single NSManagedObjectContext. What I haven't been able to find out is how Core Data handles atomicity of a save operation for multiple stores.
Let's say I have t...
I have looked at /System/Library, but I have not found the iostream library/module by
ack iostream
Where are the standard libraries in OS/X?
...
want to be able to explore the schema, run stored procs and run SQL statements.
...
Last Thursday I built SVN from source on my Mac running Leopard 10.5.7 so that I could get svn+ssh capability. (For some reason that functionality wasn't available using the binary from Collabnet.)
The build was successful and I was able to use SVN afterwords, but apache stopped launching.
When I tracked down the error, this is what I'...
This relates to another question I asked earlier today.
I built SVN 1.6.2 from source. In the process, it has completely screwed up my dev environment.
After I built SVN, Apache wasn't loading. It was giving me this error:
Syntax error on line 117 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec
/apache2/mod_dav_svn.so int...
I have the latest XCode (3.2) running on Snow Leopard, and also have the iPhone 3.0 SDK installed. After XCode was installed, I can't create a new iPhone project with it. There are no iPhone options in the New window, nor is the OS listed anywhere in the Overview dropdown. My only option at this point seems to be downgrading to XCode 3.1...
Hi Everyone:
I am wondering how to get a NSFileManager listing to display the results in the order that the Finder sorts them. By default, this code:
NSFileManager *fileManager = [[NSFileManager alloc] init];
NSError *foundErrors = nil;
NSArray *contentsOfDockDirectory = [fileManager contentsOfDirectoryAtPath:@"/Users/me/Desktop err...
I am thinking about migrating a Windows driver into MAC OS X. Now I am just starting to look around to see what is available and there is a lot about objective C and cocoa. Seems that the language and the cocoa framework are high level APIs, am I right to assume that?
I have strong C++ skills and I use them for kernel development, can I...
In the Windows world I can create a file system filter (upper or lower) in order to hook my driver to action when a file is changed (for example auditing or creating virtual drives).
Do you know which is the similar model in a Mac? the I/O Kit talks about driver development but does not specify the storage model or file system. Is ther...
I am thinking about getting an iPhone, but there are no good solutions for developing iPhone applications on the Windows platform. I don't own or have easy access to a Mac.
Were my position switched, I know I could at minimum rent a VPS and do Windows work using RDP or VNC. As limited as the Windows VPS machines are, one can still run a...