Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Mike Driscoll
Christopher Galvan wrote: Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Mike Driscoll
Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/python/ ? He's probably r

[python-win32] Build 211 still linked from main page

2008-08-09 Thread Mike Driscoll
Hi, I noticed just now that if I go to the main page for pywin32 on SourceForge and click the big green button, I get taken to the 211 build instead of the 212: http://sourceforge.net/projects/pywin32/ Is this intentional? Mike ___ python-win32 mail

Re: [python-win32] help with parsing email

2008-08-19 Thread Mike Driscoll
use an external TLS Python module to connect to it. I would check Outlook's settings and see if it has SSL or TLS enabled. For more information, see: http://www.python.org/doc/lib/module-poplib.html http://trevp.net/tlslite/ --- Mike Driscoll Blog: http://blog.python

[python-win32] Getting a printer's port

2008-08-20 Thread Mike Driscoll
Hi all, I am in need of a way to get a printer's port with Python. I can get the name of a printer and the comments field (I think) using win32print.EnumPrinters(), but that's as close as I can get. Most of the printers in my organization are networked through Linux CUPS. Any pointers are ap

Re: [python-win32] Getting a printer's port

2008-08-21 Thread Mike Driscoll
Roger Upole wrote: Hi all, I am in need of a way to get a printer's port with Python. I can get the name of a printer and the comments field (I think) using win32print.EnumPrinters(), but that's as close as I can get. Most of the printers in my organization are networked through Linux CUPS.

Re: [python-win32] Created Map NetWork Drive is not visible in "My Computer" window

2008-08-25 Thread Mike Driscoll
siddhartha veedaluru wrote: Hi, i have used the following code to create Map NetWork Drive. But it is not visble when i open "My Computer" window. --- import win32net,time data = {} data['remote'] = r'\\fredo\Project' d

Re: [python-win32] Created Map NetWork Drive is not visible in "My Computer" window

2008-08-25 Thread Mike Driscoll
drive letter if it's already mapped before we map the drives. We do this because some of users stick USB drives or other devices into their PCs before they login and the USB drive will grab the drive letter. Mike On Mon, Aug 25, 2008 at 7:31 PM, Mike Driscoll <[EMAIL PROTECTED] &

Re: [python-win32] Fwd: Renaming Excel Spreadsheets

2008-08-27 Thread Mike Driscoll
James Matthews wrote: -- Forwarded message -- From: *Greg Lindstrom* <[EMAIL PROTECTED] > Date: Tue, Aug 26, 2008 at 11:54 AM Subject: Renaming Excel Spreadsheets To: [EMAIL PROTECTED] Hello, I am working with Python to c

Re: [python-win32] Pb IE8-b2 + Python like ActiveScripting language

2008-09-02 Thread Mike Driscoll
Michel Claveau wrote: Hi! Impossible, for me, to use Python like ActiveScripting language, in a HTA, since IE-8 beta-2 installed. Run OK with IE5, IE6, IE7. But IE8 does not recognize Python (I however recorded several times python like language of ActiveScripting) Any idea or solution?

Re: [python-win32] Internet Explorer constants

2008-09-05 Thread Mike Driscoll
/ or Mechanize: http://pypi.python.org/pypi/mechanize/0.1.7b I don't think either uses the PyWin32 library, but I hear that they're both pretty good. --- Mike Driscoll Blog: http://blog.pythonlibrary.org Python Extension Building Network: http://www.pyth

Re: [python-win32] Virtual print driver - similiar to winpdf

2008-09-23 Thread Mike Driscoll
geoff wrote: Thanks for you guidance Tim. After reviewing I am coming to the same conclusion. This is trickier than you might guess. Does the application actually write to the printer using a Windows printer driver? Some old applications that just used a printer for logging wrote directly

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-18 Thread Mike Driscoll
Tim Roberts wrote: Tim Roberts wrote: sayeo87 wrote: Right now on Windows I have added ".py" to my PATHEXT so that I can run .py files by doing ./.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I instead make t

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Mike Driscoll
Tim Roberts wrote: Joel Bryan Juliano wrote: Based on the context_menu.py example found in win32comext\shell\demos\servers\context_menu.py, there is a function callback when an item is chosen, def InvokeCommand(self, ci): mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci

