rush4hire Posted August 19, 2005 Share Posted August 19, 2005 (edited) I have a script that is in another language and in that script I want it to open a small application that will simply read a text file and put the contents on the clipboard . so I hit ctrl+v and there is the text. Seems like something that has probably been done before a million times . so someone should have this right ? Meantime I'll keep searching . thx ----------- hehe . im half there !! ClipPut ( "value" ) n it works !! yay !! now i gotta get the text from the file. Edited August 19, 2005 by rush4hire Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
rush4hire Posted August 19, 2005 Author Share Posted August 19, 2005 Thx larry I got it. $file = FileOpen("CopyXfer.txt", 0) If $file = -1 Then MsgBox(0, "Error", "This application is only for the bot to use. It simply copies text so you can paste it.") Exit EndIf $line = FileReadLine($file) ClipPut ( $line ) FileClose($file) this program rocks !!! Stupid vbs makes you do all kinds of wacky things to get around it's limitations . you can't put stuff on clipboards with vbs . but this application can and vbs can write to file and hit an exe Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
w0uter Posted August 19, 2005 Share Posted August 19, 2005 autoit can DO ANYTHING (even more then) vbs can. since autoit can use the ScriptControl object to call vbs directly My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now