applescript

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InspectPackageWithAppleScript

func InspectPackageWithAppleScript(packageName string) error

InspectPackageWithAppleScript demonstrates the use of AppleScript to interact with a Cocoa application by opening a specified .pkg file on the desktop. It showcases how to access installed files and folders within the package by name, using the "Suspicious Package" application for macOS. The function illustrates the use of the 'reveal' command to display an installed item within the package in a new tab of the "Suspicious Package" user interface, providing a practical example of manipulating GUI elements and retrieving file properties through AppleScript from Go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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