Video vom Desktop mit vnc2swf screen recorder

vnc2swf ist ein Desktop Screen/Video Recorder mit Ausgabeformat als Macromedia Flash Movie. Es fängt die Bewegungen und Aktionen auf dem Windows-Desktop per VNC-Protokoll und konvertiert es als Macromedia Shockwave Flash (SWF) Datei. Danach erstellt es auch eine HTML-Datei, die das Flash-Movie zur Veröffentlichung im Web einbettet.

Es ist sehr gut geeignet, um komplexe Anwendungen oder Vorgänge einfach und animiert für User zu dokumentieren.

Vnc2swf läuft unter Windows, Linux/UNIX und MAC. Für Windows ist Python, Pygame und VNC vorausgesetzt. Hier ein a Beispiel.

Tipp: Bei der Aufnahme des Dektops sollte die Bildschirmauflösung reduziert werden. Sonst könnte die Auflösung für die Darstellung im Web zu groß werden.

CATIA V5 and DMU Navigator Automation with Python (english)

If you want to automate CATIA V5 or DMU Navigator with Python you need Pywin32 and Python for Windows or Activestates ActivePython for Windows. Python is free software and you can develop professional applications with all advantages of Python for CATIA V5 or DMU Navigator.

For developing a small application which interacts to CATIA V5 you only have to download your prefered Python Distribution for Windows and can start developing applications for CATIA V5 or DMU Navigator (this should be running when testing the application).

Automating CATIA V5:

If you have done above you can start with this source code:

This small example prints out the part names of a loaded CATProduct and their CATParts.

Here is the same example when you prefer comtypes instead of Pywin32:

Automating DMU Navigator:

If you want to automate DMU Navigator, you can do this:

Important notes:

If you want to use early binding for the CATIA V5 object libraries you can use the Makepy utility from Pythonwin. After that every object and its methods will be usable from the pulldown menu while typing and you can have a performance advantage. You should use makepy for every object library which you want to use e.g. „ProductStructure Object Library“ for working with CATProducts). But not for the „CATIA V5 Interfaces Objekt Library“!

If you do that every application which uses early binding for the „CATIA V5 Interfaces Objekt Library“ will not work ! A workaround is not to use makepy for the „CATIA V5 Interfaces Objekt Library“ or use explicit late binding „(import win32com.client.dynamic as the first line).

For starting developing applications with Python for CATIA V5 you should use the manual V5Automation.chm which you can find in the bin-directory of CATIA V5. You will see that you can develop Python applications in the same way like VB with the builtin VB editor.

If you have problems to access the COM Interface from CATIA V5 (eg. no object libraries from CATIA V5 in makepy) please check whether CATIA V5 was registrated as a COM server. If not you can do that with cnext.exe /regserver in the CATIA V5 bin-directory. Then everything should work well…

More on Microsofts Component Object Model (COM) and Python

More information for developing with Python for COM applications with Pywin32 you can find in this excellent book. A whole example Chapter about COM Programming with Python/Pywin32 can be found at O`Reilly.