OnFirstBoot          { '\1\s[10]\0\s[0]\e' }
OnBoot               { '\1\s[10]\0\s[0]\e' }
OnGhostChanged       { '\1\s[10]\0\s[0]\e' }
OnShellChanged       { '\1\s[10]\0\s[0]\e' }
OnWindowStateRestore { '\1\s[10]\0\s[0]\e' }
OnClose              { '\1\s[10]\0\s[0]\-\e' }

OnMouseDoubleClick
{
	_r = '\0\_q'
	SHIORI3FW.RefreshFMOTable()
	for _i = 0; _i < ARRAYSIZE(SHIORI3FW.SakuraNameList); _i++ {
		_r += getrect(_i) + '\n'
	}
	_r += mousepos()
	_r
}
getrect
{
	_index = _argv[0]
	_name = SHIORI3FW.FMOTable[_index][1,'|']
	_hwnd = SHIORI3FW.FMOTable[_index][3,'|']
	_dll = 'saori\HandUtil\HandUtil.dll'
	_nop = FUNCTIONEX(_dll, 'GetRect', _hwnd, '')
	_left = valueex[4]
	_top = valueex[5]
	_right = valueex[6]
	_bottom = valueex[7]
	"%(_name): %(_left),%(_top),%(_right),%(_bottom)"
}
mousepos
{
	_dll = 'saori\akari-as-saori\akari.dll'
	_nop = FUNCTIONEX(_dll, 'mousepos')
	_x = valueex[0]
	_y = valueex[1]
	"cursor: %(_x),%(_y)"
}
