Jump to content

hotkeyset won't let me go to functions...


Recommended Posts

this is a part of a script I made to record keystrokes and play them back into a game (LIERO if anyone's heard of it)

the syntax check can't find anything, but whenever i try to run the script i get the message "Unknown function name.:

HotKeySet("a",key("a")) "

HotKeySet("{scrolllock}", "terminate")
HotKeySet("a",key("A"))
HotKeySet("b",key("B"))
HotKeySet("c",key("C"))
HotKeySet("d",key("D"))
HotKeySet("e",key("E"))
HotKeySet("f",key("F"))
HotKeySet("g",key("G"))
HotKeySet("h",key("H"))
HotKeySet("i",key("I"))
HotKeySet("j",key("J"))
HotKeySet("k",key("K"))
HotKeySet("l",key("L"))
HotKeySet("m",key("M"))
HotKeySet("n",key("N"))
HotKeySet("o",key("O"))
HotKeySet("p",key("P"))
HotKeySet("q",key("Q"))
HotKeySet("r",key("R"))
HotKeySet("s",key("S"))
HotKeySet("t",key("T"))
HotKeySet("u",key("U"))
HotKeySet("v",key("V"))
HotKeySet("w",key("W"))
HotKeySet("x",key("X"))
HotKeySet("y",key("Y"))
HotKeySet("z",key("Z"))
HotKeySet("{bs}",key("{BACKSPACE}"))
HotKeySet("{tab}",key("{TAB}"))
HotKeySet("{enter}",key("{Enter}"))
HotKeySet("{space}",key(" "))
HotKeySet("{left}",key("{LEFT}"))
HotKeySet("{up}",key("{UP}"))
HotKeySet("{right}",key("{RIGHT}"))
HotKeySet("{down}",key("{DOWN}"))
HotKeySet("{del}",key("{DEL}"))
HotKeySet("0",key("0"))
HotKeySet("1",key("1"))
HotKeySet("2",key("2"))
HotKeySet("3",key("3"))
HotKeySet("4",key("4"))
HotKeySet("5",key("5"))
HotKeySet("6",key("6"))
HotKeySet("2",key("7"))
HotKeySet("8",key("8"))
HotKeySet("9",key("9"))
while True
    sleep(100)
WEnd

Func key($keystore)
    FileWrite("C:\keystore\store." & @UserName & "." & @YEAR & "." & @MON & "." & @MDAY & ".txt", $keystore)
EndFunc

func terminate()
    Exit
EndFunc
Link to comment
Share on other sites

HotKeySet("a","key(A)")

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...