Re: Writing and submitting a form from a browser
On 22/9/00 7:39 pm, Phil Davis [EMAIL PROTECTED] wrote: 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. If its a text based application, you can do this by reading and writing to open process. It will often also be possible to do this with graphical applications using the DDE support in the Externals Collection. Regards, Kevin Phil 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.
Re: Writing and submitting a form from a browser
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.
Re: Writing and submitting a form from a browser
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.
Re: Writing and submitting a form from a browser
on 9/20/00 3:38 AM, Kevin Miller at [EMAIL PROTECTED] 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. Agreed that it would be better to simply post from MetaCard and get the results (you could even, with some effort, save the results to a file and then tell a browser to open the file--but that would be difficult to implement cleanly, what with relative paths, etc.). But it looks like you can do what you're asking to do, at least on a Mac. I haven't tried this, but from the Apple Event dictionary of Communicator: register URL echo : Registers the ³echo² application. Each download from now on will be echoed to this application. register URL echo [ «class sign»] -- Application signature Internet Explorer doesn't have this event, but does have: GetSource : Get the HTML source of a browser window GetSource [ integer] -- Window Identifier of window from which to get the source. No value means get the source from the frontmost window. Result : string -- regards, gc 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.
Writing and submitting a form from a browser
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.