[python-win32] Walking the registry and creating reg files

2008-12-04 Thread Mike Driscoll
Hi, We're doing what amounts to a registry session audit here at work, so I need to walk a specific set of subfolders in our registry and get the contents thereof. The subfolders will vary from user to user. I found Tim Golden's excellent registry walking script on his website here: http://t

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Mike Driscoll
Tim Roberts wrote: Mike Driscoll wrote: We're doing what amounts to a registry session audit here at work, so I need to walk a specific set of subfolders in our registry and get the contents thereof. The subfolders will vary from user to user. I found Tim Golden's excellent regist

Re: [python-win32] rebooting windows from Python?

2008-12-05 Thread Mike Driscoll
Alec, And thus I say for the second time in 24 hours: Eureka! For anyone else coming down this path, here's how to shutdown, reboot or logoff Windows, each with the option to force the action. In other words, you can force Windows to reboot even if its asking if you want to save a document.

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Mike Driscoll
Tim Golden wrote: Dahlstrom, Roger wrote: If you can read the registry, you can save it without any other special permissions. It is just text. Just export a branch of your own registry and open it with notepad to see the format. I do it all the time, it works fine. You're quite right, Rog

Re: [python-win32] rebooting windows from Python?

2008-12-05 Thread Mike Driscoll
Alec, I've been using the following method that I found on ActiveState's Cookbook, which I modified a little (http://code.activestate.com/recipes/360649/): Does that method ever hang during shutdown? I've tested the WMI method a few times and got one hang, where it was asking me to termi

[python-win32] SetWindowTheme for Vista

2009-01-16 Thread Mike Driscoll
Hi, There has been a discussion on the wxPython user's group about how the new QT licensing will affect wx's viability. They got slightly off-topic and pointed out that the wx treectrl isn't wrapping Vista's theme like it should. They pointed to this article on setting the window theme: http

Re: [python-win32] OnCtlColor not working?

2009-03-02 Thread Mike Driscoll
llent GUI toolkits? You'll get cross-platform code out of the box, if you're careful with Tkinter and wxPython... IronPython may be helpful too since you can use Visual Studio to layout your application and IronPython to control it. --- Mike Driscoll Blog:

Re: [python-win32] OnCtlColor not working?

2009-03-02 Thread Mike Driscoll
King Simon-NFHD78 wrote: -Original Message- From: python-win32-bounces+simon.king=motorola@python.org [mailto:python-win32-bounces+simon.king=motorola@python.or g] On Behalf Of Mike Driscoll Sent: 02 March 2009 14:18 To: Python-Win32 List Subject: Re: [python-win32] OnCtlColor

Re: [python-win32] Probelm with win32api dll load failed

2009-03-31 Thread Mike Driscoll
Andrew Spagnoletti wrote: Hi, ? I have developed an application with Python 2.6 and wxPython and prepared the set up using py2exe and InstallJammer. ? When I generated the installation from ?my Vista machine and then install it on an XP computer (not sure if there is any significance to the Vi

Re: [python-win32] python-win32 Digest, Vol 74, Issue 5

2009-05-04 Thread Mike Driscoll
python-win32-requ...@python.org wrote: Send python-win32 mailing list submissions to python-win32@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/python-win32 or, via email, send a message with subject or body 'help' to

Re: [python-win32] Sourceforge Download Link

2009-05-26 Thread Mike Driscoll
Randy Syring wrote: Has anyone noticed that the big green download box on this page: http://sourceforge.net/projects/pywin32/ says the latest build is 213, but when you click on the link in that box, it takes you to 212? I think it did the same thing when 211 was introduced...instead of 211

Re: [python-win32] help, ImportError: MemoryLoadLibrary failed loading win32ui.pyd!!!

2009-06-16 Thread Mike Driscoll
Sweet Boy wrote: hi, well i got this exception when i run my .exe Traceback (most recent call last): File "new.py", line 2, in (module) File "zipextimporter.pyc", line 98, in load_module ImportError: MemoryLoadLibrary failed loading win32ui.pyd this is my script to make .py to .exe: from dist

Re: [python-win32] python and wow64 filesystem redirection

2009-06-23 Thread Mike Driscoll
Guy, Hi all, I have (2003/2008) x64 systems with 32bit python installed, and my code needs access to %SystemRoot%\system32, but the wow64 filesystem redirection thing is in my way. I looked from the *Wow64DisableWow64FsRedirection *function in the win32 extensions, but I can't find it. So,

Re: [python-win32] problem in making exe of python

2009-07-06 Thread Mike Driscoll
Marium, hi all, i m new to wx python.i found difficulty in making its exe.Although m using the code for exe as: # from distutils.core import setup import py2exe import sys,glob,os if len(sys.argv) == 1: sys.argv.append("py2exe") # creates a standalone .exe file, no zip files setup(

Re: [python-win32] Examples of Win32Inet use

2009-07-07 Thread Mike Driscoll
Fadhley Salim wrote: Now that SF seems to be back online, could somebody point me to some examples for how to use the win32inet functions? There's almost no documentation for this library, and I have not managed to find any examples working code which actually uses these functions. FYI, I'm

Re: [python-win32] Problem with Python win32com while loading facebook homepage

2009-07-27 Thread Mike Driscoll
Adrien, Hi dear members of the python-win32 python mailing list, I'm trying to connect to my facebook account.. I'd like to automate some tasks like closing applications requests, and why not automate task for application games of facebook, if I arrive to do this. But I can't arrive to conne

Re: [python-win32] Copying a MS Access Table

2009-07-29 Thread Mike Driscoll
Tim Golden wrote: [copying back to the list] Not sure how to reply to the thread, since I thought that if I reply to "python-win32@python.org" then it would start a new thread? Replying to python-win32@python.org is the right thing to do; the mailing list software should recognise all the c

Re: [python-win32] Please suggest me a good Python MAPI module...

2009-08-03 Thread Mike Driscoll
durumd...@gmail.com wrote: Hi! I'm searching a good Python MAPI module... I wanna send many pictures, I wanna split them into 5 MB sized mails, and I wanna see them in default mailer as new mails. The sending is not needed, only mapi call with "New mail/Mailto" and with attachments. Thank

Re: [python-win32] Dealing with windows in Windows

2009-08-04 Thread Mike Driscoll
Kimmo Kekkonen wrote: Hi! I were wondering if it is possible to use Python to select a window (by title or somehow) and then input text into it? I'd need the trick to input text to program I am running from cmd. When program opens it also opens one "GUI" window and focus to the cmd will lost. No

[python-win32] Winshell issues

2009-08-11 Thread Mike Driscoll
Hi, I've been using Tim Golden's winshell module for a couple of years and just in the last week or so, I've been receiving the following error from multiple users: Traceback (most recent call last): File "\\debianso\loginscript$\MCISpy.py", line 267, in ? import SoScripts File "\\debian

Re: [python-win32] Winshell issues

2009-08-12 Thread Mike Driscoll
Michael M Mason wrote: Hi, I've been using Tim Golden's winshell module for a couple of years and just in the last week or so, I've been receiving the following error from multiple users: Traceback (most recent call last): File "\\debianso\loginscript$\MCISpy.py", line 267, in ?

Re: [python-win32] Problem registering Python COM object

2009-08-13 Thread Mike Driscoll
Gary Smith wrote: Re: Problem registering Python COM object (suddenly) Hi, I’ve been volunteering for the Research Dept. of Selby Botanical Gardens here in Sarasota, FL. In support of my project I wrote a Python COM server to extend Python’s regular expression capabilities to VB. (I’m aware

Re: [python-win32] thread not posting events woes

2009-09-14 Thread Mike Driscoll
with pubsub (http://wiki.wxpython.org/PubSub) would be one of the easiest ways to send messages back to your application. --- Mike Driscoll Blog: http://blog.pythonlibrary.org ___ python-win32 mailing list python-win32@python.org h

[python-win32] Unmuting the Microphone

2009-11-09 Thread Mike Driscoll
Hi, I received a request to un-mute the microphone on Windows XP. I've looked around online and all I've seen are people recommending ctypes, but no examples (in Python). I did find this C++ code, but I can't tell if if just toggles mute or allows the programmer to specify that they want the

Re: [python-win32] Question concerning wmi c.CIM_DataFile

2010-01-04 Thread Mike Driscoll
"Documents and Setting" or "Local Settings", and they don't have to be located on "C:". You should be using the shell folder APIs to find the names of the "well-known folders". Plus, the whole "Local Settings\Temp" folder is volatile. You should

Re: [python-win32] Question concerning wmi c.CIM_DataFile

2010-01-11 Thread Mike Driscoll
On 1:59 PM, Tim Golden wrote: On 04/01/2010 21:18, Mike Driscoll wrote: The OP should check out Tim Golden's winshell module as it gives access to the common folders quite easily: http://timgolden.me.uk/python/winshell.html Thanks for the plug, Mike. Problem is that the OP is after ru

Re: [python-win32] Python Automation Question

2010-02-22 Thread Mike Driscoll
nlibrary.org/2010/02/14/python-windows-and-printers/ and Tim Golden's site has at least one other script based on printers: http://timgolden.me.uk/python/wmi/cookbook.html#show-print-jobs (although it has nothing to do with what you're doing). The other guys had good suggestions too

[python-win32] How to query the peak commit charge

2010-02-26 Thread Mike Driscoll
Hi, I have been tasked with trying to find a way to query the peak commit charge of our various workstations. It would be great if I could do it remotely, but logging is also a possibility. Unfortunately, my Google skills have failed me as I can't find anyone else who is doing this publicly.

Re: [python-win32] How to query the peak commit charge

2010-03-01 Thread Mike Driscoll
Hi Mark, On 2/26/2010 5:14 PM, Mark Hammond wrote: On 27/02/2010 2:22 AM, Mike Driscoll wrote: Hi, I have been tasked with trying to find a way to query the peak commit charge of our various workstations. It would be great if I could do it remotely, but logging is also a possibility

Re: [python-win32] MAPI with win32com

2010-03-22 Thread Mike Driscoll
es/149461-mapi-send/ Since we dropped Exchange in favor of Zimbra, I cannot test this solution, but maybe it will help you. By the way, is smtplib not working for you? -- *Mike Driscoll* Blog: http://blog.pythonlibrary.org ___ python-win32 mailing li

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-23 Thread Mike Driscoll
exe binary. Ask on the mailing list. Steven Sproat was talking about some methods last month and I think he said he had an exe that was 5 or 7 MB when he was done. -- *Mike Driscoll* Blog: http://blog.pythonlibrary.org ___ python-win32 mailing l

Re: [python-win32] administration script

2010-03-25 Thread Mike Driscoll
http://timgolden.me.uk/python/wmi/ http://timgolden.me.uk/python-on-windows/ http://gallery.technet.microsoft.com/ScriptCenter/en-us/site/search?f[0].Type=ScriptLanguage&f[0].Value=Python&f[0].Text=Python http://www.blog.pythonlibrary.org/tag/windows/ -- *Mike Driscoll

[python-win32] Setting UserInitials in Office

2010-04-26 Thread Mike Driscoll
Hi, I am looking for a way to set the UserInitials and Username in Microsoft Office applications. The reason is that we have had some users who have managed to put their initials into some Office programs when a different user was logged in and this has made it difficult to tell who has what

Re: [python-win32] Setting UserInitials in Office

2010-04-28 Thread Mike Driscoll
On 1:59 PM, Tim Golden wrote: On 27/04/2010 22:43, Tim Roberts wrote: Tim Golden wrote: On 26/04/2010 23:56, Tim Roberts wrote: Mike Driscoll wrote: ... HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\UserInfo I tried to use the base64 module to decode it, but I must be doing

Re: [python-win32] Setting UserInitials in Office

2010-05-03 Thread Mike Driscoll
On 1:59 PM, Tim Golden wrote: On 28/04/2010 14:23, Mike Driscoll wrote: Sorry for the delay in checking this out. I was out of the office yesterday. Your code almost worked for reading the key, but I get a tuple back: [goes back to check what he wrote...] That's why my code does this

[python-win32] SetPrinterDataEx or SetPrinterData

2010-06-14 Thread Mike Driscoll
arounds? Thanks! -- *Mike Driscoll* Blog: http://blog.pythonlibrary.org ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] how to "click" on a word "confirm popup"

2010-08-11 Thread Mike Driscoll
y the following: 1) Open the document in Word and record a macro of you clicking the popup. 2) Stop the recording and open the macro to see what happened. 3) Replicate the code in Python Good luck! -- *Mike Driscoll* Blog: http://blog.pythonlibrary.org ___

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-10-01 Thread Mike Driscoll
On 1:59 PM, pyt...@bdurham.com wrote: I know there is a simple interface to the Windows messagebox interface. Is there an equivalent type of simple dialog box for showing a progressbar or progressbar-like information? Use case: I have a collection of Python command line utilties that can take

Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-15 Thread Mike Driscoll
tty sure I played that adventure on an old DEC workstation in high school... -- Mike Driscoll Applications Specialist MCIS - Technology Center 1 E. Main St. Marshalltown, IA 50158 mdrisc...@co.marshall.ia.us 641-844-2802 ___ python-win32 mailing list py

