AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

@ sign

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
netdoc



Joined: 17 Mar 2008
Posts: 1
Location: Wisconsin

PostPosted: Mon Mar 17, 2008 11:10 pm    Post subject: @ sign Reply with quote

Thanks for all your suggestions. So far it seems like {raw} seems to be working fine. I will keep trying it and see what happens over time.

I am a quadriplegic and have been using AutoHotkey for over a year now. I love the program and up until recently it has been working almost flawlessly.
I use a program extensively for two key commands. I'm running Windows Vista since November. I also use Sticky Keys in conjunction with AutoHotkey.
A few weeks back I started having trouble. I wasn't sure whether it was sticky keys are AutoHotkey. I'm still not positive but I think it's AutoHotkey.

Here is the string I use to enter my e-mail address:
#f2::Send Me@il.rr.com

It will work well for awhile then suddenly I start getting things like Me@IL>RR>COM.

After that my shift key is locked and I have to reboot the computer. If I stop sticky keys the problem does not go away. My shift key is still locked. That also affects my mouse operations because I highlight text I don't mean to.

Although I'm not certain if this has any impact but a short time ago I also started using Microsoft Office Standard 2007. I got that free from Microsoft for writing an evaluation of their Speech Recognition software that is included in Vista. This is a full working copy and not a trial copy. I do a lot with speech recognition but I do not use it for AutoHotkey macros. For AutoHotkey I press and release the Windows key then the F2 key.

I guess it's possible that an update from Microsoft Windows Updater around that time could also have caused the problem. Because of my paralysis it's kind of hard to experiment with a lot of different things.

If you have any ideas I would appreciate your feedback.
Thanks,
Mike


Last edited by netdoc on Tue Mar 18, 2008 9:25 pm; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Mon Mar 17, 2008 11:15 pm    Post subject: Reply with quote

Try using {Raw} just before the @ symbol.
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 722
Location: Florida

PostPosted: Tue Mar 18, 2008 1:45 am    Post subject: Reply with quote

Just to be safe, it would be best to edit your post to include a fake email address, since spam bots aren't your friend (if you did use a real one). If {raw} doesn't work for you, you can also (as long as you don't mind losing your clipboard) do this:
Code:
;In autoexec:
Email_Address=myemail@server.com
;...
#f2::
Clipboard:=Email_Address
Send, ^v
Return
Or, to keep (usually) your clipboard:
Code:
;In autoexec:
Email_Address=myemail@server.com
;...
#f2::
ClipboardSaved:=ClipboardAll
Clipboard:=Email_Address
Send, ^v
Clipboard:=ClipboardSaved ;I *think* that's how it works, but untested
Return


As an aside, you may want to do a simple test script to check the keystate of {Shift} when it's 'stuck' and see if sending a {shiftup} will fix it. HTH
_________________
[Join IRC!]


Last edited by Rhys on Tue Mar 18, 2008 1:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
ManaUser



Joined: 24 May 2007
Posts: 901

PostPosted: Tue Mar 18, 2008 1:51 am    Post subject: Reply with quote

Odd problem, because I don't think @ has any special meaning to AutoHotkey.
Back to top
View user's profile Send private message
Trikster



Joined: 15 Jul 2007
Posts: 1159
Location: Enterprise, Alabama

PostPosted: Tue Mar 18, 2008 1:58 am    Post subject: Reply with quote

It works just fine for me. Are you sure you're pressing the correct hotkeys?
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 722
Location: Florida

PostPosted: Tue Mar 18, 2008 2:45 am    Post subject: Reply with quote

I'm guessing you guys aren't also using stickykeys - It sounds like that may be (partially) to blame here - Without access to the PC and full script, it's tough to say exactly what the problem is...
_________________
[Join IRC!]
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2558
Location: Australia, Qld

PostPosted: Tue Mar 18, 2008 6:23 am    Post subject: Reply with quote

Usually Ctrl+Alt+Delete cures "stubborn keys." I have to use it occasionally when dealing with administrative programs, since I don't run my scripts with elevated privileges. (User Interface Privilege Isolation interferes...)
Rhys wrote:
see if sending a {shiftdown} will fix it.
I hope you mean {Shift Up}. Wink
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 722
Location: Florida

PostPosted: Tue Mar 18, 2008 1:17 pm    Post subject: Reply with quote

Lexikos wrote:

Rhys wrote:
see if sending a {shiftdown} will fix it.
I hope you mean {Shift Up}. Wink
Yikes - I fixed my original post... Thanks!
_________________
[Join IRC!]
Back to top
View user's profile Send private message
razlin1
Guest





PostPosted: Tue Mar 18, 2008 8:12 pm    Post subject: Reply with quote

I had that problem with keys staying stuck as well and like Rhyn suggested. I added

send {shift up}
send {ctrl up}
send {alt up}
send {win up}

at the end of my scripts in question just in case
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group