program builder Posted January 30, 2008 Author Posted January 30, 2008 You owe the AutoIt website $5. I understand what the general problem is now... The OP had a hotkey but he wanted to send the same key into notepad. This: send("{shiftdown}{capslock}{m}{shiftup}{capslock}")Seems to of solved the problem... So when program_builder said this: He was right.... I explained in a prior post how to unset a hotkey... I can do it without unseting the hotkey. that is the intire point. don't believe me here is the code. HotKeySet( "a", "_a") HotKeySet( "b", "_b") HotKeySet( "c", "_c") HotKeySet( "d", "_d") HotKeySet( "e", "_e") HotKeySet( "f", "_f") HotKeySet( "g", "_g") HotKeySet( "h", "_h") HotKeySet( "i", "_i") HotKeySet( "j", "_j") HotKeySet( "k", "_k") HotKeySet( "l", "_l") HotKeySet( "m", "_m") HotKeySet( "n", "_n") HotKeySet( "o", "_o") HotKeySet( "p", "_p") HotKeySet( "q", "_q") HotKeySet( "r", "_r") HotKeySet( "s", "_s") HotKeySet( "t", "_t") HotKeySet( "u", "_u") HotKeySet( "v", "_v") HotKeySet( "w", "_w") HotKeySet( "x", "_x") HotKeySet( "y", "_y") HotKeySet( "z", "_z") HotKeySet( "{enter}", "_enter") while 1 sleep(999999) wend Func _a () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{a}{shiftup}{capslock}") endif EndFunc;==>_Open Func _b () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{b}{shiftup}{capslock}") endif EndFunc;==>_Open Func _c () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{c}{shiftup}{capslock}") endif EndFunc;==>_Open Func _d () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{d}{shiftup}{capslock}") endif EndFunc;==>_Open Func _e () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{e}{shiftup}{capslock}") endif EndFunc;==>_Open Func _f () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{f}{shiftup}{capslock}") endif EndFunc;==>_Open Func _g () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{g}{shiftup}{capslock}") endif EndFunc;==>_Open Func _h () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{h}{shiftup}{capslock}") endif EndFunc;==>_Open Func _i () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{i}{shiftup}{capslock}") endif EndFunc;==>_Open Func _j () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{j}{shiftup}{capslock}") endif EndFunc;==>_Open Func _k () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{k}{shiftup}{capslock}") endif EndFunc;==>_Open Func _l () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{l}{shiftup}{capslock}") endif EndFunc;==>_Open Func _m () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{m}{shiftup}{capslock}") endif EndFunc;==>_Open Func _n () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{n}{shiftup}{capslock}") endif EndFunc;==>_Open Func _o () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{o}{shiftup}{capslock}") endif EndFunc;==>_Open Func _p () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{p}{shiftup}{capslock}") endif EndFunc;==>_Open Func _q () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{q}{shiftup}{capslock}") endif EndFunc;==>_Open Func _r () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{r}{shiftup}{capslock}") endif EndFunc;==>_Open Func _s () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{s}{shiftup}{capslock}") endif EndFunc;==>_Open Func _t () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{t}{shiftup}{capslock}") endif EndFunc;==>_Open Func _u () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{u}{shiftup}{capslock}") endif EndFunc;==>_Open Func _v () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{v}{shiftup}{capslock}") endif EndFunc;==>_Open Func _w () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{w}{shiftup}{capslock}") endif EndFunc;==>_Open Func _x () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{x}{shiftup}{capslock}") endif EndFunc;==>_Open Func _y () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{y}{shiftup}{capslock}") endif EndFunc;==>_Open Func _z () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{capslock}{z}{shiftup}{capslock}") endif EndFunc;==>_Open Func _enter () if winactive("MySpace - Microsoft Internet Explorer") then send("{altdown}{f}{c}{altup}") else send("{shiftdown}{enter}{shiftup}") endif EndFunc;==>_Open ;end of script I bet you guys would have never figured that out in a billion years. if you go to www.myspace.com and press any key it will boot you off of the site. I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others. sorry if that pisses you off that i can do things that people said was impossible.
Ármányos Kő Posted January 31, 2008 Posted January 31, 2008 (edited) I can do it without unseting the hotkey. that is the intire point.don't believe me here is the code. ;end of scriptI bet you guys would have never figured that out in a billion years.if you go to www.myspace.com and press any key it will boot you off of the site.I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others.sorry if that pisses you off that i can do things that people said was impossible.So, watching Myspace is allowed? Only typing kicks you off?Or I see that I can use Firefox, Opera, Mozilla, others to TYPE in MySpace. Great, wtf are you trying to do anyway, master? Edited January 31, 2008 by Ármányos Kő
program builder Posted January 31, 2008 Author Posted January 31, 2008 So, watching Myspace is allowed? Only typing kicks you off?Or I see that I can use Firefox, Opera, Mozilla, others to TYPE in MySpace. Great, wtf are you trying to do anyway, master?myspace doesn't have anything to do with it, it's being able to call other functions without unsetting the hotkey with that same key that the hotkey is set under, didn't you read my last post?
Mast3rpyr0 Posted January 31, 2008 Posted January 31, 2008 umm.. not to flame but why the hell would you want a hotkey set on every key... My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here!
Ármányos Kő Posted January 31, 2008 Posted January 31, 2008 myspace doesn't have anything to do with it, it's being able to call other functions without unsetting the hotkey with that same key that the hotkey is set under, didn't you read my last post?Then you got to be yet an other keylogger, from the worst type.
Thatsgreat2345 Posted January 31, 2008 Posted January 31, 2008 I bet you guys would have never figured that out in a billion years.I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others.sorry if that pisses you off that i can do things that people said was impossible..... Hmmm for someone asking for help you seem like a pretty big douche bag. Someone using send , and so on you must be the greatest programmer in the world. You can do things that people said were impossible? Congratulations you want a cookie or something? In saying that I'm sure you won't receive any help now nor ever in the future. So just get off the forum.
GEOSoft Posted January 31, 2008 Posted January 31, 2008 I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others.sorry if that pisses you off that i can do things that people said was impossible. Why don't you give yourself a pat on the back you conceited arse?As for coding better than most around here you don't even come close. And with your arrogance and ignorance I don't see you having a long future around here either. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Achilles Posted January 31, 2008 Posted January 31, 2008 (edited) I bet you guys would have never figured that out in a billion years. if you go to www.myspace.com and press any key it will boot you off of the site.So basically... this script keeps someone from using myspace... Definitely a billion year project for me... I'll start working on my own way of doing it... Oh, wow: While 1 If WinExists("MySpace - Microsoft Internet Explorer") then WinClose("MySpace - Microsoft Internet Explorer") Sleep(20) WEnd I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others. sorry if that pisses you off that i can do things that people said was impossible.Who said making a key logger was impossible? And unsetting the hotkey is as efficient as you're way of doing it and it works just the same. I forgive you for being such a better coder then me too... Anybody could of made that mistake... Edit: Your script also makes my capslock key flash all the time when I type... I find it rather annoying... Edited January 31, 2008 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
James Posted January 31, 2008 Posted January 31, 2008 Oh lord.. Yep, youur defintley the best progarmmer here! I mean half of these guys programs/scripts were submitted into "Peoples choice 2007", look in my signature, in fact I WON! <-- I don't care if I won or not DMan was a personal project which I submitted.program_builder, I did say something but nicely. Maybe nice isn't good! No-one said it was impossible. It's really that simple! How old are you, if you dont mind me asking? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
ReaImDown Posted February 24, 2008 Posted February 24, 2008 I bet you guys would have never figured that out in a billion years.if you go to www.myspace.com and press any key it will boot you off of the site.I'm sorry that I know how to code better than everyone here exept for maybe big dod and a few others.sorry if that pisses you off that i can do things that people said was impossible.#1, that is just sad, like your coding, you are too,#2, there are more efficiant ways of doing this,#3, u have 50 lines of code more than u need (even if u wanted a key pressed checker)#4, Dont brag about an obviously useless program...ask for help in making it better [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
JustinReno Posted February 24, 2008 Posted February 24, 2008 (edited) So, his code isn't very good.. But be nice guys. I know you tried to help him, *thinks of the i542 stuff* and he didn't listen *thinks of Ashley and his English* and he will more than likely create so many of the same but slightly different *Justin...* programs.. Play nice!p_b, if you had presented your topic, neater, better English, grammar and spelling then these people wouldn't be so bad now.Just my two pennys worth!None of my programs are the same. Look around. _StringReplaceInFile() Edited February 24, 2008 by JustinReno
program builder Posted March 9, 2008 Author Posted March 9, 2008 #1, that is just sad, like your coding, you are too,#2, there are more efficiant ways of doing this,#3, u have 50 lines of code more than u need (even if u wanted a key pressed checker)#4, Dont brag about an obviously useless program...ask for help in making it betterI done told you that the reason I posted this was so that you guys could build something out of it. I know the code sucks but thats not the point. The point is, that the code that i built can be changed, to make a better program out of it. for example. you have a gui and you want it to do something when you type words into the browser and press enter. but when the gui is not let up, you want it to send enter, then this can be done. If you would like me to show what I'm talking about, i'll be glad to post programs that I built, that work like that.
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