Re: [python-win32] How do I get the URL of the active tab in Internet Explorer

2010-11-30 Thread Mike Driscoll
eys package (http://www.rutherfurd.net/python/sendkeys/) to send an ALT+D to select the url and then CTRL+C to copy it. Then you can use the win32clipboard module from PyWin32 to grab the text from the clipboard. It's a hack, but it's kind of fun. Of course, you can't use your

Re: [python-win32] Intenet explorer using PythonWin Help

2010-12-22 Thread Mike Driscoll
rm element, i.e. option, hrefs, links, etc Any help is greatly appreciated. I've heard good things about Mechanize: http://mechanize.rubyforge.org/mechanize/ It's not PyWin32, but it's probably easier to use than win32com methods. -- Mike Driscoll __

Re: [python-win32] odbc under windows 7?

2011-01-24 Thread Mike Driscoll
/recipes/528868-extraction-and-manipulation-class-for-microsoft-ac/ -- Mike Driscoll ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] How to specify parameters in a query using odbc

2011-02-02 Thread Mike Driscoll
c Inc Tel: +44 (0)151 356 6197 Fax: +44 (0)151 356 6112 Personally, I use SqlAlchemy for almost all my database work. It takes a little longer to learn, but I find it easier to use in the long run. -- Mike Driscoll Applications Specialist ___ p

