English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 09 January 2012, 18:05   #1
DeafDaz
Deafdaz
 
Join Date: Jul 2011
Location: Blackpool Egland
Age: 48
Posts: 200
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  
Old 09 January 2012, 18:32   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Code:
ask "Please press Enter to continue"
thomas is offline  
Old 09 January 2012, 21:45   #3
DeafDaz
Deafdaz
 
Join Date: Jul 2011
Location: Blackpool Egland
Age: 48
Posts: 200
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  
Old 10 January 2012, 17:37   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Here is a real "press any key" program which works on Kick 1.3:
Attached Files
File Type: lha waitanykey.lha (1.4 KB, 330 views)
thomas 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
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
CD32 Press Pack on Ebay CHiEF MarketPlace 14 25 February 2003 17:46

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 16:47.

Top

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