Jump to content

Recommended Posts

Posted

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.

Posted (edited)

I can do it without unseting the hotkey. that is the intire point.

don't believe me here is the code.

;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.

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 by Ármányos Kő
Posted

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?

Posted

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.
Posted

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.

Posted

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!"

Posted (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... :D

Edit: Your script also makes my capslock key flash all the time when I type... I find it rather annoying...

Edited by Piano_Man
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Posted

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?

  • 4 weeks later...
Posted

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]
Posted (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. :D

:) _StringReplaceInFile() ;)

Edited by JustinReno
  • 2 weeks later...
Posted

#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

I 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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...