Jump to content
Macro Express Forums

How to put value from web page into a variable?


XIII

Recommended Posts

Hi,

 

I'm sure this is a noob question, but this is driving me nuts! I hope someone can help me with this..

 

How can I get the number of results that are displayed on a search page into a variable? For now, I've been entering the value manually into a prompt for value box after the results of the search comes back. I'd like to grab the number off of the page and put it into a variable automatically. Is this possible?

 

 

Thanks in advance!

Link to comment
Share on other sites

Hi

 

This is going to be a answer in general terms.

Is it possible to navigate to the page-field with Tab or Arrows? If it is use the Text type command to do the Tab or arrow commands, to jump to the right field.

Copy the text with the Clipboard Copy command and use Variable Set Integer/Set Value from Clipboard.

 

Hope this guided you some

Link to comment
Share on other sites

Hi

 

This is going to be a answer in general terms.

Is it possible to navigate to the page-field with Tab or Arrows? If it is use the Text type command to do the Tab or arrow commands, to jump to the right field.

Copy the text with the Clipboard Copy command and use Variable Set Integer/Set Value from Clipboard.

 

Hope this guided you some

 

Hi,

 

Yes, I think that is possible. The problem seems to be that there is some additional text included with the number that I am trying to grab. Is there a way that I can edit out the rest and just leave the number that I need?

 

Any ideas would be appreciated!

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...