DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Need advice on AHK key remap  (Read 6,328 times)

Harrie

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 83
Need advice on AHK key remap
« on: April 16, 2006, 10:41 AM »
Hi.  One of my board members works in a platform that, for some reason, enters twice when they hit the Enter key once.  So I wanted to make an AHK script to correct that.  It seems that hitting Win key + Enter does the same thing as Enter, so I did this:

Enter::Send #{Enter} 

But A) - I'm not sure, since Enter is messed up for this person, that this combo won't do the same.  I can't really test it properly; works for me but then again, I don't have that problem with the Enter key.

B)  I tried doing it another way, like this:
Send {Enter 1}+{Up}+{Delete}  ; Press Enter once, then arrow up and delete

Which is a disaster because, if you run it while on your Desktop, for instance, it wants to select icons and ask if you want to delete them.  Definite no go there!  <grin>  Plus it seems to delete itself - the script!

I was just wondering if there were some other sure-fire way to do this so that it works for the person.  I am not the brightest bulb in the room when it comes to AHK, and that's a huge understatement.

I hope I put this in the right board section.

Thanks.

« Last Edit: April 16, 2006, 10:56 AM by brotherS »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: Need advice on AHK key remap
« Reply #1 on: April 16, 2006, 10:55 AM »
Hi.  One of my board members works in a platform that, for some reason, enters twice when they hit the Enter key once.
Not that it would help me fixing it, but which OS is that? Something old and buggy like Windows 95 or 98?

Maybe some other DC member can help with your question.
Thank you.

Harrie

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 83
Re: Need advice on AHK key remap
« Reply #2 on: April 16, 2006, 11:01 AM »
Hi, brotherS, thanks for your comment.  Looking at the person's profile, they use XP.  I get the feeling it's the transcription program they work in that's the problem, and that all is fine when not in that app.

noth(a)nk.you

  • More than meets the eye.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 78
Re: Need advice on AHK key remap
« Reply #3 on: April 16, 2006, 03:00 PM »
You could try using the IfWinActive command with your transcription program.

I haven't been able to get it work myself (another dim bulb), but that link above should explain it.

Harrie

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 83
Re: Need advice on AHK key remap
« Reply #4 on: April 16, 2006, 04:35 PM »
Thanks a lot, noth.  I wish I had this program myself to test it on.  I guess I'll let them try my first one, if that doesn't work, we can try IfWinActive. 

Original address: https://www.donationcoder.com/forum/index.php?topic=3228.0