Finding the current page name

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Finding the current page name

by ErikMartinson on Tue Oct 25, 2005 12:52 pm

Hello,

I am trying to write a script that checks the a site to see if a session timeout has occurred. I need a script that will tell me the name of the page that I am on. Below is an outline of the sctipt that I looking to write.

1. Login to ASP website ...Done
2. Select an account and display listing page (external data) ...Done
3. Wait 30 Minutes
4. Repeat Step 2 ...Done
5. Grab the Name of the Current Page
6. Return Current Page Name to calling application (vb6)

Thanks
ErikMartinson
 

by Tech Support on Tue Oct 25, 2005 1:21 pm

Just to clarify: With page name, you do you mean the URL of the current page?
User avatar
Tech Support
 
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm

by ErikMartinson on Tue Oct 25, 2005 1:43 pm

Yes, that is what I am looking for.

Thanks
ErikMartinson
 

by Tech Support on Tue Oct 25, 2005 1:49 pm

You can use

SET !EXTRACT {{!URLCURRENT}}

or

SET !EXTRACTADD {{!URLCURRENT}}

This adds the URL of the current page to the list of extracted information.

For a similar problem, see also
http://forum.iopus.com/viewtopic.php?t=78
User avatar
Tech Support
 
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 4 guests

-->