CSRXXII / AppleScript

My AppleScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppleScript

AppleScript 相关,还有部分 shell scripts。

[TOC]

简介

Introduction to AppleScript Language Guide

使用

如何临时修改 macOS 应用的界面语言

Record Screen QuickTimePlayer

菜单栏上的任意功能,你都可以用 LaunchBar 来控制

details
activate application "QuickTime Player"
tell application "System Events"
    tell process "QuickTime Player"
        set frontmost to true
        # 选择菜单栏上的文件「菜单」中的「新建屏幕录制」
        click menu item "新建屏幕录制" of menu "文件" of menu bar 1
        # 等待「屏幕录制」窗口出现
        repeat until exists window "屏幕录制"
        end repeat
        # 按下空格键
        tell application "System Events" to keystroke " "
    end tell
end tell

OSAX(Scripting Additions)

Smile companion osax

Books

AppleScript 1 2 3

Learn AppleScript

参考资料

details

Toggle Night Shift

Toggle dark mode

手把手教你用 AppleScript 模拟鼠标键盘操作,实现 macOS 系统的自动化操作 - 少数派

Mac OS X巧用AppleScript 制作网络位置切换自动化脚本(自动配置PAC 文件) | DeveWork

教程《一键切换声音输出》音箱耳机声卡切换

使用 AppleScript、Tags 和 Alfred 重新打造文件管理和搜索系统 - 少数派

AppleScript 入门:探索 macOS 自动化 - 少数派

Mac AppleScript 自动完成按键

Complete list of AppleScript key codes

关于AppleScript一些记录

AppleScript入门

AppleScript for Python Programmers (Comparison Chart), by Aurelio Jargas

ChristoferK/AppleScriptive: Functional AppleScripts operating out of Keyboard Maestro, Alfred and Automator to optimise productivity.

About

My AppleScript


Languages

Language:Python 89.0%Language:AppleScript 7.5%Language:PHP 2.0%Language:Perl 1.2%Language:Shell 0.2%Language:Perl 6 0.1%Language:Rich Text Format 0.0%