Jump to content
Sign in to follow this  
tkx211

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

Recommended Posts

tkx211

~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

Share this post


Link to post
Share on other sites
hannes08

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]

Share this post


Link to post
Share on other sites
tkx211

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?

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  

×