Prev: need a json representation of all members of any type of object, list or hashtable (php's var_dump)
Next: favicon.ico problem
From: oyster on 9 Aug 2010 23:04
I want to use python to do some automatical operation on windows.
the following is the code, which try to open a file with unicode
characters in its filename in msword
but I can't get it work correctly. Can anybody help me?
if that is the shortcoming of WScript, is there any other way to do so
(I know there is something like autohotkey, but I am not willing to
learn a new langauge )
thanks in advance
shell = win32com.client.Dispatch("WScript.Shell")
shell.SendKeys('%fo') # Alt+F, O
path=r'c:\some unicode in file name.doc'
fail on this line, no unicode appeared