【 WindowHotspotList 】
格式:WindowHotspotList(BSTR Name)
中文:WindowHotspotList(迷你視窗名稱)
說明:表列指定迷你視窗中的全部熱點ID,必須使用for迴圈來陳列內容。
範例:
--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--
-- show all hotspots
hotspots = WindowHotspotList(win)
if hotspots then
for _, v in ipairs (hotspots) do
Note (v)
end
end -- if any
--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--
來源:http://www.gammon.com.au/mushclient/mw_hotspots.htm#WindowHotspotList