Hi All,
I am working on the application whete I want to pass on the key strokes to a remote application. all key strokes I've done should get pass on to my remote application. The UI of this application is in Qt. all works fine if I remotely write any thing on TextEdit or any other mac native application but when I try to pass Capital l...
Users of my Flex application report that sometimes the application is freezed when the browser window is minimized or they select another active tab over it. In this suspended state, the application receives no CPU share and all network connections it uses are closed. When the browser window is restored, the application is resumed. This ...
As Far as I can tell no one has actually solved this debacle.
How do you get a mac mini to power on every time the UPS it is connected to restores power?
It is easy enough to have the UPS communicate that power is about to turn off so have the mac run the command halt -u, or shutdown -h -u, etc, and many solutions such as powerchute from...
And why? There is a bootstrap process and compiling the real compiler process, but which part consumes the most time?
...
I have the Cisco Anyconnect software and it says im connected, but i dont know how to actually interact with the server im connected to. this is driving me crazy and any help would be greatly appreciated. thank you stackoverflow community!!
...
I have been hitting the wall on this issue for a few days now, and cannot for the life of me figure out what I am doing wrong (or if this is some kind of bug):
I have a custom Mac application (in Java, if it matters). It essentially takes a specific type of document bundle, does some processing on it, and sends the results to a server. ...
I have a program that needs to turn on and off the system clock in the menu bar.
This will do that:
defaults write com.apple.MenuBarClock ClockEnabled -bool false
(with false->true to turn it back on).
Except it doesn't actually take effect until I manually open up Date & Time settings (just opening the settings causes the menu bar t...
I'm writing a Java Swing application for the Mac using Java 1.6. I've read a number of tutorials that step you through how to better integrate your Java application with OS X, but there's one thing I haven't been able to get working. I can't get the application name (the first, bolded menu item in the Mac menu bar) to display. By defa...
Hey, I have found this code to get a MAC address, but it returns a long string and doesn't include ':'.
Is it possible to add in the ':' or split up the string and add it it myself?
here is the code:
private object GetMACAddress()
{
string macAddresses = "";
foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInter...
Hi. This question concerns running python files in terminal that are not stored in the home directory. I think I have solved the first bit of this puzzle by modifying my path so that it includes the directory where my python programs are stored.
So where as initially
echo $PATH would yield the following: /usr/bin:/bin:/usr/sbin:/sbin:...
Is it possible for me to listen to listen to OSX's built in screencapturing so I can handle the files myself rather than osx doing it?
...
I've checked Google and I haven't found anything that helps.
I'm writing a stack class in Objective-C, the stack is based around an NSMutableArray, however, I cannot add any objects to it, it's not throwing any errors in the console, and there are no compile warnings/errors. Here is my code for the stack object.
#import "Stack.h"
@imp...
Hello everyone,
it has been a while now I'm surfing the net trying to find the way to sucessfully install PyQt4 on different Mac OS's and I can't figure it out.
Does anybody know if there is out there a package I could easily install without having to go through the compiling?
I'm developing sone Python tools with PyQt guis and the ide...
For many months, I have been logging into my remote servers through a tunnel on my Windows machine. Pretty standard: I log in through putty using the designated port 3306, then I open up MySQL Admin tool (or query tool) and log into 127.0.0.1:3306
I've been trying to set this up on my Mac and I get this error when I try to log into the...
Hi folks!
I have an instance of NSData that I stored from a previous run of my application. I want to set an NSTextView's text using this data. It is RTF and I can't figure out how to do this. Any ideas or suggestions? It needs to be done with code and not Interface Builder.
Thanks
...
I see they have a windows version that looks like WPF and a mac screenshot shows Mono in the title bar.
Is it written in C# .NET with Mono?
(I'm only asking because they seem to do it right)
Thanks.
...
The default limit for the max open files on Mac OS X is 256 (ulimit -n) and my application needs about 400 file handlers.
I tried to change the limit with setrlimit() but even if the function executes correctly, i'm still limited to 256.
Here is the test program I use:
#include <stdio.h>
#include <sys/resource.h>
main()
{
struct rl...
Is there a cross-platform Python library for audio playback available? The operating systems I am targeting are (in order of importance) Windows, Linux, and Mac OSX. The file formats which need to be supported are (in order of importance) MP3, OGG, WAV, and FLAC. Does something like this exist?
I have tried a few of the Python libraries...
I have a java application I wrote that loads up a TTF font and uses the drawString method from Graphics2D. This gets called every 50ms with the x and y positions changing each time to make the text move. When I run the program on Windows, I get 0-1% CPU usage, but on Mac I get about 75% usage. This Windows machine does have a better CPU ...
I read that the random number generator dev/random on Mac and Solaris includes 160 bits of entropy. What can I do, if I need more entropy, for example, 200 bits? Thanks in advance
...