Jump to content

Number sign?


Recommended Posts

For some reason I can't get my script to actually write in a # sign.

HotKeySet("{NUMPAD1}", "_AddFirst")
HotKeySet("{NUMPAD2}", "_AddSecond")
HotKeySet("{NUMPAD3}", "_AddThird")

While 1
   
WEnd

Func _AddFirst()
    Send("{BACKSPACE 6}")
    Send("*")
    Send("[[")
    Send("{DOWN}")
    Send("{RIGHT 3}")
EndFunc

Func _AddSecond()
    Send("{= 2}")
    Send("{LEFT 3}")
    Send("{= 2}")
    Send("{LEFT 2}")
    Send("{BACKSPACE 7}")
EndFunc

Func _AddThird()
    Send("{BACKSPACE 5}")
    Send("#")
EndFunc

It's in the third one. It'll just do the backspaces but won't put in a number sign.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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