[jawsscripts] Re: key pressed event
- From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Tue, 25 Sep 2007 07:04:23 +0100
Daniel,
The details will be slightly different, depending on whether you do this
within a completely separate script, or as part of the KeyPressedEvent
function. Basically, you will need code that looks like this:
If (condition) Then
TypeCurrentScriptKey (); key goes through to app.
Else
If (anotherCondition) Then
;execute your own script code
EndIf
EndIf
You will have to be able to specify both conditions yourself, depending on
what you want done. You might also want to deal with the script code first,
depending on your priorities. If neither condition is true, the key will
not be passed to the application AND the script code will not be run.
hth
Martin
----- Original Message -----
From: "Daniel Dalton" <daniel.dalton47@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, September 25, 2007 1:34 AM
Subject: [jawsscripts] key pressed event
Hi,
How can I make a hot key first either run its script or if there is know
script then send it through to the application?
I have some code here that I want executed once the key has either gone
through to the application or called its script.
I am using the KeyPressedEvent function.
Thanks,
--
Daniel Dalton
---snip---
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- Follow-Ups:
- [jawsscripts] Re: key pressed event
- From: Daniel Dalton
- [jawsscripts] Re: key pressed event
- From: Doug Lee
- References:
- [jawsscripts] key pressed event
- From: Daniel Dalton
Other related posts:
- » [jawsscripts] key pressed event
- » [jawsscripts] Re: key pressed event
- » [jawsscripts] Re: key pressed event
- » [jawsscripts] Re: key pressed event
- » [jawsscripts] Re: key pressed event
- » [jawsscripts] Re: key pressed event
Hi,How can I make a hot key first either run its script or if there is know script then send it through to the application? I have some code here that I want executed once the key has either gone through to the application or called its script.
I am using the KeyPressedEvent function. Thanks, -- Daniel Dalton
- [jawsscripts] Re: key pressed event
- From: Daniel Dalton
- [jawsscripts] Re: key pressed event
- From: Doug Lee
- [jawsscripts] key pressed event
- From: Daniel Dalton