Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 9:03 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Refreshing a particular webpage?
PostPosted: June 5th, 2006, 11:22 am 
Offline

Joined: February 5th, 2006, 3:39 am
Posts: 55
Location: Scotland
Hi folks, can anyone offer up some knowledge on the following?

I have a web page within a publication which connects to a log in page on the www. Is it possible to log in via this page and then have Opus auto refresh the new page in the browser?

At the moment, Opus can refresh, but only the original page which is entered in the properties dialogue.

Hope this sounds logical

Jim

Opus Pro 5.5


Top
 Profile  
 
 Post subject:
PostPosted: June 5th, 2006, 12:32 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Could you close the initial browser and open a new one with a
Code:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.XXXX.com/">
to the page you want to auto-refresh?

Or could you add the META refresh to your webpage?

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 5th, 2006, 12:53 pm 
Offline

Joined: February 5th, 2006, 3:39 am
Posts: 55
Location: Scotland
It would not be possible to add the tag to the web page as the page does not belong to me. Opening a seperate browser would not solve my problem as the address is always dynamic, dependent on user details.

Or maybe I am missing something

Edit. Am i right in saying that Opus cannot 'Grab' a web address from a browser obect?

Jim


Top
 Profile  
 
 Post subject:
PostPosted: June 5th, 2006, 1:59 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Did you try with script?

Code:
Browsername.Refresh()


This is what I tried. I opened a browser object to www.yahoo.com.
I then clicked a link there and went to another location in the browser. Then I clicked a button I had created in Opus that refreshed the browser object. It refreshed the browser object on the second page and not the Yahoo page, so maybe that is what you are trying to do?

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 6th, 2006, 11:07 am 
Offline

Joined: February 5th, 2006, 3:39 am
Posts: 55
Location: Scotland
Bwpatric, that worked a treat! I really dont use scripting and that is to my disadvantage. I will have to start doing some research on scripting. I think I will start on the tutorials that Graham has submitted. Thanks again for a simple solution to what was a pain for me!


Top
 Profile  
 
 Post subject:
PostPosted: June 6th, 2006, 2:30 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
It shouldn't be necessary to script this - you should be able to just use the the Refresh action in the Launch actions section - it does exactly the same as the script action (they are the same code behind the scenes!)

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group