mac

Mac application uninstall tip - How to uninstall Mac OS X application

Mac application FAQ: How do I uninstall Mac OS X applications?

If you've come to the Mac from Microsoft Windows, you're probably used to having some sort of "application uninstall" process for removing a software application from your computer. On the Mac, things are a little different, but actually easier, once you see how it works.

Mac OSX Apache - How to get server side includes (SSI) working on Mac OS X

Wow, for me, getting Apache server side includes (SSI's) to work on my Apple Mac OS X installation was nothing like what I read elsewhere. Oh, you do have to do the setup work as shown in this Apache SSI configuration document, but on Mac OS X the setup is a little different.

The key on the Mac was that instead of restarting Apache, I decided to stop and start Apache manually, like this:

sudo apachectl stop

followed by:

Keep your mind open

For some reason I didn't work w/ the Mac much until last year. Actually, to be fair to myself, a lot of that probably had to do with unpleasant experiences with earlier versions of the Mac OS.

But as I was talking to a co-worker this morning I realized that it was a mistake not to spend some quality time with Mac OS X when it came out. Having worked with it for over a year now I've come to take many things for granted that it can do. The discussion this morning had to do with the power of scripting native Mac applications with AppleScript.

My AppleScript iTunes alarm clock program

AppleScript iTunes FAQ: Can you demonstrate an AppleScript iTunes example (such as an AppleScript iTunes alarm clock)?

For a little while now I've been creating an AppleScript iTunes alarm clock application (an AppleScript alarm that would work with iTunes). The basic idea of the application was to do the following:

AppleScript alarm clock - creating a time-based trigger

AppleScript alarm clock: Creating a time-based trigger.

I'm still working on my AppleScript iTunes alarm clock program, and looking for a way to set the alarm clock wake up time from the script itself. Earlier I was thinking about doing this using the Mac crontab facility, but somehow I don't think that's going to work for everyone. :)

Mac text to speech voices (Mac OS X text to speech using AppleScript)

Mac text to speech voices: What do you know about Mac OS X text to speech voice capabilities, including using AppleScript to convert text to speech?

I'm goofing around currently, using the very cool Mac text to speech capability. Okay, really, what I'm doing is writing an AppleScript iTunes alarm clock program to wake me up in the morning, and in the process I started digging into this Mac text to speech stuff, using AppleScript.

Mac Java FAQ - Where is Java installed on my Mac OS/X system?

Mac Java FAQ: Where is Java installed on my Mac OS X system?

To find Java on a Mac OS/X 10.4 system -- look in this directory:

/System/Library/Frameworks/JavaVM.framework/Versions

Listing the contents of this directory (using ls -al as an example) you'll see a directory listing that looks like this, showing all the Java versions currently installed on your Mac:

Mac Java - how to use a different JVM on Mac OS/X 10.4

Mac Java FAQ: I'm currently using Mac OS/X 10.4 with Java 1.5.x. But, for a certain application I need to use a previous version of Java, which I can see is actually installed on the hard drive. Can I use this older Java JVM on Mac OS X 10.4?

Answer: Yes, I was able to do this. The hardest part about this is finding where the previous Java version is installed. There are probably easier ways to do it, but I ended up using the Mac mdfind command, which is the command-line version of Spotlight.

Mac Terminal title - Change the Mac Terminal title from the command line

Mac Terminal title tip: How to change the Mac Terminal title from the Terminal command line.

I've been working on a project where I have three Mac Terminal windows open at one time, and I found it was much easier to work this way when I changed the Mac Terminal title on each Terminal window. This helped me easily identify what I was doing in each Mac Terminal window.

Changing the Mac Terminal title

The basic escape sequence you need to change the Mac Terminal title from the command line is this:

Mac Finder - open the Mac Finder from a Terminal window

Mac Terminal Finder tip: How to open a Mac Finder window from the current directory of a Mac Terminal window.

Cool, I just learned how to open a Mac Finder window in the current directory of a Mac Terminal window. To do it, just issue this Mac open command:

open .

(Yes, that is a decimal after the open command. The decimal is the Unix way of referring to the current directory.)

Syndicate content