English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 14 March 2014, 05:23   #1
stefcep2
Registered User
 
Join Date: Dec 2009
Location: Melbourne/Australia
Posts: 226
Help me set up an .avi filetype in Dopus 4

I want to launch Action when double clicking on an .avi file in a Dopus4 lister.

I have use the arexx script Start_Action.rexx, but it insists on bringing up an ASL requester and doesn't play the .avi automatically.

0S 3.9 BB4
stefcep2 is offline  
Old 14 March 2014, 09:12   #2
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
I bet that Action takes movie name and other options from command line. Just make a filetype with AmigaDOS function "run >NIL: path:to/your/Action {f}" and possibly insert some options if you want to use any... (I assume that DOpus4 had same {f} for filename just like Magellan.. haven't used DOpus4 since 1997).
jPV is offline  
Old 14 March 2014, 23:23   #3
stefcep2
Registered User
 
Join Date: Dec 2009
Location: Melbourne/Australia
Posts: 226
@jPV. Yes that worked, many thanks! I did have to put in some options to get it to open on the same screen in a window on my cybergraphx workbench screen (it doesn't read the icon tooltypes when started from DOpus)

BTW what does the "run >NIL" actually do?
stefcep2 is offline  
Old 15 March 2014, 12:23   #4
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Quote:
Originally Posted by stefcep2 View Post
BTW what does the "run >NIL" actually do?
NIL: is a device, kind of /dev/null known from linux machines - a virtual trashcan.
output (text messages only) from run, in your example, is redirected to this, and not to the standard CON:
so the output is hidden and does not get displayed in a standard shell/cli window.
you have to write "run > NIL:" , using "run > NIL" would write the text-messsage into a file called "NIL"
emufan is offline  
Old 18 March 2014, 03:29   #5
stefcep2
Registered User
 
Join Date: Dec 2009
Location: Melbourne/Australia
Posts: 226
@emufan. Many thanks. That seems to crop up a lot and now I know what it is!
stefcep2 is offline  
Old 18 March 2014, 18:45   #6
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
"Run" also runs it as a separate process to be sure that DOpus won't get locked while that other program is running. Same could be achieved if DOpus4 has "Run asynchronously" flag like DOpus5 does, but I didn't remember it for sure. Anyway using "Run" command can't do any harm.
jPV 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
avi recording TEOL support.WinUAE 2 08 February 2012 11:45
problems recording avi Jools New to Emulation or Amiga scene 2 19 April 2008 22:58
Suggest filetype for Upload files. whiteb project.EAB 1 11 June 2006 16:00
Writing AVI BippyM support.WinUAE 16 20 May 2005 23:43
AVI to Anim5? Amiga1992 request.Apps 4 26 July 2002 20:29

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 00:04.

Top

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