Jump to content
Sign in to follow this  
Glyph

Sending a bracket

Recommended Posts

Glyph

#Include <process.au3>

Dim $Filfe = ""

HotKeySet("[", "_bl") ; /
HotKeySet ( "^!e" , "quit")

While 1
sleep(366*1044)
WEnd

Func quit()
exit
endfunc



Func _bl()
HotKeySet ( "[")
send("[")
HotKeySet ( "[" , "_bl" )
EndFunc


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

See anything wrong with this?, it wont send " [ ", i tried a few variations and still wont do what i want!


tolle indicium

Share this post


Link to post
Share on other sites
Glyph

#Include <process.au3>

Dim $Filfe = ""

HotKeySet("[", "_bl") ; /
HotKeySet ( "^!e" , "quit")

While 1
sleep(366*1044)
WEnd

Func quit()
exit
endfunc



Func _bl()
HotKeySet ( "[")
Send("{[}")
$filfe = $filfe & "["
HotKeySet ( "[" , "_bl" )
EndFunc


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

Still doesn't work Oo!


tolle indicium

Share this post


Link to post
Share on other sites
BigDod

Your original code works for me (ie it sends [)



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
Glyph

It's a file im making i realease soon!, for now its secret!!!

hmm, well the original code isn't working for me, im using the latest beta of autoit...

Edited by backstabbed

tolle indicium

Share this post


Link to post
Share on other sites
bayangan

First example works for me when i tried on a notepad

Share this post


Link to post
Share on other sites
Glyph

hmm, ima redo this then.. ill tell ya how it goes!

-edit Ok it sends it fine, it's just not sending it to the ini file now :/

-edit again

What the heck?, its fine now...

Edited by backstabbed

tolle indicium

Share this post


Link to post
Share on other sites
Valik

It's a file im making i realease soon!, for now its secret!!!

If you release it on this forum, you'll be banned for awhile, I can tell you that much right now. Whether you want to call this a keylogger or not, it is.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.