Simon,
Is this what you need?
http://www.autohotkey.com/docs/commands/MouseClickDrag.htm
You can use event like this as well apparently:
SendEvent {Click 6, 52, down}{click 45, 52, up}
see http://www.autohotkey.com/docs/commands/Click.htm for explanation of
'click' - relative moves also possible...
Neel.
On 08/12/2009 14:00, Judge Simon (Barnsley Hospital NHS Foundation
Trust) wrote:
> Hi all,
>
> One of my clients has come across a very specific bug and I am a) looking for a bit of help b) posting this to alert others to this.
>
> My client uses Dragon and also Dwell Clicker Software with a head mouse. He (wants to) play 'Football Manager' - a PC based game. He reported to me that he was not able to click into Football Manager using Dragon, or his Dwell Click software. When I tested this, I found the same - although, occasionally and sporadically, a click would work. All the drag-clicking software I tested had the same bug.
>
> I managed to fix this with a small macro in AutoHotKey [1] to essentially swap the clicking method.
>
> This is the AHK description of the different methods: http://www.autohotkey.com/docs/commands/SendMode.htm - Football manager works with EVENT, not INPUT methods. I'm not entirely sure about the difference between methods though.
>
> 1) Anyone come across this before? Are there any other fixes?
> 2) I now need to work out how to let him drag - any ideas on how to change the macro to do this (being lazy in asking before I try and experiment with getting it to work!).
>
> (sorry for cross posting, I've had no joy elsewhere)
>
> Cheers,
>
> Simon
>
> [1]
> SendMode Event
> LButton::Click
>
> Senior Clinical Scientist
> Assistive Technology Team
>
> [log in to unmask]
> 01226 432159
>
> www.barnsleyrd.nhs.uk
>
> Dept of Medical Physics
> Block 14
> Barnsley District General Hospital Foundation Trust Gawber Road Barnsley
> S75 2EP
>
>
>
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSI recipients NHSmail provides an email address for your career in the NHS and can be accessed anywhere For more information and to find out how you can switch, visit www.connectingforhealth.nhs.uk/nhsmail
>
> ********************************************************************************************************************
>
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSI recipients
> NHSmail provides an email address for your career in the NHS and can be accessed anywhere
> For more information and to find out how you can switch, visit www.connectingforhealth.nhs.uk/nhsmail
>
> ********************************************************************************************************************
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
|