To start a new discussion, join us on Discord. The DontCamp.com read-only forum archives are below.

DontCamp.com
No, but really, you should join us on Discord.

Auto Hotkey Help.

 
   DontCamp.com Forum Index -> Gaming Culture and Industry
View previous topic :: View next topic  
Author Message
Dynamite Dan
Deputy


Joined: 19 Jun 2004
Posts: 4299
Location: Blackburn, Lancashire, UK

PostPosted: Thu Oct 16, 2014 10:21 am    Post subject: Auto Hotkey Help.

Please can somebody help me,

I've tried making a Auto hotkey script to help with my Minecraft'ing.

All I want it to do is on the press of a button. emulate the constant pressing of the Up arrow and Mouse 1, untill I press said button again which will stop it.

However, my knowledge of script writing is very, VERY limited and i have forgot most of which NT showed me with his excelent Auto seeder.

can anybody help me?
NTolerance
Administrator


Joined: 13 Jul 2005
Posts: 1044

PostPosted: Thu Oct 16, 2014 10:55 am    Post subject:

Sure, post the script!
Dynamite Dan
Deputy


Joined: 19 Jun 2004
Posts: 4299
Location: Blackburn, Lancashire, UK

PostPosted: Thu Oct 16, 2014 1:02 pm    Post subject:

I've got this so far

Mouse4::Send % "{Click " . ( GetKeyState("LButton")("Up Arrow key") ? "Up}" : "Down}" )


I have taken a script I found and tweaked it to add the up arrow command.

Hopefully, a press of my Mouse 4 button should start pressing mouse 1 and up arrow for me, until i press mouse 4 again.
NTolerance
Administrator


Joined: 13 Jul 2005
Posts: 1044

PostPosted: Thu Oct 16, 2014 2:56 pm    Post subject:

What does it do as is? I don't have a Windows computer handy at the moment, but if you let me know what is broken about it I can make some suggestions.