Home All Groups Group Topic Archive Search About

Automatic Form Fill in

Author
22 Nov 2006 9:16 AM
Anil Gupte
I am playing a Windows Media File which is protected by their DRM.  I want
to be able to automatically fill in the form asking for payment with my
saved parameters.  Is there any way to do this?  Note, this is not on the
web - this is a desktop app that has an embedded player or using
mciSendString to play the file.

Thanx in advance,

Author
27 Nov 2006 4:04 AM
Branco Medeiros
Anil Gupte wrote:
> I am playing a Windows Media File which is protected by their DRM.  I want
> to be able to automatically fill in the form asking for payment with my
> saved parameters.  Is there any way to do this?  Note, this is not on the
> web - this is a desktop app that has an embedded player or using
> mciSendString to play the file.

You'll probably have to play with the Win32 API: FindWindow,
FindWindowEx, SetWindowText and such guys.

Hope this puts you in the right track.

Regards,

Branco.
Author
27 Nov 2006 6:13 AM
Anil Gupte
Thanx that helps.  If you have anything more specific, it would help a
newbie.  Also, if there are resources/tutorials on the web dealing with this
topic, it would help.

Thanx again,
Show quoteHide quote
"Branco Medeiros" <branco.medei***@gmail.com> wrote in message
news:1164600292.154178.24770@j72g2000cwa.googlegroups.com...
>
> Anil Gupte wrote:
>> I am playing a Windows Media File which is protected by their DRM.  I
>> want
>> to be able to automatically fill in the form asking for payment with my
>> saved parameters.  Is there any way to do this?  Note, this is not on the
>> web - this is a desktop app that has an embedded player or using
>> mciSendString to play the file.
>
> You'll probably have to play with the Win32 API: FindWindow,
> FindWindowEx, SetWindowText and such guys.
>
> Hope this puts you in the right track.
>
> Regards,
>
> Branco.
>