Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: GoTo Page in another publication
PostPosted: February 15th, 2005, 10:05 pm 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
I think it would simplify management of some of the projects I have in mind if I could incorporate several "publications", and be able to trigger an action in one that would GoTo a specified page in another.

So far it seems that the only action like this is to GoTo Page in the current publiction.

Can anyone tell me if this is possible or must each publication be self-contained?


Top
 Profile  
 
 Post subject:
PostPosted: February 16th, 2005, 11:20 am 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

When a publication created in Opus Pro 04 or Opus Pro XE 04 launches, it checks to see if any parameters have been sent (passed) to it. If the publication finds parameters, it creates new COMMAND_PARAM variables that stores the parameter information. You can then use this information in conjunction with If statements to change the behaviour of your publication.

For example, if you launch an external publication using a Launch File action and the parameter field contains the following:

/Summary /On

the following variables will be populated in the new publication:

COMMAND_PARAM_1 will contain the value Summary
COMMAND_PARAM_2 will contain the value On

You can now add actions to the start of the publication (for example, actions assigned to a Pre Show trigger on the first page) to check the values of these variables and issue the required actions. Please note that you MUST create the new COMMAND_PARAM variables in the second publication as variables do not already exist and will not be available in the list of preset variables when setting up the If statement.

So, if you wanted the second publication to launch at the page indicated by the first parameter (in this case, Summary), you would need to add a Pre Show trigger to the first page of your publication which checks to see if COMMAND_PARAM_1 equals Summary. If so, a Go To Page <Summary> action can be triggered and the second page will be shown.

If you wanted to show or hide an object based on the value of the second parameter sent to the publication, you would use an If statement which checks to see if COMMAND_PARAM_2 equals On. If so, a Show action will display the object. If not, the object remains hidden.

More information about this functionality can be found in the help file (simply search for 'parameter' and view the 'How to use Parameters in the new publication' article).

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 16th, 2005, 1:05 pm 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Thanks Robin, again it looks like 4.5 is the answer

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject:
PostPosted: February 17th, 2005, 5:54 am 
Offline

Joined: October 26th, 2004, 1:26 pm
Posts: 262
Hi,

Since you have 2.81, possibly the easiest way to launch another pub and goto a specified page, would be to have a file (or files) on hard disk storing the page name. Then designated pubs could update the file. (have a 'close file' action after each access.)

When another pub is launched it would read the file, with an On-Show action variable condition on its first page instructing it which page to go to.

_________________
Cheers,
Steve


Top
 Profile  
 
 Post subject:
PostPosted: February 17th, 2005, 10:16 am 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
In addition to Steve's post, you could also store this information to the system registry using Write Data to Registry and Read Data from Registry actions.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 32 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group