input keys such enter and arrow keys not working?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ravena1
Posts: 62
Joined: 06 Sep 2017, 15:13

input keys such enter and arrow keys not working?

Post by ravena1 » 24 Jan 2022, 02:56

I'm using adegard's macro recorder https://github.com/adegard/AHK_SCRIPTS
this is the only recording macro that works for me, (sadly pulover's recording macro dont work for me) so adegard macro recorder all are working fine except recording
"enter" and "arrow keys", it will leaves { } blank resulting my macro error, the creator seems long gone and he dont bother to fix it

i think it has something wrong with input function, can someone help me


inside recorde_keys.ahk

Code: Select all

whatfile :="macro.ahk"

   Loop,
   {
	  Input, Var, L1 V E, {LButton},{enter}
	  
	  text:="`nSend {" Var "}`n"  
	  text2:="Sleep, " 20 "`n"
	  
	  	FileAppend, 
		(
		 %text%
		 %text2%
		), %whatfile% 

   }

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: input keys such enter and arrow keys not working?

Post by amateur+ » 24 Jan 2022, 03:37

Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

Post Reply

Return to “Ask for Help (v1)”