Sign in to follow this  
Followers 0
sandals

ControlSend without "typing effect"

18 posts in this topic

Good evening, im start to learn AutoIt, and i have question about ControlSend function.

First, sorry for my english, im from Ukraine :unsure:

When i try to send string to Notepad, it work correctly - function send string with text without "typing effect".

So, when i use function to send string in games, inputs on flash-sites, etc (like this: Imageshack)... i have this "typing effect".

How i can use function to send string without "typing effect" in any game? (for example).

Alex

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

YouTube

How i can send this string like paste? (i know about "^v" and "+{ins}" - this not work for me, when i choose russian language i get symbols!)

Edited by sandals

Share this post


Link to post
Share on other sites

Try ClipGet.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Thank you, Bruce, but i say above, what if i use russain language sometimes i get "???? ???? ???" :unsure:

How about this? Any ideas?

Share this post


Link to post
Share on other sites

I don't know what to say, except "I don't know".:unsure: I'm sure someone here can help you though. Good luck.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Oh, if good autoiter say "i don't know", this be hard to find answer!

Edited by sandals

Share this post


Link to post
Share on other sites

Have a look at the opt stuff, you could decrease the time between sending.

Or try using ControlSetText.

Besides, please do not use Autoit for creating bots.


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Have a look at the opt stuff, you could decrease the time between sending.

Or try using ControlSetText.

Besides, please do not use Autoit for creating bots.

Thank for idea with ControlSetText! I know about Opt(SendKeyDelay) - it works, but no always correctly. Maybe exist UDF, but im not sure. (I bad know english, when i try to search, i cant understand 70% messages)

I try to use ControlSetText, and send reply with results!

I no try to create bot, i use AutoIt for automatization to start applications, login to games, etc... I not breaking AutoIt rules :unsure:

Share this post


Link to post
Share on other sites

Ok, i test ControlSetText, it works, but no everywhere. Somybody have ideas?

I need help!

Share this post


Link to post
Share on other sites

Ok, close topic, nobody dont know how to make it. Thank for help!

Share this post


Link to post
Share on other sites

No, maybe you not understand me :unsure:

Why close this topic:

1. I no have ideas how to make this (i need AutoHotKey SendRaw function analog.).

2. Very good scripters can't help me - for me this mean, what this is hard to make.

3. Later i try ask peoples for UDF. (maybe somebody make it).

4. Or i use ControlSend:)

Share this post


Link to post
Share on other sites

What can you do? Sometimes it's just too hard.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

2. Very good scripters can't help me - for me this mean, what this is hard to make.

I do hope you're not referring to your reply to an earlier post of mine. So now I'm in the Very good scripters class? I'm not. And don't let my lack of knowledge in a certain area be a deciding point here. :unsure:


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

I found a little function, but it not work too.

;Author: CreatoR  
Func _SendEx($sString)     
Local $sOld_Clip = ClipGet()
     ClipPut($sString)
     Sleep(10)
     Send("+{INSERT}")
     ClipPut($sOld_Clip) 
EndFunc

But it not work too. I try to send string to game window. Scr: Imageshack

Edited by sandals

Share this post


Link to post
Share on other sites

sandals,

I try to send string to game window

Please read this. :unsure:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0