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


Groups > microsoft.public.scripting.vbscript > #11898

Re: ie automation

Newsgroups microsoft.public.scripting.vbscript
Date 2018-04-17 07:39 -0700
References <ecdf55bb-9fe4-4451-a134-7abe3d845254@googlegroups.com> <7895bece-c24a-4eb8-8a81-740ae3854814@googlegroups.com> <aabab076-c68d-46cf-a3bf-63392e4581e9@googlegroups.com>
Message-ID <cacf4456-17d6-4c9b-9eca-fa85461b32f9@googlegroups.com> (permalink)
Subject Re: ie automation
From gerald.bell@pnmac.com

Show all headers | View raw


On Tuesday, April 17, 2018 at 9:33:49 AM UTC-5, geral...@pnmac.com wrote:
> On Tuesday, April 17, 2018 at 8:59:13 AM UTC-5, geral...@pnmac.com wrote:
> > On Monday, April 16, 2018 at 12:57:08 PM UTC-5, geral...@pnmac.com wrote:
> > > Hi.  There is an IE website I am trying to automate.  But there is no ID of the field..  Here is part of the code...
> > > 
> > > <div class="option" data-selectable data-value="881">Report 1</div>
> > > 
> > > <div class="option selected active" data-selectable data-value="888">Report 2</div>
> > > 
> > > <div class="option" data-selectable data-value="889">Report 3</div>
> > > 
> > > ...
> > > 
> > > 
> > > I am not sure what the vbs syntax would be to make the Report 3 be selected active and the rest not active.
> > > 
> > > Please help.
> > > 
> > > Thanks in advance....
> > 
> > Hi.  Simply trying to call the validation event behind the dropdown.  But since this is a selectize dropdown, there is no OnClick event.  Here is some info on selectized dropdowns:
> > https://github.com/selectize/selectize.js/blob/master/docs/api.md
> > Notice there is no Onclick event. I am simply trying to call maybe the getOption() event.  But when I use the followingin my vbscript file I am getting a "object doesn't support this property or method" error.
> 
> If you need the full code of the selectize.js from my site please let me know.  It looks like there is no getoption() event in it, but there are a lot of other events.  trying to figure out which one is called when a user selects an option from the dropdown, and call that from my vbscript.

looks like there is indeed an getoption event/function in it.  just trying to figure out how to call the functions in the selectize.js using vbs

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ie automation gerald.bell@pnmac.com - 2018-04-16 10:57 -0700
  Re: ie automation "Mayayana" <mayayana@invalid.nospam> - 2018-04-16 19:09 -0400
  Re: ie automation "Mayayana" <mayayana@invalid.nospam> - 2018-04-16 21:50 -0400
  Re: ie automation JJ <jj4public@vfemail.net> - 2018-04-17 16:35 +0700
  Re: ie automation gerald.bell@pnmac.com - 2018-04-17 05:48 -0700
    Re: ie automation "Mayayana" <mayayana@invalid.nospam> - 2018-04-17 09:42 -0400
  Re: ie automation gerald.bell@pnmac.com - 2018-04-17 06:59 -0700
    Re: ie automation gerald.bell@pnmac.com - 2018-04-17 07:33 -0700
      Re: ie automation gerald.bell@pnmac.com - 2018-04-17 07:39 -0700
    Re: ie automation "Mayayana" <mayayana@invalid.nospam> - 2018-04-17 10:39 -0400

csiph-web