UserPreferences

MacOsxNotes


  1. root access
  2. installing Python
  3. Applescript and Python
  4. Info about Applescript

root access

[WWW]Mac OS X and root access:

installing Python

For OS X 10.4.x, the default Python installation is version 2.3.5 located on /usr/bin

I'm installing [WWW]Python 2.4.3 for MacOsx. I'm still wondering whether I need to also run the [WWW]installer to make MacPython compatible with the pre-installed Python.

Now, I'm going to install some packages from [WWW]list of packages for OS X:

To get gcc, I need to install the [WWW]Apple Tools, specifically [WWW]Xcode 2.3.

I also installed 4Suite, Reportlab.

Applescript and Python

I installed [WWW]appscript, a Python/Applescript bridge.

I haven't been able to translate some Applescript that I wrote to script GoogleEarth into the equivalent appscript-based Python script.

Here's the Applescript:

tell application "Google Earth"
        activate
        set viewInfo to (GetViewInfo)
        set dest to {latitude:57.68, longitude:-95.4, distance:1.0E+5, tilt:90.0, azimuth:180}
        SetViewInfo dest speed 0.1
end tell
viewInfo
set L to (viewInfo as list)

Invoking GetViewInfo has not been the problem. That can be done with:

  1 

There's probably some good insight in [WWW]Improving the Outlook for Entourage

Info about Applescript