Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Open HTML Files in Browser
PostPosted: November 21st, 2005, 2:46 am 
Offline

Joined: November 21st, 2005, 2:14 am
Posts: 12
Hi All,

I'm new to Opus Pro XE.

Just start with one page publication for displaying 100+ html files using hypertext to triger action. Its fine on preview and using Published CD on same PC. However, it cannot display html files when use on other PC.

Q. I have organised all html file under folder called Resource. How to tell Opus to get resources from CD?

I have copied folder Resource into CD but fail.

I tried to include html as additional resources (into EXE) with no success.

Any help appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: November 21st, 2005, 3:26 am 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Here is one way you could do this.

Create the browser object.

When you create the hypertext link give it the Navigate action under the Browser tab. Select the browser object and then in the Navigate to this Internet address enter:
Code:
<SYSTEM_PUBLICATION_DIR>\XXXX.HTM
where XXXX.HTM is the name of your file. Then after you have published, move your HTML files over to the same directory where your published exe is located and you should be ready to go.

I'm sure you could also set up something with navigate to variable, but this is just one way that I could come up with quickly.

One other thing if you have a folder named resources you would just included that after the SYSTEM variable
Code:
<SYSTEM_PUBLICATION_DIR>\resources\I am a spammer.htm

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


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 21st, 2005, 4:12 am 
Offline

Joined: November 21st, 2005, 2:14 am
Posts: 12
I mage to test one htm file with this code:

<SYSTEM_PUBLICATION_DIR>\resource\I am a spammer.htm


However, it tedious to manually key-in. Is there simple way at least cut-and-paste?


Top
 Profile  
 
 Post subject:
PostPosted: November 21st, 2005, 4:58 am 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
In the field select what you want to copy (the stuff that doesn't change) and then right click on it and choose copy. Then paste into the hypertext action as needed and modify. Maybe you would want to explore the variable route and then determine how it could work more easily for you?

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


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 21st, 2005, 7:48 am 
Offline

Joined: November 21st, 2005, 2:14 am
Posts: 12
At last I manage to "manually" change the data path using copy and paste. However, I have to click on "Apply" button before "Ok". It will not work if I directly click OK.

I Experiencing samething when using "Go to page" action on hypertext!

Thank you for your tips.


Top
 Profile  
 
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 43 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