gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] write document failure on windows


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] write document failure on windows
Date: Sun, 15 May 2011 10:40:48 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, May 14, 2011 at 09:41:13PM -0700, LuisCapriles wrote:

> No, AcrobatReader is not in the PATH.  

Windows ...   :-/

> You will need to scan the registry
> "HKLM\Software\Microsoft\WindowsCurrentVersion\App Paths" (this is in Win
> XP!!!)

Hopefully we can circumvent this by using the win32api
Python module. Luis, may I ask you to try the following
Python code ?


        import win32api
        print win32api.FindExecutable('AcroRd32.exe')


You will need the pywin32 Python module from here:

        http://sourceforge.net/projects/pywin32/

The above code should return an integer and a string, or
throw an exception.

I don't have access to a Windows machine that I can test on ...

Thanks,
Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]