Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: viewing a folder on a CD drive
PostPosted: November 14th, 2008, 9:53 pm 
Offline

Joined: November 11th, 2004, 1:08 am
Posts: 3
I can view the root directory on a CD drive with a button using the action File Browse and the Variable SYSTEM_CD_DRIVE however I cannot find way to view the contents of a folder on the CD. Any suggestions. I may be able to do it if I knew the format of the script for the SYSTEM_CD_DRIVE variable.


For this message nevillem has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 15th, 2008, 9:44 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
neville,

welcome to the forum and Opus.

It's been awhile since I played with this area, but I recall I created a Browser Object and was able to "view files and folders" there. I think you can set the Browser up to open to a fixed starting location, or a location set in a variable. The locations can be normal URLs, but also local Directories.

If you have trouble ( with file:\\\ or with http:/// ) do a Search on the forum.

BTW, if you take this route and/or get into OpusScript... look up and use the commands "NavigateTo" and "Refresh" (if it's not 'refresh', it is something like that).

You should test your success BOTH in opus Preview and also by Publishing and testing the finished Pub --- to make sure it behaves well as intended.

With media drives of course, there's always a chance of not having a disk in the tray.

OpusPro also has an option (Publication Properties) to force running a Pub from CDROM only.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Locating a folder on a CD drive
PostPosted: November 15th, 2008, 10:06 am 
Offline

Joined: November 11th, 2004, 1:08 am
Posts: 3
I will have to use the SYSTEM_CD_DRIVE variable to locate the CD or DVD and that is where the program will be running from but I also would like to have a button to load a view of files in a folder. Using a browser would not be suitable for this application. It seems so simple. If I new the script for the SYSTEM_CD_DRIVE variable I could probably add to it because I have fixed names for the folder I am trying to view.


For this message nevillem has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 15th, 2008, 7:32 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
you can get the path to where your pub is running from by using <SYSTEM_PUBLICATION_DIR>


For this message Paul has been thanked by : mackavi


Top
 Profile  
 
 Post subject: folder view
PostPosted: November 15th, 2008, 9:09 pm 
Offline

Joined: November 11th, 2004, 1:08 am
Posts: 3
Using the folder where the publlication is running close but not the correct folder.It is possible to launch a file from any folder on a CD by using for example <SYSTEM_CD_DRIVE>\pdf\ to launch a file from a folder on the called pdf. I just want to be able to look at that or another folder on the CD with the Windows Browse type view.


For this message nevillem has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 16th, 2008, 6:28 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
neville

It is actually 'easier' than I thought.

Create a DocView Object.
-- set the default file to the <SYSTEM_CD_DRIVE>
-- in the Opus editor, make this object "Initially Hidden"

Create your Button
-- create an Action: to Show the DocView_1

Have fun.

(BTW, this worked for me in a matter of minutes. However I did create a broswer object first and did the "Insert Variable"... as that did not work well, I selected the Browser Object and converted it to a DocView object. Voila! )

You can obviously add more 'parameters' to specify extra Folders or such.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
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: Google [Bot] and 63 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