Sign in to follow this  
Followers 0
tkx211

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

4 posts in this topic

#1 ·  Posted (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 by tkx211

Share this post


Link to post
Share on other sites



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

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

For volume, this is an easy way to do it:

Send("{VOLUME_UP}")

√-1 2^3 ∑ π, and it was delicious!

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  
Followers 0