TwistedMind Posted August 14, 2009 Share Posted August 14, 2009 Is it even posible to make such a script which will work in game? thanks Link to comment Share on other sites More sharing options...
Yashied Posted August 14, 2009 Share Posted August 14, 2009 Not a good start. Answer: Yes. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
TwistedMind Posted August 14, 2009 Author Share Posted August 14, 2009 (edited) Not a good start.i am sorry if i did something wrong. what would be a good start?Answer: Yes.could you please help me create and use such script?my programming expirience is pretty low. basic stuff. i think i generaly know how the script should look like but this is the first time i am using autoit so specific command lines are mistery to me. Edited August 14, 2009 by TwistedMind Link to comment Share on other sites More sharing options...
Yashied Posted August 14, 2009 Share Posted August 14, 2009 This and this is a good start. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
TwistedMind Posted August 14, 2009 Author Share Posted August 14, 2009 i already tried seardhing the forum for solution, but without luck. online documentation is helpful but it won't teach me how to use entire program. i have had a look at it and i do know more than before but it would take me weeks to accomplish what i want. Link to comment Share on other sites More sharing options...
Pantera975 Posted August 14, 2009 Share Posted August 14, 2009 #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 If _IsPressed("11", $dll) Then Do mouseclick("left") sleep(100) until _IsPressed("12", $dll) EndIf WEnd DllClose($dll) Ctrl will start it and alt will stop it. Link to comment Share on other sites More sharing options...
TwistedMind Posted August 14, 2009 Author Share Posted August 14, 2009 that is close to what i need but not exactly that. i need turbo only while i am holding the button. but i could live with something like: #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 If _IsPressed("4", $dll) Then Do mouseclick("middle") sleep(100) until _IsPressed("4", $dll) EndIf WEnd DllClose($dll) i know this won't work, it is only example Link to comment Share on other sites More sharing options...
qazwsx Posted August 14, 2009 Share Posted August 14, 2009 So you want to do something WHILE something ISPRESSED. Link to comment Share on other sites More sharing options...
TwistedMind Posted August 14, 2009 Author Share Posted August 14, 2009 yes. basicly this while mouse3 is pressed loop mouse3 sleep 100 i tried changing pantera's script but no luck. Link to comment Share on other sites More sharing options...
TwistedMind Posted August 15, 2009 Author Share Posted August 15, 2009 (edited) I am sorry for double posting So i finaly did it. I finished the script succesfuly. This script will add a turbo function to any button: #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 While _IsPressed("button", $dll) Do Send ("{button}") sleep(100) until Not _IsPressed("button", $dll) WEnd WEnd DllClose($dll) or to send a mouse click#include <Misc.au3> $dll = DllOpen("user32.dll") While 1 While _IsPressed("button", $dll) Do mouseclick("click") sleep(100) until Not _IsPressed("button", $dll) WEnd WEnd DllClose($dll) Unfortunatly the second version, where you send mosueclick, won't work in game. But since you can asign any game command to any key it is posible to do it with a waste of one key. thank you every one who participated in this topic. AND SPECIAL THANKS TO Pantera975 Edited August 15, 2009 by TwistedMind 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