Welcome, Guest. Please login or register.

Author Topic: Problem executing DOpus5 Arexx Script ...  (Read 1499 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline beltrixxTopic starter

  • Jr. Member
  • **
  • Join Date: Mar 2007
  • Posts: 92
    • Show only replies by beltrixx
    • http://elciudadanocableado.wordpress.com
Problem executing DOpus5 Arexx Script ...
« 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
A1200 Desktop : 16 Gb CF card, DVD ROM, ZIP 250, Fastata 1200 MKII, 128 Mb Fast, Microbotics 1230XA Accelerator, WLAN Card, AmigaOS 3.9
Never in the field of human conflict, was so much owed by so many to so few. (W. Churchill)
 

Offline barney

  • Hero Member
  • *****
  • Join Date: May 2008
  • Posts: 555
    • Show only replies by barney
Re: Problem executing DOpus5 Arexx Script ...
« Reply #1 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
 

Offline beltrixxTopic starter

  • Jr. Member
  • **
  • Join Date: Mar 2007
  • Posts: 92
    • Show only replies by beltrixx
    • http://elciudadanocableado.wordpress.com
Re: Problem executing DOpus5 Arexx Script ...
« Reply #2 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.
A1200 Desktop : 16 Gb CF card, DVD ROM, ZIP 250, Fastata 1200 MKII, 128 Mb Fast, Microbotics 1230XA Accelerator, WLAN Card, AmigaOS 3.9
Never in the field of human conflict, was so much owed by so many to so few. (W. Churchill)