Jump to content

Can you help me convert this AutoHotKey script to AutoIt script?


Recommended Posts

~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 by tkx211
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

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