Sign in to follow this  
Followers 0
Guest spamingfreak

Omg I Really Really Need Help On This One!

10 posts in this topic

how do u make a file that can copy from the windows clipboard and then past it into another application!

my Code

; Prompt the user to run the script - use a yes/no prompt (4 - see help file)

$answer = MsgBox(4, "mega bot", "Click yes ONLY after you have typed your text and then copied it!")

;Send("{CTRLDOWN}") ;press and hold Ctrl down

;Send("{VDOWN}") ;let go of the V button

;Send("{CTRLUP}") ;let go of the ctrl button

;Send("{VUP}") ;let go of the V button

please send me a working code!

Share this post


Link to post
Share on other sites



how do u make a file that can copy from the windows clipboard and then past it into another application!

my Code

please send me a working code!

Your problem, if one can come from the fact that the window you want to send must be active when you send.

I you insert a msgbox the previous window loose the focus and I am not for sure it will be active when you close the message box.

so safe coding is

WinWaitActive("the windows you want to send info",...

Send(...

In fact there is a way in the AutoIt3 which allow you to send to an inactive window provided you know more information about it

Just read the doc about ControlSend.

I hope that help :whistle:

Share this post


Link to post
Share on other sites

OMG! I am soooooo mad! IT STILL DOESN'T WORK!

cant some one just send me a code that doesn't just shutdown! I want a WORKING code!

and the help file is useless! :whistle:B):angry::evil::lmao::P:(

sorry maybe I wasnt clear on what I said.

I need a CODE that WORKS and can get text from the Window's Clipboard and send the coad to a full screen application (not windowed) If you can make one then please send it to  hellsPRN@gbsecurity.zzn.com

O and dont forget to say hi. ;)

Share this post


Link to post
Share on other sites

OMG! I am soooooo mad! IT STILL DOESN'T WORK!

cant some one just send me a code that doesn't just shutdown! I want a WORKING code!

and the help file is useless!  B)  :angry:  :evil:  :lmao:  :P  :(  ;)

O and dont forget to say hi.  ;)

; provided you have what you want in the clipboard before statring the script
Run( your application)
WinwaitActive("title of you application")
Send("^v")

I can't help you more, you should describe what is happening with which script you get trouble. :whistle:

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Sample code that opens notepad, types in some text, highlights and copies it, then closes notepad, asks your question, and then opens notepad and pastes it in from windows clipboard.

Run("notepad.exe"); opens notepad
WinWaitActive("Untitl"); waits till notepad is open to blank document
send("la la la I am text"); Type in useless text
sleep(2000); time to let you see text is there
send("{shiftDOWN}"); hold down shift
send("{home}"); move to left
send("^c"); copy
send("{shiftUP}"); release the shift key
winclose("Untitl"); close up notepad
sleep(500)
controlclick("Notepad","The text in","Button2","Left",1); click do not save button
MsgBox(4, "mega bot", "Click yes and I will reopen notepad and type your text we copied into it!") 
Run("notepad.exe")
WinWaitActive("Untitl")
WinSetTitle ("Untit","","Ok, now I will paste clipboard into this window") 
send(clipget()); sends clipboard contents

edit... are you using Win95a and an old release of autoit3?

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

no I need one that allwos me to copy what I want on to the clip board then allows me to past it into a game chat. then automaticlly sends it with the enter key. and can repeet its self at my will, like when I press ctrl D to do the entire prosses again. and closes when I press alt I.

Share this post


Link to post
Share on other sites

P.S. I'm spamingfreak. but my brother stuffed up my Internet connection and I cant access SSL authencation like hotmail or netscape.

Share this post


Link to post
Share on other sites

if you are running WinXP or Win2000, or WinNT, you might have a chance in most games. WinME, Win98, Win95 have less functionality due to Microsoft limitations in games.

run this, and hit the pause key to send clipboard contents in any application

HotKeySet("{PAUSE}", "sendtext"); waits till pause key is typed to send
tooltip("Send clipboard by hitting pause",0,0)
while 1
sleep (500)
wend

func sendtext()
send(clipget(),1); send what you copied
send("{enter}"); you asked for it to send enter
endfunc

if you copy returns, they will send enter as well you can remove them if needed.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

ty scriptkitty that really worked well! thank you so much :whistle:

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