mac-os-x

recent posts related to the mac os x operating system

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 AppleScript Finder - How to put the path of the current Finder window on the clipboard

Mac OS X FAQ: How can I get access to the full path of the current Finder window? That is, when I'm looking at a Finder window in a directory like /Users/Al/Foo/Bar, how can I easily put that directory path on the clipboard so I can use it in other applications?

As a Mac OS/X newbie I couldn't find a good way to do this, so I wrote an AppleScript (script) to do it for me. Here is the script:

Mac Finder and Terminal: Open a Mac Terminal window in the current Finder folder

Mac Terminal Finder tip: How to open a Mac Terminal window in the current Mac Finder folder.

As a Mac OS X newbie, I don't know if there is a better way to do this, but to open a Mac Terminal window from the current Mac Finder folder, I wrote an AppleScript script. I'm new to AppleScript also, so the script is pretty simple. Here's the code:

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