Jump to content
Sign in to follow this  
kungfu

control send question

Recommended Posts

kungfu

ControlSend("Guild Wars","","","^v")

for some reason, when i say ControlSend("Guild Wars","","","{ENTER}"), it works, but if i try to do cntrl v, it doesnt want to work. also i'm getting my thing with a v at the end. here's my code:

HotKeySet( "{HOME}", "info")

$text = InputBox("AutoIt Example", "Please type what you want, and click OK")

If @error = 1 Then

MsgBox(4096, "Error", "You pressed 'Cancel' - try again!")

Else

$bLoop = 0

EndIf

$text = $text()

func info()

send($text())

send("{ENTER}")

EndFunc

while 1

sleep(5000)

ControlSend("Guild Wars","","","{ENTER}")

ControlSend("Guild Wars","","","^v")

ControlSend("Guild Wars","","","{BACKSPACE}")

ControlSend("Guild Wars","","","{ENTER}")

sleep(random(10000,20000))

WEnd

any ideas?

Share this post


Link to post
Share on other sites
FireFox

@kungfu

ClipGet()

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
iHonda

ur the reason i go nuts in game... lol

but anyway

$bLoop = 0

whats the point of that line? you dont increase it or use it any where from what i can see

Edit: if you need help with a spam bot feel free to PM me I've made one before.

peace

Z

Edited by Zmaster

A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites
kungfu

@FireFox...

Never heard of it lol...thanks :) I'll check it out

@Zmaster

uhh, that was from me trying different techniques, and me forgetting to delete it lol. thanks

Also, whats your IGN?

Share this post


Link to post
Share on other sites
kungfu

@kungfu

ClipGet()

Cheers, FireFox.

I tried to get the clip, by saying this

"{^v}" = ClipGet()

while 1

sleep(5000)

ControlSend("Guild Wars","","","{ENTER}")

ControlSend("Guild Wars","","",ClipGet())

ControlSend("Guild Wars","","","{ENTER}")

sleep(random(10000,20000))

WEnd

no dice. it got rid of the v at the end, but it still wont send in the game...just hits enter twice

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.