Need Help with a Web page

Started by George Vagenas, September 24, 2014, 06:50:13 PM

Previous topic - Next topic

George Vagenas

I have a script that uses Internet Explorer to navigate to http://www.imdb.com/, this code used to work fine
Code (winbatch) Select
   msieDoc = Msie.Document
   msieAll = msieDoc.all
   
   msieType = msieAll.q
   msieType.value = Lkp
   Button = FindButton(Msie, 'submit')
   button.click
where Lkp contains the title of a movie I want to lookup.  This line "msieType.value = Lkp " is working fine and the Title is appearing in the search bar, but the code is not clicking the search button.

I believe this is the relevant part of the source file
Code (html5) Select

  <button id="navbar-submit-button" class="primary btn" type="submit"><div class="magnifyingglass navbarSprite"></div></button>
  <input type="hidden" name="ref_" value="nv_sr_fn" />
  <input type="text" autocomplete="off" value="" name="q" id="navbar-query" placeholder="Find Movies, TV shows, Celebrities and more..." >

As usual any help is appreciated.
Thanks

George

td

Perhaps answers to one of your previous posts may offer a hint of a solution:

http://forum.winbatch.com/index.php?topic=923.msg4075#msg4075
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

George Vagenas

Perhaps I need to have my brain sanforized, I totally forgot about that post.  That's the trouble with leveraging other peoples' work to accomplish a task, I got that script working again but obviously I didn't learn anything in the process.
I've used Directory Opus to get a list of files containing ".all".  I'll review them and revise any scripts that I may have a use for while its still clear what I need to do.
Sorry for not replying sooner.
Thanks

George