Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: beltrixx on June 12, 2009, 01:18:35 PM

Title: Problem executing DOpus5 Arexx Script ...
Post by: beltrixx on June 12, 2009, 01:18:35 PM
Hi,

Yesterday I installed Visage Picture Viewer (Aminet link = http://aminet.net/gfx/show/Visage.lha). As a part of the installation package, it comes with an Arexx script called "Showvisage.dopus5" to allow displaying N pictures selected in a lister using Visage.

I entered the filetype configurator in Opus 5 (by pressing Amiga Key + 5) and configured .JPEG filetypes to use the Arexx script for the doubleclick event:

Command type : Arexx script
command : Showvisage.dopus5 {Qp} 0 'DEPTH=8 DITHER=ORDERED MODE= ... '

I must be doing something wrong because images are not displayed when I double click them in a lister ...

From the code inside the Arexx script, usage instructions are as follows :

* Usage: ShowVisage.dopus5 PortName Lister VisageOpts

I've also edited the script config section to specify the exact location of the Visage executable which in my case is = 'SYS:Utilities/Viewers/Visage' but haven't managed to get it working ...

Any ideas?

Thanks in advance,

beltrixx.

----------------------------------------------------------------------------------------
This is the beginning of the Arexx Script :

/* $VER: ShowVisage.dopus5 1.1 (6.8.9
*
* Public domain by Magnus Holmgren.
*
* Shows the files selected in the source listers, by creating a temporary
* file list, and passing this to Visage via the LIST argument. This
* requires Visage 39.15 or better to work.
*
* Usage: ShowVisage.dopus5 PortName Lister VisageOpts
*
* PortName : Name of Opus ARexx port.
* Lister : Handle for lister to show files for. Use 0 to display files
* for all current source listers.
* VisageOpts : Any options to pass to Visage.
*
* Select "Run Asyncronously" if you like...
*
*
* Version 1.0:
* Initial release.
*
* Version 1.1:
* Improved error message if there were no source listers available.
*
* Can now show files for a certain lister only. Note that you need to
* call the script a bit differently, even if you don't use this
* feature.
*
* Now makes the current lister busy while processing the entries. The
* script should never leave a disabled lister behind, but...
*/


/* ---- Config section start ---- */

/* Complete path to the Visage executable. */
/* VisagePath = 'Tools:View/Visage' */
VisagePath = 'SYS:Utilities/Viewers/Visage'

/* Path to drawer for the temporary list file. Must end with ':' or '/'. */
TempPath = 'T:'

/* ---- Config section end ---- */


/* Initialize */
Lf = '0a'x
Handle = ''

OPTIONS RESULTS
PARSE ARG Port ' ' ListerHandle ' ' VisageOpts

...

ETC
Title: Re: Problem executing DOpus5 Arexx Script ...
Post by: barney on June 12, 2009, 02:49:17 PM
This probably doesn't answer your question, but I have had nothing but trouble with version 5 of DoPUS.  I use version 4.  I find it much more stable and I don't get any system lockups with it.

Barney
Title: Re: Problem executing DOpus5 Arexx Script ...
Post by: beltrixx on June 12, 2009, 08:13:55 PM
Thanks for your advice but in my opinion the name is the only thing in which DOpus 4 resembles DOpus 5.

Although DOpus4 can be considered merely a well equipped filemanager, Dopus 5 is a full workbench replacement, being miles away from DOpus 4 in terms of usability and features. I don't suffer stability problems, only configuration problems like this one with the Arexx script ...

Greetings,

Beltrixx.