Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 5:22 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: showing directory in publication
PostPosted: January 16th, 2011, 9:30 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
I would like to create a publication that shows a directory that contains .txt files
When the user clicks on one of these files it must open the textfile.
I tried some things by using the Directory Browse option, but i can's figure out
how to show the files of the choosen directory in the publication.

Regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 16th, 2011, 10:25 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Ad,

This has been posted before. Three ways:

1. Use CMD to generate a directory listing outputted to a text file which you then use with Opus.

2. Use something like AutoIT to write a third party directory listing again to produce a text file for Opus.

3. Buy our directory listing DLL (for XP+) that will allow you to read the directory contents straight into Opus.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 16th, 2011, 12:44 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks for your reaction Mac.
What's the best option? I don't know nothing about AutoIt so that not my first choice.
How do i use CMD?
I looked at your site to find the directory listing DLL but maybe i am looking in the wrong place.

Kind regards,


Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 16th, 2011, 3:52 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Ad,

I don't personally use AutoIT any more as it kept flagging as a virus.

Using CMD is easy just use the dir command and output to file like such:

Code:
C:\dir > list.txt


will create a a file called list that will contain any folders / files in the path which you can then read into Opus using standard file open actions.

Our DLL is probably better if you prefer an integrated solution or are intending producing a professional solution. It's here:

http://www.live.interaktiv.co.uk/index. ... Itemid=133

or there is a demo here:

http://www.live.interaktiv.co.uk/index. ... &Itemid=19

Regards,

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 16th, 2011, 9:30 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hi Mack,
Maybe i am to stupid to understand it but what is a file with a .7z extension ??
How do i use the demo "filebrowser" from your site?
The price of the DLL pack is not the problem but the way to use it is my problem i think.

Kind regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 17th, 2011, 9:02 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
csnmedia wrote:
Maybe i am to stupid to understand it but what is a file with a .7z extension ??


Hi Ad,

You must have missed the explanation at the top of the page :-) *.7z is an 7 (seven) Zip file format. It's just an open source implementation of the ZIP compression program. It's just a variation of the commercial WinZip application.

I use it because it handles a wide range of formats, generally offers better compression and it's open source and worth supporting.

http://www.7-zip.org/

You can also find the portable version if you'd prefer.

Just unzip the example and run the program. It will allow you to pick a directory and it will read the contents into the list box. The version on the shop is the same but you get the source code to build your own version. If you do get it and have any questions, just use the email box on our site and I'll have a look.

Regards,

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: showing directory in publication
PostPosted: January 17th, 2011, 3:23 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
It works. Stupid me

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 23 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