Open a website,when i place the cursor at the top right....
How to open a website,when i place the cursor at the top right of the display for a few milliseconds?
You need to run this script on startup. Create a new Start Menu item with Run on Startup option. Type: Command.
Code: Select all
CoordMode Mouse, Screen
SetTimer, CheckMouse, 500
return
CheckMouse:
MouseGetPos, x, y
if (x > A_ScreenWidth - 2) and (y < 2) and not WinExist(winname)
{
RunWait, Notepad
WinGetText, winname, A
}
Return
How to open google with it? and what should i enter in the menu and submenu field ?
Something like this? You can enter anything for Menu and Submenu fields. For more details, please contact us on our support mail.
Code: Select all
CoordMode Mouse, Screen
SetTimer, CheckMouse, 500
return
CheckMouse:
MouseGetPos, x, y
if (x >= A_ScreenWidth - 2) and (y < 2) and not WinExist("ahk_class " winname)
{
Run, www.google.com
sleep 2000
WinGetClass, winname, A
}
Return
Will you add this function to the UI ?,because it's not working when firefox is already opened.
No, sorry, this was just a demonstration of what FastKeys can do.