Skip to content

Instantly share code, notes, and snippets.

View swiftuibuttons.swift
// SwiftUI: Custom Button using ButtonStyle
import SwiftUI
struct ContentView : View {    
    var body: some View {
        VStack {
            Button("Hello World"){}
freecodecampster / QuickTime Player Audio Recording.scpt
Created Nov 1, 2019
Using JavaScript instead of AppleScript to automate a QuickTime Player Audio Recording for a specified time on macOS Catalina.
View QuickTime Player Audio Recording.scpt
JXA JavaScript for Automation
Working in macos Catalina 10.15.1
editor = Application.currentApplication(); // Script Editor
editor.includeStandardAdditions = true;