注册
下载 Mac 版
社区 › 使用交流

【视频教程 2】修改已经做好的工具 · Video 2: Edit a tool

0 回复 · 9 浏览
A
abc6663900@gmail.com 管理员 1周前

做好的工具想改?说清要改什么,助手改好、测好,你点保存才替换。

  1. 点顶部「工具箱」,在要改的工具卡片上点「编辑」,进入修改模式。
  2. 在对话框里直接说要改什么,例如「每条热搜后面加上热度,再附上链接」。
  3. 助手会先读现有代码,需要时重新查看网页(视频里它发现百度首页没有热度,自己换到了热搜榜页面),改好后自己测试。
  4. 测试通过后点「保存修改」。保存之前,原来的工具一直照常可用;不想改了点「不做了」。
  5. 回到工具箱运行,就是新版本了。还不满意,继续在对话里说哪里要改。

小提示:工具运行出错或很慢时,结果下面会出现「修复」按钮,助手会根据这次运行的记录找原因并修好,流程和修改一样。

上一集:制作自己的工具 · 下一集:用 BrowserX 操作安卓手机


Want to change a tool? Say what to change. The assistant updates and tests it, and nothing is replaced until you click Save.

  1. Open Toolbox and click Edit on the tool. This opens edit mode.
  2. Type what to change in the chat, for example "Also show the points and the number of comments for each story."
  3. The assistant reads the current code, checks the website again if needed, updates the tool and tests it on its own.
  4. When the test passes, click Save Changes. Until then the original tool keeps working; click Discard to drop the changes.
  5. Run it from the Toolbox and you get the new version. Not quite right? Keep telling it what to change.

Tip: when a run fails or is slow, a Fix button appears under the result. The assistant uses that run's record to find the cause and fix it, the same way.

Previous episode: Build your own tool · Next: Control an Android phone