English Amiga Board    


Go Back   English Amiga Board > » Coders > Coders. System

Reply
 
Thread Tools
Old 09 January 2012, 18:05   #1
DeafDaz
Deafdaz
 
Join Date: Jul 2011
Location: Blackpool Egland
Age: 38
Posts: 201
getting a user to press a key via AmigaDOS

I am experimenting with scripting via AmigaDOS under WinUAE emulation Using KS1.3 and WB1.3. I want to add a command in my script that Waits for the user to press a key before executing the next batch of commands in my script. I have hit a brick wall with this one can anyone help?
DeafDaz is offline   Reply With Quote
Old 09 January 2012, 18:32   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 3,916
Code:
ask "Please press Enter to continue"
__________________
Home: thomas-rapp.homepage.t-online.de
Email: thomas-rapp@web.de
thomas is offline   Reply With Quote
Old 09 January 2012, 21:45   #3
DeafDaz
Deafdaz
 
Join Date: Jul 2011
Location: Blackpool Egland
Age: 38
Posts: 201
Thanks Thomas
I had used the Ask command earlier on in my script. I t did not occur to me to use ask for this fuction. I was thinking of a press any key to continue. but this is better and easier.
DeafDaz is offline   Reply With Quote
Old 10 January 2012, 17:37   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 3,916
Here is a real "press any key" program which works on Kick 1.3:
Attached Files
File Type: lha waitanykey.lha (1.4 KB, 64 views)
__________________
Home: thomas-rapp.homepage.t-online.de
Email: thomas-rapp@web.de
thomas is offline   Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga 'HELP' key - tribute thread to the abandoned key... Paul_s Amiga scene 22 23 July 2009 12:15
'Wait' program that checks for a joy button press instead of 'Return' key... Heavy Stylus request.Apps 7 10 May 2009 19:01
Two questions about "Help" key and Worckbench/AmigaDOS/Kickstart. The Brave Ant New to Emulation or Amiga scene 6 14 December 2007 03:26
Anyone been to Digital Press? th4t1guy Retrogaming General Discussion 2 15 June 2004 00:24
A new Amiga Book from Microsoft Press Pyromania Amiga scene 8 18 May 2003 18:34


All times are GMT +2. The time now is 09:17.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.13551 seconds with 12 queries