[python-win32] Catching Send To in Office

2011-03-22 Thread Mike Driscoll
Hi, Does anyone know of a way to catch the "Send To Mail Recipient" in Microsoft Word or Excel? I want to redirect that to our web mail somehow. I'm going to need to do that with the right-click context menu that appears when people right-click a file too. Any ideas would be great. Even if I

Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Mike Driscoll
On 1:59 PM, Tim Roberts wrote: Mike Driscoll wrote: Does anyone know of a way to catch the "Send To Mail Recipient" in Microsoft Word or Excel? I want to redirect that to our web mail somehow. Well, let's brainstorm for a moment. That link fires up the "default mai

Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Mike Driscoll
Hi Vernon, On 3/23/2011 10:53 AM, Vernon Cole wrote: One of the executives where I used to work actually made use of the ¨send to" feature in Word. The resulting bloat that appeared was appalling, and IIRC the recipient had to have Word installed to read the mail, when she finally imported it.

Re: [python-win32] Catching Send To in Office

2011-03-24 Thread Mike Driscoll
Hi Tony, On 1:59 PM, Tony Cappellini wrote: On 1:59 PM, Tim Roberts wrote: > Mike Driscoll wrote: >> Does anyone know of a way to catch the "Send To Mail Recipient" in >> Microsoft Word or Excel? I want to redirect that to our web mail >> somehow. > Well, le

