applescript 0.0.1
applescript: ^0.0.1 copied to clipboard
A library for executing AppleScript in Dart.
example/applescript.dart
// Copyright (c) 2014, Christopher Su. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
library applescript.example;
import 'package:applescript/applescript.dart';
main() {
AppleScript as = new AppleScript('tell application "Spotify" to playpause');
as.run();
}