Coder Social home page Coder Social logo

alfredopensafariinspector's Introduction

AlfredOpenSafariInspector

README EN|中文

通过Alfred 工作流打开IOS 模拟器的检查器。

依赖AppleScript的自动化能力实现快速打开IOS 模拟器的检查器。

快速上手

下载Release,双击Open Safari Inspector.alfredworkflow进行安装。

默认快捷键:

sf

image

安装要求

  • node
  • Alfred powerpack
  • Safari打开了 “开发” 菜单

node

通过以下脚本安装node

brew install node

Safari 开发 菜单

如果在Safari菜单中找不到 开发 菜单,可以通过 Safari > 偏好 > 高级 > 在菜单栏展示“开发” 打开

问题定位

当遇到安装完成后执行快捷键不生效的情况,可以通过以下方式查看日志定位问题

打开Alfred的workflow右上角的爬虫按钮,查看运行日志定位错误,常见错误原因:

  • /usr/local/bin/node 不存在
    • 解决方案:通过brew安装或通过ln -s 将已有的node版本软连接到对应位置
  • applescript执行异常
    • 解决方案:打开mac的脚本编辑器调试applescript或连同日志提交issue。

参考&&来源

alfredopensafariinspector's People

Contributors

alphacat2018 avatar caidwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.