12 June 2009, 14:40 | #1 |
Another Amiga fan
Join Date: Jan 2009
Location: Barcelona / Spain
Age: 51
Posts: 49
|
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 |
01 August 2015, 22:16 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,308
|
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} |
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 |
|
|