Ninjataktikz Posted April 12, 2013 Share Posted April 12, 2013 Hi Guys,The person who release this script has a working exe copy but for some reason I cannot make a exe from the code he released.I am trying to change the key that is use to execute the script in game and also some of the wording in message. But some reason everytime I try to right click and compile to 32 bit I get this error.and when I double click the same actual au3 file I get this error.Here is the code:expandcollapse popup#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases_ #InstallKeybdHook ; SendMode, Play #UseHook ;SetKeyDelay, 5, 5 SetKeyDelay, 0, 0, Play SendMessage(message, sleepduration = 2, block = true) { if WinActive("ahk_class RiotWindowClass") { ; Make sure that we dont accidentally send something in all chat. GetKeyState, state, Shift if state = D { KeyWait, Shift } GetKeyState, state, Control if state = D { KeyWait, Control } if (block == true) { BlockInput, On } SendPlay, {Enter} Sleep, %sleepduration% SendPlay, %message% Sleep, %sleepduration% SendPlay, {Enter} if (block == true) { BlockInput, Off } } } $F10:: SendMessage("/all GGGGGGG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GG", 1, false) SendMessage("/all GG", 1, false) SendMessage("/all GG GGGGG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GGGGGGG", 1, false) SendMessage("/all GGGGGGG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GG", 1, false) SendMessage("/all GG", 1, false) SendMessage("/all GG GGGGG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GG GG", 1, false) SendMessage("/all GGGGGGG", 1, false) returnHelp is highly appreciated. Thank You. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 12, 2013 Developers Share Posted April 12, 2013 Try coding it in autoit3 syntax in stead of autohotkey will do wonders. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Ninjataktikz Posted April 12, 2013 Author Share Posted April 12, 2013 Try coding it in autoit3 syntax in stead of autohotkey will do wonders.O.M.G. I did not even realise that it was written in Auto Hot Key and not in AutoIT. Sorry I am new to this stuff. Well I guess that sucks because I don't know AutoIT at all so converting this would be challenging. Link to comment Share on other sites More sharing options...
Mechaflash Posted April 12, 2013 Share Posted April 12, 2013 O.M.G. I did not even realise that it was written in Auto Hot Key and not in AutoIT. Sorry I am new to this stuff. Well I guess that sucks because I don't know AutoIT at all so converting this would be challenging.This is going out on a limb... but have you tried the AutoHotkey forums? XD Spoiler “Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.” Link to comment Share on other sites More sharing options...
Ninjataktikz Posted April 12, 2013 Author Share Posted April 12, 2013 This is going out on a limb... but have you tried the AutoHotkey forums? XDWell I just used AutoHotKey now instead of converting this to AutoIT. I have this working. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 12, 2013 Moderators Share Posted April 12, 2013 Shocker! "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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