Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > python: text and/or visual effects on the OS X desktop ?

python: text and/or visual effects on the OS X desktop ?
Thread Tools
Dedicated MacNNer
Join Date: Apr 2001
Location: The Moon
Status: Offline
Reply With Quote
May 17, 2007, 08:36 PM
 
Ahoi folks,

during my studies I had to get used to use python and really started to love this programming language. Now, I wanted to use python to script visual effects onto the OS X desktop. There are easy ways to manipulate images (www.pythonware.com) and so forth. But I have no clue how to access the Desktop directly via python, i.e. to patch some text on top of the actual backdrop as Geektool is doing it.

Could anyone give me some links/starting points how to do such a task ?

thanks for your help.
.- OS X aDDICTED -.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
May 17, 2007, 10:23 PM
 
You'll probably want to use PyObjC. Set an NSWindow's level to kCGDesktopWindowLevel and you're drawing on the desktop.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Dedicated MacNNer
Join Date: Apr 2001
Location: The Moon
Status: Offline
Reply With Quote
May 18, 2007, 02:33 PM
 
interesting. I have to check this out. I saw PyObjC is linked to the XCode tool. Never used that neither but I guess the tutorial on the PyObjC site will help me out there. Or are there any other sources ? Something like tutorials for small and easy ObjC tools.

Thanks for your help
.- OS X aDDICTED -.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:50 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2