Can you make python into a com object? I think you can I just don't
rember. If so you want to find a page about com add-ins for office.
This is a com object that you can teach office to look for when It is
started. I wrote one in vb years ago and havn't looked back. But I
think that would be the
Do you only need to work on windows? if so you could use
http://newcenturycomputers.net/projects/wconio.html to build your own
gui.
We used this for our inhouse ldap admin script.
--
http://mail.python.org/mailman/listinfo/python-list
Here are the links to ishy_browser.
http://www.ishpeck.net/index.php?P=b1115239318ishpeck
http://www.ishpeck.net/index.php?P=b1115225809ishpeck
--
http://mail.python.org/mailman/listinfo/python-list
So here is a class that should do what you want. I don't use pamie we
use a in house python ie driver. But it has the same problem. Here is
a class that should do what you want.
import winGuiAuto
import threading
class SaveAsDocDialog (threading.Thread):
'''Some Internet Explorer dialog w
Sorry about that I had an instance of ie running in the background that
was version 0 didn't see the problem tell this morining when my
computer started to not work. it should be hwnds[1] should be
hwnds[0]. I woud enumerate them like in the code below.
If you have ie as your default browser yo
flyaflya wrote:
> I want to startup the default web browser(ie...) to open a url, "execl"
> can open a process, but when the process exit, the other process will
> exit too, has any why to deal this problem?
You can do this with the win32aip module found in win32all
Home page
http://starship.pyt
Here is quick and dirty example of what jc talked about.
import win32api
from win32com.client import Dispatch
a = win32api.ShellExecute(0,None,"iexplore.exe",None,None,1)
internetExplorerClassIdentity='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'
hwnds = Dispatch(internetExplorerClassIdentity)
ieObj =
You are opening up the file open dialog when you are trying to do this
right?
If so you will need to use winguiauto. To find the dialog and the use
it to enter the info you want.
I included some code that shows how to do this. One other problem you
are going to have is that these dialogs are call
These two blog entries might be of help to you.
http://www.ishpeck.net/index.php?P=b1115239318ishpeck
second half is at
http://www.ishpeck.net/index.php?P=b1115225809ishpeck
alex23 wrote:
> Hey rbt,
>
> You should take a look at mechanize:
> http://wwwsearch.sourceforge.net/mechanize/
>
> One of
This code should help.
code
import win32com.client
olMailItem = 0x0
obj = win32com.client.Dispatch("Outlook.Application")
newMail = obj.CreateItem(olMailItem)
newMail.Subject = "This works"
newMail.Body = "It worked aging\n"
newMail.display()
V.C.Sekhar wrote:
> Hi there,
>
> Can any
I am using winGuiAuto to test a program. I want to check that a
varible is set.
In the following code I am doing if(len(str(hwnd)) < 0) What is the
python way?
def clickNdSyncStopButton(hwnd=None):
if(hwnd == None):
hwnd = winGuiAuto.findTopWindow("NDSync")
if(len(str(hwnd)) < 0)
Thanks that made it work. If I did it that way I think the other
programmers on my team would kill me so I will stick with wrapping the
function over and over again.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks I will try that.
--
http://mail.python.org/mailman/listinfo/python-list
Also note I can't read or type is seems.
what I want to know is how to take a function like.
I realley need to fininsh my coke before I try to think.
--
http://mail.python.org/mailman/listinfo/python-list
What I wanted it to know how to. Take a function like.
Note replace ... with spaces.
def makeAddr(tAdd):
def add(tNum):
return tNum + tAdd
return add
In a class so I make several functions that do the same thing but on
diffrent objects.
I ended up writing a base function and just
I have several functions that are almost the same in one class I would
like to use a closure to get rid of the extra code how would I do this?
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo