Jump to content

Sending an instant text!


Recommended Posts

"Send" command is typing fast but i want the text appear instantly.

I tried "opt("SendKeyDelay", -1 )" but i couldn't see much difrence.

Then, I tried this :

hotkeyset("{pgdn}","bok")

func bok()
ControlSetText("", "", "", "TEXTtextTEXTtext" )
endfunc

while(1)
wend

When i open a notpad and press the pagedown button which runs the func, the text appears. And other Windows blanks it appears. But on firefox and other applications like this, it does nothing when i press the key on a blank.

Is there any other way to type the text instantly?

Link to comment
Share on other sites

You can ClipPut() the text into the clipboard and then paste it where you want it.

If you choose to do so it's best to first save the original contents of the clipboard and restore them afterwards.

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...