hammerspoon/Hammerspoon/HSAppleScript.h

28 lines
487 B
Objective-C

//
// HSAppleScript.h
// Hammerspoon
//
// Created by Chris Hocking on 5/4/17.
// Copyright © 2017 Hammerspoon. All rights reserved.
//
#import <Foundation/Foundation.h>
//
// Run String:
//
//NSString* HSAppleScriptRunString(NSString* command);
//
// Enable & Disable AppleScript Support:
//
BOOL HSAppleScriptEnabled(void);
void HSAppleScriptSetEnabled(BOOL enabled);
//
// Execute Lua Code:
//
@interface executeLua : NSScriptCommand
- (id)performDefaultImplementation;
@end