[python-win32] WMI and Terminal Services

2011-03-25 Thread Mike Driscoll
the "os" module, like this: os.getenv("CLIENTNAME") Is there a way to get it and other Terminal Services session information via these methods or WMI? Thanks! -- Mike Driscoll Applications Specialist ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] WMI and Terminal Services

2011-03-28 Thread Mike Driscoll
On 1:59 PM, Tim Golden wrote: On 25/03/2011 6:19 PM, Mike Driscoll wrote: Hi, I am looking for a way to query the client name parameter from Terminal Services. I have been testing several scripts I've found that use either win32com.client or win32ts, but they are giving me weird erro

[python-win32] Creating a process and getting a handle

2008-01-22 Thread Mike Driscoll
ows open, I may not get the window I want. That's why I would like to create my own so I can have what amounts to an "exclusive" handle to it. Any hints would be appreciated. I am using Windows XP SP2 with Python 2.4.3. Thanks! Mike Driscoll Applications Specialist MCIS - Technolog

Re: [python-win32] Creating a process and getting a handle

2008-01-23 Thread Mike Driscoll
Tim, Mike Driscoll wrote: > > I am trying to get a handle on an external process (Internet Explorer 6 in > > this case) that I open using win32process. I need the handle so that I can > > make said process the top window. > When you call CreateProcess, that window should

