Jump to content
Sign in to follow this  
Glyph

Trouble sending a " {LSHIFT} "

Recommended Posts

Glyph

#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

Share this post


Link to post
Share on other sites
Jos

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)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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
Glyph

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

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

{LSHIFT down}1

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


tolle indicium

Share this post


Link to post
Share on other sites
Jos

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}")

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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
Glyph

Helpfile is a nice thing to look for these ;)

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

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


tolle indicium

Share this post


Link to post
Share on other sites
Jos

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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
Glyph

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


tolle indicium

Share this post


Link to post
Share on other sites
Jos

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

Did you try to read the helpfile yet ?

HotKeySet("+1", "_Lshi")

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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
Somerset

Did you try to read the helpfile yet ?

HotKeySet("+1", "_Lshi")
yummy candy.... ;)

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites
Glyph

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

Share this post


Link to post
Share on other sites
Jos

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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  

×