[wxpython-mac] Transparent systray icon in the Mac OS X dock

Gros Bedo gros_bedo at hotmail.com
Sun Jun 29 20:37:17 PDT 2008


I just found an interesting thread on how to set a permanent icon in the dock with applescript:

http://forums.macrumors.com/showthread.php?t=344100

They tell to use this script to set the icon permanently:

defaults write com.apple.dock persistent-apps -array-add "tile-datafile-data_CFURLString/Applications/Automator.app/_CFURLStringType0";

And this to restart the dock, else the new icon won't show until reboot:

killall "Dock"

Now my problem is that I have no idea at all about how to use Applescripts within Python. I took a look in the Python Mac wiki but it seems these modules are just designed to communicate with third-party applications. I've found pyOSA to be interesting but there aren't much documentation so I don't know if I can use it for what I need.

Any idea ?
_________________________________________________________________
Retouchez, classez et partagez vos photos gratuitement avec le logiciel Galerie de Photos !
http://www.windowslive.fr/galerie/


More information about the wxpython-mac mailing list