Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently April 22nd, 2025, 10:50 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: New Key-Press challenge... "Shift" + "F10&quo
PostPosted: March 10th, 2005, 2:09 am 
Offline

Joined: March 9th, 2005, 9:42 am
Posts: 6
Location: Christchurch, New Zealand
Back again after figuring how to do the "F4" trigger the training package I am developing calls for use of the "F10" key and the "Shift + F10" combo.
(I am mimicking an old Cobol programme for a training environmnet... it has some very interesting interface standards.)

Fortunately, by altering a script supplied by Paul in my last thread ("Key-press... how do I use F4 without it jumping to preview?") I have been able to work around F10 being reserved in the Key-Press trigger actions.

...now I just need to find out how the script and/or Key-Press trigger dialogue can be bullied into letting me use a "Shift + F10" combo.

Suggestions?

Thanks in anticipation again,

_________________
Lycos
Opus Pro 4.5
Window XP


Top
 Profile  
 
 Post subject: easy enough
PostPosted: March 10th, 2005, 4:28 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Hi Lycos,
Using COBOL? you must be as old as I am. :lol:
use something like this, using "&&" to require two conditions for the if statement, shift AND F10 pressed ::

while (true){
if ((IsKeyPressed("Shift"))&&(IsKeyPressed("F10"))){
display = "Thank you!"} else {
display = "Press shift and F10"}
wait(0.1)
}

see attached
cheers
Paul


Top
 Profile  
 
 Post subject: Cheers!
PostPosted: March 11th, 2005, 4:19 am 
Offline

Joined: March 9th, 2005, 9:42 am
Posts: 6
Location: Christchurch, New Zealand
Thanks again, works a treat! :D

_________________
Lycos
Opus Pro 4.5
Window XP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group