You are either not logged in or not registered with our community. Click here to register.
 
September 28, 2022, 08:18:31 pm

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Platinum Send us your theme!

Request Thread Bumping Policy - Updated

Wiki Blogs Dicebot

Author Topic: Help from someone experienced with autohotkey scripts  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

Offline MiraMirrorTopic starter

  • The Doorminatrix
  • Champion
  • Enchanter
  • *
  • Join Date: Jun 2014
  • Gender: Female
  • Apparently Angie's fangirl
  • View My Rolls
  • Referrals: 0
Help from someone experienced with autohotkey scripts
« on: January 02, 2017, 10:36:25 pm »
Hey, so I'm trying to figure out how to design a script that would more or less act like a hotkey, performing the desire button input at the push of a single button.

For instance, pressing A would simulate pressing Down Down X.

I've been trying to make it myself, but I'm also awful at AHK stuff, so no dice.  This is what I have so far:

SendMode, Input
a::
setkeydelay, 17, 17
sleep, 18
send {down down}{x}
Return

Offline Vekseid

  • Those who expect service must first serve.
  • God
  • Addict
  • *
  • Join Date: Apr 2005
  • Location: Washington
  • Gender: Male
  • The way to a woman's heart is through her tears.
  • View My Rolls
  • Referrals: 20
Re: Help from someone experienced with autohotkey scripts
« Reply #1 on: January 03, 2017, 10:36:18 pm »
I think you need a comma after send.

Code: [Select]
^j::
   Send, {down}{down}{x}
Return

works for me, for example