openscripting

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package openscripting provides a fluent Go API over the macOS OpenScripting framework.

Each With… method sets one property and returns its receiver, so configuration calls can be chained.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OSAAddStorageType

func OSAAddStorageType(scriptData unsafe.Pointer, dscType int) int16

OSAAddStorageType calls the OpenScripting framework function OSAAddStorageType.

func OSACopyScriptingDefinitionFromURL

func OSACopyScriptingDefinitionFromURL(url obj.Object, modeFlags int, sdef unsafe.Pointer) int

OSACopyScriptingDefinitionFromURL calls the OpenScripting framework function OSACopyScriptingDefinitionFromURL.

func OSAGetStorageType

func OSAGetStorageType(scriptData unsafe.Pointer) (result int16, dscType int)

OSAGetStorageType calls the OpenScripting framework function OSAGetStorageType.

func OSARemoveStorageType

func OSARemoveStorageType(scriptData unsafe.Pointer) int16

OSARemoveStorageType calls the OpenScripting framework function OSARemoveStorageType.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL