MerkurAlex Posted July 7, 2007 Share Posted July 7, 2007 (edited) well i ask to many questions so im just gonna make one topic for my questions also if you need a simple example code or help on something simple post and ill do my best to helpmy current questions:--------------------------------------------------Easy question i just cont figure it outhow do i check if a variable is 1 or greater? Edited July 8, 2007 by EagleClaw [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 Added another question its easy im just not thinking straight thanks.. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
Generator Posted July 8, 2007 Share Posted July 8, 2007 Try this? Cannot test it.... Do For $i = 9 To 165 if _ispressed(73) then $recording=false winsettitle($form1,"",$title) EndIf If _IsPressed(Hex($i)) Then $Hex = Hex($i , 2) addtext(@crlf) ;send("{backspace}") if $hex="41" then addtext("send(a)") if $hex="42" then addtext("send(cool.gif") if $hex="43" then addtext("send©") if $hex="44" then addtext("send(d)") if $hex="45" then addtext("send(e)") if $hex="46" then addtext("send(f)") if $hex="47" then addtext("send(g)") if $hex="48" then addtext("send(h)") if $hex="49" then addtext("send(i)") if $hex="4A" then addtext("send(j)") if $hex="4b" then addtext("send(k)") if $hex="4c" then addtext("send(l)") if $hex="4d" then addtext("send(m)") if $hex="4e" then addtext("send(n)") if $hex="4f" then addtext("send(o)") EndIf Next until $recording=false By the way adjust the number from 0-165, it's the range of key you want to detect. Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 Try this? Cannot test it.... Do For $i = 9 To 165 if _ispressed(73) then $recording=false winsettitle($form1,"",$title) EndIf If _IsPressed(Hex($i)) Then $Hex = Hex($i , 2) addtext(@crlf) ;send("{backspace}") if $hex="41" then addtext("send(a)") if $hex="42" then addtext("send(cool.gif") if $hex="43" then addtext("send©") if $hex="44" then addtext("send(d)") if $hex="45" then addtext("send(e)") if $hex="46" then addtext("send(f)") if $hex="47" then addtext("send(g)") if $hex="48" then addtext("send(h)") if $hex="49" then addtext("send(i)") if $hex="4A" then addtext("send(j)") if $hex="4b" then addtext("send(k)") if $hex="4c" then addtext("send(l)") if $hex="4d" then addtext("send(m)") if $hex="4e" then addtext("send(n)") if $hex="4f" then addtext("send(o)") EndIf Next until $recording=false By the way adjust the number from 0-165, it's the range of key you want to detect.that doesnt work ethier and i know what the numbers do [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
Generator Posted July 8, 2007 Share Posted July 8, 2007 that doesnt work ethier and i know what the numbers doMaybe you should post the func addtext Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 (edited) Files removed problem fixed Edited July 8, 2007 by EagleClaw [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 (edited) i kinda figured it out dunno how to fix it though ok so if i put find keys before the mouse find thing the keys work and the mouse part doesnt help?? sorry if it seems like im begging i did try EDIT:i also have another question when i press a and i have the textbox selected it adds send("a") then it adds the letter A how do i remove the letter A at the end? Edited July 8, 2007 by EagleClaw [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
Generator Posted July 8, 2007 Share Posted July 8, 2007 i kinda figured it out dunno how to fix it though ok so if i put find keys before the mouse find thing the keys work and the mouse part doesnt help?? sorry if it seems like im begging i did tryEDIT:i also have another question when i press a and i have the textbox selected it adds send("a") then it adds the letter A how do i remove the letter A at the end?If you are really into making Marcos, take a look at Toady's Marcogamer. Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 (edited) If you are really into making Marcos, take a look at Toady's Marcogamer.thats cool i might get a couple ideas and look at the source code but i really was planning on making my own.EDIT:oh and my outputs autoit code to its just the way i wanted one so thats how im doing it its not just gonna be a macro maker to its gonna have alot more features soo yea i just need to figure out whats wrong im about to try something now ill let you know how it goesAND voila fixed it! Edited July 8, 2007 by EagleClaw [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 sigh new question sadly... [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2007 Author Share Posted July 8, 2007 Only one question left... [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] 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