Re: [python-win32] Creating a process and getting a handle

2008-01-23 Thread Mike Driscoll
le, windowtext = findWindowHandle("Notepad") I actually use a method similar to this later on in my program. But as I mentioned to Tim, I was trying to get a handle on a window that I open so I wouldn't have to search for it. I use the

Re: [python-win32] Creating a process and getting a handle

2008-01-23 Thread Mike Driscoll
Hi Tim G., > > I can get the handle by doing this: > > > > hwnd = win32gui.FindWindow('IEFrame',None) > > > > But if there's multiple Explorer windows open, I may not get the > > window I want. That's why I would like to create my own so > I can have > > what amounts to an "exclusive" hand

[python-win32] winshell error

2008-01-24 Thread Mike Driscoll
2147467259, 'Unspecified error', None, None) Our login scripts have an error reporting module that emails the tracebacks to us when they occur. Since this doesn't happen every time the user logs in, it is difficult to track down. Does anyone know what this is and how to fix it? Thanks

[python-win32] Changing a drive letter

2008-01-24 Thread Mike Driscoll
mapping[0], mapping[1]) And here's the diskpart line: subprocess.call(r'diskpart /s \\%s\someFolder\change_g.txt' % pdcName) where the text file contains the following two lines: select volume G: assign letter=T Any ideas or tips would be appreciated. Thanks! Mike Driscoll App

Re: [python-win32] python-win32 Digest, Vol 58, Issue 40

2008-01-24 Thread Mike Driscoll
Hi, > thunder thunder54007 wrote: > > I got it, I should get an instance first before i can use > it, and here is > > another problem, when I use Win32_Product to fetch the > installed software on > > my system, but only some of them are returned, I don't know > why? how can i > > get all the inst

Re: [python-win32] winshell error

2008-01-24 Thread Mike Driscoll
Hi Tim, > Message: 6 > Date: Thu, 24 Jan 2008 16:23:47 + > From: Tim Golden <[EMAIL PROTECTED]> > Subject: Re: [python-win32] winshell error > Cc: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; forma

[python-win32] Why Win32_ prefixed classed in wmi didn't work?

2008-01-24 Thread Mike Driscoll
Sorry...forgot to change the Subject line on that last one. This is a repost > thunder thunder54007 wrote: > > I got it, I should get an instance first before i can use > it, and here is > > another problem, when I use Win32_Product to fetch the > installed software on > > my system, but only some

Re: [python-win32] winshell error

2008-01-24 Thread Mike Driscoll
lain; charset=ISO-8859-1; format=flowed > > Mike Driscoll wrote: > > I have a Python login script that runs various things on > login for the > > users in our Windows domain. Every once in a while, I'll > get a traceback > > when I use winshell to try to

Re: [python-win32] Changing a drive letter

