tkx211 Posted May 7, 2012 Share Posted May 7, 2012 (edited) ~g & m::Run http://mail.google.com ; Hold "g" and press "m" to open gmail ~RButton & WheelUp::Send {Volume_Up} ; Hold right mouse and scroll wheel up to increase volume Thank you very much! Edited May 7, 2012 by tkx211 Link to comment Share on other sites More sharing options...
hannes08 Posted May 7, 2012 Share Posted May 7, 2012 Hello tkx211, have a look at the following functions in the helpfile: ShellExecute() Send() Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
tkx211 Posted May 7, 2012 Author Share Posted May 7, 2012 For open gmail I write: #include <misc.au3> Local $hDLL = DllOpen("user32.dll") While 1 If _IsPressed("47", $hDLL) And _IsPressed("4D", $hDLL) Then ShellExecute("https://mail.google.com") EndIf WEnd DllClose($hDLL) but it not work For increase volume: I can't find how to set "WheelUp" event to AutoIt Can you tell me how I should write? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 7, 2012 Moderators Share Posted May 7, 2012 For volume, this is an easy way to do it: Send("{VOLUME_UP}") "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
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