Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12666

Re: Inertacting with website

From jmmicmc1 <jmmicmc@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Inertacting with website
Date 2019-09-25 18:09 -0400
Organization A noiseless patient Spider
Message-ID <qmgoi3$9c2$1@dont-email.me> (permalink)
References (1 earlier) <f0de8906-7587-4f66-ae1b-a764c33be3a5@googlegroups.com> <gtp0qsF5gsiU1@mid.individual.net> <gtp24hF5pt6U1@mid.individual.net> <3b50cdc1-3985-4b4e-8f57-9c05244018de@googlegroups.com> <gtpp09Fag67U1@mid.individual.net>

Show all headers | View raw


I am able now with Phantomjs to interact with the website and write the 
website in plain text to a file. I can do this at the command line, but 
I am not able to run the program from VO.

This is what I am doing:

cCmd	:= "phantomjs \apps\Martins\James.js " + 
AllTrim(SELF:oDCMItemNo:CurrentText)
 
ShellExecute(SELF:Handle(),PSZ(cCmd),NULL_PSZ,NULL_PSZ,NULL_PSZ,SW_SHOWNORMAL)

It is not running the program, but I can do it from the command line. I 
suppose it is because the program and the parameters are together in one 
string. Any hints on how to do this?

James


On 9/10/2019 10:07 AM, Wolfgang Riedmann wrote:
> Hi James,
> 
>> Thanks. Are there any instructions on how to use this library?
> 
> see here:
> 
> oWinHttp	:= WinHttp{}
> oWinHttp:UserAgent	:= "your application name"
> oWinHttp:Username	:= _cUserName		// if needed
> oWinHttp:Password	:= _cPassword  		// if needed
> if oApp:lUseHttps
> 	oWinHttp:IgnoreCert := true
> endif
> cResult := oWinHttp:GetURL( _cServerName, cURL, dword( _nPort ) )
> 
> Wolfgang
> 
> 
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-06 15:51 -0400
  Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-07 06:45 +0200
    Re: Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-08 06:17 -0400
      Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-08 16:47 +0200
        Re: Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-08 19:50 -0400
          Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-09 13:30 +0200
  Re: Inertacting with website jeanphilippe@igsoft.be - 2019-07-09 04:29 -0700
  Re: Inertacting with website jmmicmc@gmail.com - 2019-09-09 15:01 -0700
    Re: Inertacting with website Johan Nel <johan.nel@xsinet.co.za> - 2019-09-10 05:31 +0200
    Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 09:14 +0200
      Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 09:36 +0200
        Re: Inertacting with website jmmicmc@gmail.com - 2019-09-10 05:45 -0700
          Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 16:07 +0200
            Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-25 18:09 -0400
            Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-17 18:22 -0800
              Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-18 08:23 +0100
              Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-18 15:21 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-18 18:30 -0800
                Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-19 08:40 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 00:02 -0800
                Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-19 09:15 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 18:33 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-20 07:19 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-20 15:26 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-21 07:17 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-21 20:01 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-22 09:17 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-25 15:48 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-25 17:25 -0800
                Re: Inertacting with website norbert@kolb.cx - 2020-01-26 02:23 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-26 16:02 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-27 19:16 -0800
                Re: Inertacting with website Heraldo Gama <heraldogama@gmail.com> - 2021-10-01 18:58 -0700
                Re: Inertacting with website nk <norbert.k@chello.at> - 2021-10-02 17:51 +0200
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-10-03 12:36 +0200
                Re: Inertacting with website Heraldo Gama <heraldogama@gmail.com> - 2021-10-13 20:27 -0700
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 18:36 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-20 07:14 +0100
    Re: Inertacting with website nk <norbert.k@chello.at> - 2019-09-10 16:12 +0200
      Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 09:02 -0400
  Re: Inertacting with website Pilks <richardp@lukhozi.co.za> - 2019-09-19 07:54 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 14:06 -0400
      Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-19 11:23 -0700
        Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:35 -0400
        Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:36 -0400
          Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-19 12:55 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:19 -0400
  Re: Inertacting with website Frans Wauters <info@wautersit.com> - 2019-09-26 07:44 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-27 08:10 -0400
  Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-27 05:24 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-10-04 07:59 -0400

csiph-web