Redeven Posted January 28, 2009 Share Posted January 28, 2009 Can anyone help me with this? I've tried editing a bunch of stuff, but I keep coming up with this error. Here's the code. Btw, it's a code for a game. CODE#NoEnv #SingleInstance force #InstallKeybdHook #Persistent Suspend, Off HotKey ~LButton, AutoCl, On UseErrorLevel ;LBUTTON HOTKEY HotKey ~^LButton, AutoCl, On UseErrorLevel ;CTRL + LBUTTON HOTKEY Overall_Speed = 50 $*~Pause:: Suspend, Toggle SoundBeep, 500, 200 RETURN $Scrolllock::ExitApp AutoCl: WinGet , szProcessName, ProcessName, A If szProcessName = BF2142.exe { Loop { if (GetKeyState("LButton", "P") = 0) { Break } Else { Sleep %Overall_Speed% RControl(0,1) } } } RETURN RControl(X,Y) { } DllCall("mouse_event", uint, 1, int, X, int, Y, uint, 0, int, 0) Link to comment Share on other sites More sharing options...
sandin Posted January 28, 2009 Share Posted January 28, 2009 this is help forum for AutoIt scripts, and that's... not AutoIt script... Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Tomb Posted January 28, 2009 Share Posted January 28, 2009 that looks like autohotkey, defenitely not autoit though. Link to comment Share on other sites More sharing options...
Redeven Posted January 28, 2009 Author Share Posted January 28, 2009 I see, no wonder why it isn't working. Is there any possible way to get it to work in AutoIt then? Link to comment Share on other sites More sharing options...
zero57 Posted January 28, 2009 Share Posted January 28, 2009 (edited) Can anyone help me with this? I've tried editing a bunch of stuff, but I keep coming up with this error.Here's the code. Btw, it's a code for a game.CODE#NoEnv#SingleInstance force#InstallKeybdHook#PersistentSuspend, OffHotKey ~LButton, AutoCl, On UseErrorLevel ;LBUTTON HOTKEYHotKey ~^LButton, AutoCl, On UseErrorLevel ;CTRL + LBUTTON HOTKEYOverall_Speed = 50 $*~Pause::Suspend, ToggleSoundBeep, 500, 200RETURN$Scrolllock::ExitAppAutoCl:WinGet , szProcessName, ProcessName, AIf szProcessName = BF2142.exe {Loop{if (GetKeyState("LButton", "P") = 0){Break}Else{Sleep %Overall_Speed%RControl(0,1) }}}RETURNRControl(X,Y){}DllCall("mouse_event", uint, 1, int, X, int, Y, uint, 0, int, 0)This isn't a gamers forum... Plus this isn't even Autoit....-------------------------------------------------------zero57 !!!!!!!!!! !!!!!!!!!!! ;) Edited January 28, 2009 by zero57 [font="Arial Black"][u]zero57[/u][/font] Link to comment Share on other sites More sharing options...
Redeven Posted January 28, 2009 Author Share Posted January 28, 2009 All right, thanks for replying anyway, I'll go look somewhere else then. Link to comment Share on other sites More sharing options...
jvanegmond Posted January 28, 2009 Share Posted January 28, 2009 If you could translate it into AutoIt code, and I don't see why you couldn't, then it would work with AutoIt. Alternatively, you can try and get one of the AutoIt forum members to do it for you. @zero57, drugs are bad man. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Redeven Posted January 28, 2009 Author Share Posted January 28, 2009 Well, I doubt anyone has that much time on their hands to translate this script. Plus I don't know any forum members here, lol. Link to comment Share on other sites More sharing options...
Tomb Posted January 28, 2009 Share Posted January 28, 2009 If you could translate it into AutoIt code, and I don't see why you couldn't, then it would work with AutoIt. Alternatively, you can try and get one of the AutoIt forum members to do it for you.@zero57, drugs are bad man.indeed. put mouse over this text for secret message. 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