Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance force
#Persistent
#NoTrayIcon
SetTitleMatchMode 3
Game = War on the Sea
SetTitleMatchMode 1
SetKeyDelay,-1,-1,-1
CoordMode, Mouse, Screen
Sleep 30000
SetTimer, ScriptDone, 5000
SetTimer, WatchCursor, 25
return
ScriptDone:
IfWinNotExist,%Game%,
ExitApp
Return
WatchCursor:
IfWinActive, %Game%
{
SysGet, Screen, Monitor,
MouseGetPos, XPos, YPos
If (XPos = (ScreenRight-1))
{
Send {Right}
}
If (XPos = ScreenLeft)
{
Send {Left}
}
If (YPos = (ScreenBottom-1))
{
Send {Down}
}
If (YPos = ScreenTop)
{
Send {Up}
}
}
return