Robotmon
  • Robotmon
  • 使用說明
  • 官方腳本
    • 薑餅人王國外掛腳本自動玩
    • POPCAT 台灣爭光
    • TsumTsum 全自動玩、自動收心送心
    • 三麗鷗明星的微笑小鎮 Hello Sweet Days
    • 天堂M外掛 無課救星
    • EZRobot簡易腳本製作
    • YouTube自動刷瀏覽
    • 徵求維護
      • Marvel自動玩外掛
      • 無盡的邊疆自動玩外掛
      • 楓之谷M 自動任務/練等
  • 教學文件
    • 手機快速上手
      • a.開啟手機 USB 偵錯
      • b.安裝手機 ADB 驅動
    • 模擬器快速上手
    • 安裝 SimpleManager
    • 啟動 Robotmon Service
    • App 使用教學
  • 進階使用教學
    • 手動啟動 Robotmon Service
    • Develop Guide
    • Robotmon v2 Beta Testing
  • Robotmon 障礙排除
  • 腳本教學
    • 安裝VSCode編輯器插件
    • Robotmon VSCode 插件功能
    • API Documents
      • JavaScript Events
      • JavaScript Interface
      • JavaScript Raw APIs
      • RBM library APIs
      • gRPC APIs
  • XRobotmon
  • 支援手機列表
    • 確定支援裝置
    • 可能支援手機
  • 隱私權政策
  • Robotmon Messenger
  • Robotmon Announcement
  • Robotmon Store
Powered by GitBook
On this page
  1. 腳本教學
  2. API Documents

JavaScript Interface

Link UI and Android App and service

runScript(script)
  • script String

runScriptCallback(script, callback)
  • script String

  • callback String

clickIconButton()

Click the app icon button on floating widget.

clickPlayButton()

Click the play button on floating widget.

clickPauseButton()

Click the pause button on floating widget.

clickLogButton()

Click the log button on floating widget.

clickSettingButton()

Click the setting button on floating widget.

clickCloseButton()

Click the close button on floating widget.

setXY(x, y)
  • x Integer

  • y Integer

Set the position of the floating widget.

getX()

Returns Integer - The x position of the floating widget.

getY()

Returns Integer - The y position of the floating widget.

showMenu()

Show the menu on floating widget.

hideMenu()

Hide the menu on floating widget.

showPlayButton()

Show the play button on floating widget.

showPauseButton()

Show the pause button on floating widget.

PreviousJavaScript EventsNextJavaScript Raw APIs

Last updated 6 years ago