In VB you can type into text fields of open apps by using "appActivate"
(to launch the app or else bring it to the front), followed by the
"sendKeys" command (which does the typing).
Question: Can you do this with the MC "launch" or some other
command/function? That *would* be nice.
Seems to me I did something similar once from MC (on Win32) by using
"launch", but I wasn't typing stuff into the app - I was passing a
filename to it as part of the "launch" command. I was controlling
RealPlayer at the time. I'll see if I can locate that stack.
Phil
Kevin Miller wrote:
>
> On 19/9/00 3:15 am, Sound Medicine, Inc. <[EMAIL PROTECTED]> wrote:
>
> > I am very unsophisticated as a programer. I can't for the life of me get the
> > post comand to work submitting a form. Is there any simple way to have
> > metacard fill in the fields of a form on a browser like Internet Explorer and
> > somehow hit the submit button? And, while I'm asking, is there an easy way to
> > get the source code of the resultant web page sent back to the browser read
> > into metacard? Thanks to all you folks who have helped me in the past.
> > Peter Bower, M.D.
>
> As far as I know, you can't do this. Actually communicating with an open
> browser to fill in fields on a page and then press a button is not something
> I've ever though about doing. As a long shot, it might just about be
> possible on Windows with DDE and the Externals Collection, but I don't think
> this is very likely and wouldn't have any idea where to start.
>
> What you *can* do is post to a URL from inside MetaCard, and then get back
> the resulting page. Use the post command to do this, and search through the
> list archives for examples of this command in action.
>
> Regards,
>
> Kevin
>
> Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
> Runtime Revolution Limited (formerly Cross Worlds Computing).
> Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
>
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
--
Phil Davis
---------------------------------
[EMAIL PROTECTED]
(503) 417-7930 x234
---------------------------------
Facilitator
Essentials of eBusiness Computing
Information Technology Institute
http://www.iti.com
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.