Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently September 30th, 2024, 11:41 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: KEY PRESS + MODIFIER PROBLEM
PostPosted: May 22nd, 2012, 5:48 pm 
Offline

Joined: May 31st, 2011, 11:20 pm
Posts: 37
Opus: Pro 09
OS: XP Pro
System: Various systems
Hey Folks

I'm having KEY PRESS trigger problems. The key pressed with the modifier invokes the same action that key invokes without the modifier. Seems overly simple to be a bug. Am I doing something wrong?

Can I invoke the KEYPRESS: SHIFT + 1 action without invoking the KEYPRESS: 1 action?


Top
 Profile  
 
 Post subject: Re: KEY PRESS + MODIFIER PROBLEM
PostPosted: May 22nd, 2012, 10:10 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
If you require an action for both SHIFT+One and One, then you're going to need to be a little creative.

Set up an action to check whether the One key has been pressed and then use this script to check whether it was just one or shift-one:

Code:
if (IsKeyPressed( "Shift"))
   {
   Debug.trace("Shift One Pressed")
   } else
      {
      Debug.trace("One Pressed")
      }



Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group