On Wed, Oct 28, 2009 at 4:22 PM, Stef Mientki <stef.mien...@gmail.com>wrote:

> hello,
>
> For connecting though CheckPoint VPN,
> I need to check the item "Check Point SecuRemote" in the Local Area
> Connections Properties.
>
> I couldn't find a way to read and or toggle this switch (through some
> registry setting),
> so I made an AutoIt program to accomplish the task.
>
> The main disadvantage is that if the number of items above "Check Point
> SecuRemote" changes,
> the Auto-It script will (un)check the wrong item.
>
> thanks,
> Stef Mientki
>

There are some python tools that do desktop automation in a fashion similar
to what AutoIt does, but this kind of task is one of the few I actually
don't usually use Python for.  I usually use AutoIt.

PyWinAuto (http://pywinauto.openqa.org/) is probably the best-known of the
windows solutions out there.  I thought there was another main one, but I
can't find it at the moment.

Before you go haring off looking for a new tool, have you tried getting the
control ID using the AutoIt Winspy-thingy?  I've been able to use that to
send messages directly to individual controls, rather than the window, which
has helped me in similar situations.

Hope this helps, and let us know how it works out!

Kevin Horn
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to