thanks for your reply. The problem has been solved by using Asura (Big wappons ).
Trying to use the PythonScript i got a errermessage:
Traceback (most recent call last):
File “/Users/hans/UnixBins/SetFileIcon.py”, line 19, in ?
from AppKit import NSWorkspace
ImportError: No module named AppKit
Didn’t find a direct downloadlink for AppKit in a quick search …
Will your Script change the icon for a file or folder, or does it really apply a Screenpreview, so if you place it in a layout programm this Preview will be shown?