It seems to be impossible to completely disable the Sleep option in MacOSX so that a user cannot manually put the system to sleep.
Is there a way in Leopard (or even Snow Leopard) for AppleScript to catch the Sleep event and cancel it?
...
I see that more and more are using Macs for development.
Why is this? What advantages does the mac have?
Except for the obvious Microsoft languages, are there any that are not suitable for the mac?
And last, what is a recommended, not so pricey macbook for programming (C++, Java, Ruby, Haskell etc.)?
...
I have this website here http://www.innovie.com/morgan
If I use PC, I can drag and change volume on top left just fine. But if I use Mac OSX, either Safari or Firefox, I cannot drag the volume in the Flash, although I can see the mouse turn into pointer. Can someone help on why?
Where is the SWF: h**p://www.innovie.com/morgan/sound.swf
...
When I'm testing software I'm going to deploy or running through tests in the Windows world, I'll use VMWare images so that I can start from a fresh, known state at the beginning of each test. This has worked really well so that I can install software on different OS flavors or with other/different apps and drivers loaded. This makes i...
What do I need to do to have my .NET-Mono application run as a background process on OSX and start when the OS starts up? (Assuming the application is otherwise ready to go on OSX)
Related
Build an installer for .NET app that can run on Windows and OS X?
...
I am trying to switch from using a JFileChooser to a FileDialog when my app is being run on a mac so that it will use the OS X file chooser. So far I have the following code:
FileDialog fd = new FileDialog(this);
fd.setDirectory(_projectsBaseDir.getPath());
fd.setLocation(50,50);
fd.setFile(?);
fd.setVisible(true);
...
Hi I would like to pause the execution of a function in an cocoa project. I dont want to use sleep() because the function needs to resume after user interaction. I also want to avoid doing this with multiple calls to sleep.
Thanks for your responses. Ok I started the code while waiting for some answers. I then realized that sleep or...
I want to overlay text on images on OS X, preferably without installing additional software, so that, as a sysadmin, I can know at a glance that machines are up-to-date, in a way that is easily scriptable and easily modifiable, and can run without GUI access. [Being able to overlay images or apply color-changing effects would be a bonus...
When you press the keys for an NSMenuItem keyboard shortcut on Mac, the menu itself highlights to indicate that an action in that menu has been activated.
If you are not familiar with the effect try it now by selecting some text and while pressing CMD-C, watch the Edit menu. It will flash blue to indicate you activated a shortcut for an...
I've started developing with Delphi on the Mac and thought I would share my observations and see if anyone else had any advice or tips for Mac development with Delphi.
A while back I had some comment discussion about Delphi development on a Mac. It was in the comments of an answer to another question. With the passing of some months, ...
It is easy enough to add an alias to the Applications folder inside a DMG as it is at /Applications on every Mac. But is it possible to add an alias to a user's Documents folder, where the Documents folder has a different path for each user? I tried adding an alias to ~/Documents, but it became an alias to /Users/andyb/Documents, which o...
I have someone complaining that www.archstl.org (a site I manage) loads fine from his Windows PC, but not on his Mac; and apparently he can't get it anywhere he takes his Mac, either...
I've heard of this happening to one other person, but I can't find an explanation. When they try loading it on their Mac using either Safari or FireFox,...
Hi all,
I want to create a Mac OS X style Dock Bar to be placed at the bottom of a JFrame. Does anyone know how I can do this?
...
Hi, does anyone know of an audio equivalent of QTMovieView. Something that allows playback and scrubbing of audio files. QTMovieView without the movie...
...
I'm trying to pack my Python app with py2app. I'm running the setup.py I created, and I get this error:
File "C:\Python26\lib\distutils\file_util.py", line 119, in copy_file
"can't copy '%s': doesn't exist or not a regular file" % src
DistutilsFileError: can't copy '--dist-dir': doesn't exist or not a regular file
> c:\python26\l...
I'm trying to pack my Python app with py2app. I'm running the setup.py I created, and I get this error:
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\py2app-0.3.6-py2.6.egg\py2app\build_app.py
", line 548, in _run
self.run_normal()
File "C:\Python26\lib\site-packages\py2app-0.3.6-py2.6.egg\py2app\build_a...
I was looking through the /etc/bash_completion script found in some Debian packages. I was interested in using the code that looks through a specific directory (/etc/bash_completion.d/ by default) and sources every file in that directory.
Unfortunately, trying to run the script causes errors under the Mac OS X version of bash. The line...
I was wondering, what can i use to program in Lua on the Mac? I'm looking for something that i can use to compile/interpret lua script on the mac.
...
For the last several days, I've been struggling to get ruby on rails to work on my mac. The main culprit is MySQL. Every time I fix one thing, another error shows up. I upgraded/downgraded MySQL to play nice with ruby, rail and gems, but nothing. My latest error is:
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please...
Is there a command on OSX one could run to put the monitor into sleep mode. By sleep mode, I mean totally kill the output to the monitor. I know in the power settings one can configure this but that is time based. I want to be able to force this on the fly.
...