Moderators SmOke_N Posted January 16, 2006 Moderators Posted January 16, 2006 During or after you are playing the .wav does it block it? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
autoitxp Posted January 16, 2006 Author Posted January 16, 2006 no it not block playing wav file but it block sending undersocre on text file or any other pad
autoitxp Posted January 17, 2006 Author Posted January 17, 2006 (edited) Hi i want to know possible send shift key only like HotKeySet ( "+" , "_shift") While 1 sleep(1000) WEnd Func _shift() HotKeySet ( "+") send("+") HotKeySet ( "+" , "_shift" ) EndFunc Edited January 17, 2006 by autoitxp
autoitxp Posted January 17, 2006 Author Posted January 17, 2006 Hi Thank for explaining im bit working on code but still have problem this code working quite good for me but got little problem when i try to put send('{SHIFTUP}') then it stop working fine for me damn break tempo of wav file otherwise only using send('{SHIFTDOWN}') will always push shit key its harmfull :"> any solution will be really appreciated HotKeySet ( "+-" , "_under") While 1 sleep(1000) WEnd Func _under() HotKeySet ( "+-") Do send("-") SoundPlay(@WindowsDir & "\media\tada.wav") Until send('{shiftdown}') HotKeySet ( "+-" , "_under" ) EndFunc
autoitxp Posted February 1, 2006 Author Posted February 1, 2006 (edited) Hi i try to experiment with above code and its finally work correctly hehehe wow dont know how it works but it works for me any one like to explain this code or any better code then this HotKeySet ( "+2" , "_under") While 1 sleep(1000) WEnd Func _under() HotKeySet ( "+2") Do send("2") SoundPlay(@WindowsDir & "\media\tada.wav") Until send('{shiftdown}') HotKeySet ( "+2" , "_under" ) sleep(1000) send('{shiftup}') EndFunc Edited February 1, 2006 by autoitxp
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now