English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 12 June 2009, 14:40   #1
beltrixx
Another Amiga fan
 
beltrixx's Avatar
 
Join Date: Jan 2009
Location: Barcelona / Spain
Age: 51
Posts: 49
Unhappy Problem executing DOpus5 Arexx Script ...

Hi,

Yesterday I installed Visage Picture Viewer (Aminet link). 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.82 (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
beltrixx is offline  
Old 01 August 2015, 22:16   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
Another oldie grabbing. I wouldn`t care about the script because DOpus is already able to view selected files via Visage. Just use something like this:

Tools:Gfx/Viewer/Visage/Visage {F}
daxb is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when executing PGA Europe 1time project.WHDLoad 1 25 March 2010 18:57
Wanted: dOPUS5 MagellanII snowman MarketPlace 1 09 March 2007 13:55
Executing command contained in .info files AMIGrAve support.Apps 5 28 February 2007 19:39
Arexx script (txt => hex) Uukrul Coders. General 10 09 September 2001 04:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:22.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06300 seconds with 13 queries