lunch a HTML file from a page
November 23, 2005 12:00 AM
You could keep both actions on the button and tell Lectora to trigger only the action that applies for the publish by placing a condition on each action to check the 'BrowserType' variable. When the content is published to html, the BrowserType will contain the name of the browser you are currently using, such as, "Internet Explorer". However, if content is published to CD/exe than the BrowserType will be "Lectora Professional Publishing Suite" or "Lectora Enterprise" depending on your version of Lectora.So, for the launch program/document action, use the condition: Only perform the action if BrowserType Contains Lectora. And for the web address action use the condition: Only perform the action if BrowserType Does Not Contain Lectora.You can now leave both actions on the button and only one will be performed based on the publish.
Discussions have been disabled for this post