2008-01-24 Thread Mike Driscoll
Tim & Paul, > > Message: 3 > Date: Thu, 24 Jan 2008 14:31:07 -0500 > From: Paul Koning <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Changing a drive letter > To: [EMAIL PROTECTED] > Cc: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii >

Re: [python-win32] Changing a drive letter

2008-01-25 Thread Mike Driscoll
Tim, > Date: Thu, 24 Jan 2008 20:55:55 + > From: Tim Golden <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Changing a drive letter > Cc: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Paul Koning wrote: > > I agre

Re: [python-win32] winshell error

2008-01-25 Thread Mike Driscoll
> -Original Message- > From: Kevin Horn [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 24, 2008 4:44 PM > To: Mike Driscoll > Subject: Re: [python-win32] winshell error > > I don't suppose anyone knows how to do a logout script? > There

Re: [python-win32] Changing a drive letter

2008-01-25 Thread Mike Driscoll
rset="iso-8859-1"; > reply-type=original > > Mike Driscoll wrote: > > Hi, > > > > In a login script I helped write, we have some code that > maps drives > > based on what department or group the user belongs to. One of our > > groups has us

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Mike Driscoll
bedding: http://twistedmatrix.com/users/glyph/rant/extendit.html Why do you want to embed it? If you're just distributing an application, you don't need to do embedding. You can just use py2exe. Mike Driscoll Applications Specialist MCIS - Technology Center 1 E. Main St. Marshalltown,

Re: [python-win32] Changing a drive letter

2008-01-28 Thread Mike Driscoll
Tim, > -Original Message- > From: Tim Golden [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 9:51 AM > To: Mike Driscoll > Cc: python-win32@python.org > Subject: Re: [python-win32] Changing a drive letter > > Mike Driscoll wrote: > > Just a

Re: [python-win32] Changing a drive letter

2008-01-28 Thread Mike Driscoll
n; charset=ISO-8859-1; format=flowed > > Mike Driscoll wrote: > > You are correct. We do not have Win2k3 on any desktops, nor > are we running > > Vista. We have stuck with XP. Since I work for the > government, we have > > enough old equipment and software that upgradi

[python-win32] Manipulating MAPI

2008-01-28 Thread Mike Driscoll
up who could give me a push in the right direction. Any hints and/or tips are appreciated. Thanks! Mike Driscoll Applications Specialist MCIS - Technology Center ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Manipulating MAPI

2008-01-29 Thread Mike Driscoll
Tim, > -Original Message- > From: Tim Golden [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 29, 2008 3:54 AM > To: Mike Driscoll > Cc: python-win32@python.org > Subject: Re: [python-win32] Manipulating MAPI > > Mike Driscoll wrote: > > Our organiza

Re: [python-win32] python-win32 Digest, Vol 58, Issue 53

2008-01-31 Thread Mike Driscoll
Hi, Are you wanting to use Python in Excel instead of VBA? There's a thread about just that sort of thing here: http://www.velocityreviews.com/forums/t319222-re-python-in-excel.html Otherwise you'll need to figure out how to use VBA to do some kind of Python voodoo to check the data type. I supp

Re: [python-win32] createtoolbar

2008-02-28 Thread Mike Driscoll
Hi, > > Message: 1 > Date: Thu, 28 Feb 2008 14:34:12 +0530 > From: kNish <[EMAIL PROTECTED]> > Subject: [python-win32] createtoolbar > To: python-win32@python.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > #!/usr/bin/python >

Re: [python-win32] Windows Vista slow down Python xmlrpc

2008-03-06 Thread Mike Driscoll
Paul, > Message: 8 > Date: Thu, 6 Mar 2008 19:31:59 + > From: "Paul Moore" <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Windows Vista slow down Python xmlrpc > To: "Tim Roberts" <[EMAIL PROTECTED]> > Cc: Python-Win32 List > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/pla

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Mike Driscoll
Hi Julius, > > Message: 7 > Date: Fri, 07 Mar 2008 21:44:36 +0100 > From: Julius <[EMAIL PROTECTED]> > Subject: [python-win32] Monitor directories/files > To: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain > > Hi, > > how do you monitor files/directories o

Re: [python-win32] Skip Alt+F4 (le dahut)

2008-03-18 Thread Mike Driscoll
Hi, > Date: Mon, 17 Mar 2008 14:11:14 +0100 > From: le dahut <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Skip Alt+F4 > To: Paul Moore <[EMAIL PROTECTED]> > Cc: Python-Win32 List > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Oh yes ! Th

Re: [python-win32] Regarding Threads and locals()

2008-03-20 Thread Mike Driscoll
> Message: 6 > Date: Thu, 20 Mar 2008 16:07:15 +0530 > From: "Tejovathi P" <[EMAIL PROTECTED]> > Subject: [python-win32] Regarding Threads and locals() > To: python-win32@python.org, [EMAIL PROTECTED] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" >

Re: [python-win32] Windows programing cookbook?

2008-04-19 Thread Mike Driscoll
Bill Sneddon wrote: > Does anyone know of a website with windows code > examples? > I'm surprised Golden didn't mention his site. It has lots of examples on it. http://timgolden.me.uk/python/index.html I had originally thought I would create a wiki for this very purpose. However, my interest w

Re: [python-win32] Windows programing cookbook?

2008-04-21 Thread Mike Driscoll
Trent, > >> I have > googled this have not found much. I know about >>> Activestate's site but does not seemed to be organized >>> in a way to get these easily. > > (Jumping in late on this thread. Apologies if I've missed a lot of > context.) > > We [ActiveState] hope to be giving a big refresh

Re: [python-win32] Windows programing cookbook?

2008-04-21 Thread Mike Driscoll
Trent Mick wrote: > Mike Driscoll wrote: >> Will the tags make it easier or harder to find stuff? I've had >> problems finding recipes on there because I used one general term and >> the "chef" used a different general or specific term. I'm no

Re: [python-win32] Drag and Drop issues

2008-04-22 Thread Mike Driscoll
Alex Denham wrote: Hi, I'm trying to implement a drag and drop feature in my Tkinter based gui. I want to be able to drag a file from windows (explorer/desktop etc) into my program. Then i need my program to get the filepath for the file that was dropped. I've tried to search all over the in

Re: [python-win32] Apache & mod_python & win32com

2008-04-24 Thread Mike Driscoll
[EMAIL PROTECTED] wrote: Hello everyone I'm developing a web application using mod_python and the apache web server. That application has to handle xml files and for that I'm using win32com with with MSXML. My problem is, that apache spawns a new process / thread (not sure wether ist a proces

Re: [python-win32] FileWatcher

2008-04-28 Thread Mike Driscoll
Pierre-Yves Delens wrote: Bonjour, in the context of CAD management (layersmanagement, etc...), we are storing our Layers management in a reference.dwg file, for obvious reasons. But some aspects of this management have to be maintained in alphanumeric format. Therefore we need to trigger

Re: [python-win32] (no subject)

2008-04-28 Thread Mike Driscoll
Alex Denham wrote: Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class which handles all the GUI drawing/event handling etc. The function in questi

Re: [python-win32] how to activate subwindow of the application ???

2008-05-09 Thread Mike Driscoll
Tim Golden wrote: neha rai wrote: I am making a tool that needs to open subwindow of another application, enter some text in it click ok and then open the same window again. i am able to put text and click 'OK' but I am not able to open the same window again using the python code. I need so

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread Mike Driscoll
siddhartha veedaluru wrote: Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Thanks, Siddhartha I would use the subprocess module. import subprocess #

[python-win32] Problem creating a shortcut

2008-05-15 Thread Mike Driscoll
Hi, I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. I usually use COM as it allows very specific settings of the shortcut, such as the Working Directory and

Re: [python-win32] Problem creating a shortcut

2008-05-16 Thread Mike Driscoll
Roger, Mike Driscoll wrote: Hi, I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. I usually use COM as it allows very specific settings of th

Re: [python-win32] Problem creating a shortcut

2008-05-16 Thread Mike Driscoll
Tim, Mike Driscoll wrote: I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. ... shortcut = shell.CreateShortCut(userDesktop + '\

  1   2   >