@Groove
Dann ersetze mal bitte wieder die STARTUP Zeile und führe dann dieses Makro aus:
- Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1051">
<Macro Name="Python Skript" Expanded="True">
<Action>
EventGhost.PythonScript(u'import ctypes\ndef SHGetFolderPath(nFolder, flags=0, MAX_PATH=255):\n # XXX: win9x support and proper error handling, and doing MAX_PATH right\n buf = ctypes.create_unicode_buffer(MAX_PATH)\n ret = ctypes.windll.shell32.SHGetFolderPathW(None, nFolder, None, flags, buf)\n return buf.value\n\nprint SHGetFolderPath(7)')
</Action>
</Macro>
</EventGhost>
Mal sehen, was das auswirft.
