English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 21 November 2004, 16:43   #1
lloyd
Mehh :D
 
lloyd's Avatar
 
Join Date: Nov 2004
Location: Bristol, SW UK
Age: 61
Posts: 242
AmigaDOS scripts

Hi

Does anybody know how to insert a command into a script that tells the Amiga that a key has been pressed - or, put it another way, how to make programs like DMS run without stopping and waiting for the Enter key to be pressed.

I want to write a large script to test DMS files from a CD ROM. I want to decompress the image to a real floppy, copy the floppy to another (to test for disk errors) and then re-compress the image using a better compression (Heavy 2). I want to simpy execute the script and then go off to work whilst my Miggy gets on with it. At the moment, I have to keep pressing the Enter key and so I have to be next to the puter all the time.

Bound to be a way to do it.......
lloyd is offline  
Old 22 November 2004, 17:42   #2
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
you can use input redirection like
echo "" >file.enter
dms xxxxxxxxx... <file.enter

but I would recommend to use XAD or other tools to decompress the dms file, dms was buggy all the times...
Wepl is offline  
Old 22 November 2004, 19:47   #3
lloyd
Mehh :D
 
lloyd's Avatar
 
Join Date: Nov 2004
Location: Bristol, SW UK
Age: 61
Posts: 242
Cheers! That sounds useful, even tho I've ever done that on my PC to send output to the printer or file - never thought I could input with it too!

Not familiar with XAD, and I know DMS is buggy, found out to my cost on more than one occasion!

Can I get XAD from Aminet I wonder... Will search. Cheers again, Danke
lloyd 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
Auto launching scripts fishyfish support.Apps 3 06 February 2012 20:51
IGAME to run Scripts TronPlayer support.Apps 1 08 February 2011 01:44
Passing arguments to scripts Leffmann Coders. General 4 23 January 2009 20:43
Launching apps from scala scripts amiga Amiga scene 0 21 November 2006 14:05
Trouble with latest install scripts Npl project.WHDLoad 2 07 February 2006 00:01

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

Top

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