UnknownWarrior Posted March 21, 2006 Share Posted March 21, 2006 I actually made a great program for a game i play, but im still in the noob and expert range lol. Can anyone tell me the exact code for ctrl up and ctrl down? i found it in autoit help but dont know how to code it with the Send function Link to comment Share on other sites More sharing options...
RazerM Posted March 21, 2006 Share Posted March 21, 2006 It's like this: Send("^{DOWN}") My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 21, 2006 Moderators Share Posted March 21, 2006 It's like this: Send("^{DOWN}")Ctrl and the Down Arrow? Or Ctrl (Hold Down/Up)?Send('{CTRLDOWN}') Sleep(5000) Send('{CTRLUP}') Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
seandisanti Posted March 21, 2006 Share Posted March 21, 2006 Ctrl and the Down Arrow? Or Ctrl (Hold Down/Up)?Send('{CTRLDOWN}') Sleep(5000) Send('{CTRLUP}')i think you got it smoke,i read it the same way Link to comment Share on other sites More sharing options...
UnknownWarrior Posted March 21, 2006 Author Share Posted March 21, 2006 (edited) Ctrl and the Down Arrow? Or Ctrl (Hold Down/Up)?Send('{CTRLDOWN}') Sleep(5000) Send('{CTRLUP}') Eg i swore i did that exactly, thx anyways Hey if this wouldnt be too hard could someone also post the code to... Example : I play this game i making the program for, i want to have the macro keep going on the game screen but i want to look around on firefox, how would u code that? :s Ive looked on autoit help html, but all i could find is winminizmed that might ahve been right but i didnt think so Edited March 21, 2006 by UnknownWarrior Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 21, 2006 Moderators Share Posted March 21, 2006 I wouldn't Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
seandisanti Posted March 21, 2006 Share Posted March 21, 2006 I wouldn't nice. Link to comment Share on other sites More sharing options...
UnknownWarrior Posted March 21, 2006 Author Share Posted March 21, 2006 nice.Lol wtf? But seriously can you help me out here Link to comment Share on other sites More sharing options...
seandisanti Posted March 21, 2006 Share Posted March 21, 2006 Lol wtf? But seriously can you help me out here the thing is in order to fully automate the interaction with the game, you need to be able to use control sends / clicks, which typically isn't an option with games as most don't have standard controls to interact with. or you could try the com route (not likely for a game either), or DLL calls to send things to that window, but i personally don't know how to do that, and i don't think you should hold your breath waiting on someone to make a solution like that for you, because it probably won't happen. almost definitely won't happen if you don't post some code as a show of an attempt to do it yourself. Link to comment Share on other sites More sharing options...
UnknownWarrior Posted March 22, 2006 Author Share Posted March 22, 2006 If BitAND(GUICtrlRead($Checkbox_1), $GUI_CHECKED) = $GUI_CHECKED Then WinGetText("[blah]", "balhblah!") MouseClick("right", 512, 354, 10) EndIf Any help? I want the MouseClick("right", 512, 354, 10) to start once it says the text in the game window , i cant get it to work any help guys? 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