packages feed

workflow-osx-0.0.0: cbits/objc_workflow.h

#ifndef CBITS_OBJC_ACTOR_H
#define CBITS_OBJC_ACTOR_H 1

#import <Cocoa/Cocoa.h>

ProcessSerialNumber* getApplicationPSN(const char* s);

void pressKey(CGEventFlags modifiers, CGKeyCode key);
void pressKeyToCurrentApplication(CGEventFlags modifiers, CGKeyCode key);
void pressKeyTo(CGEventFlags modifiers, CGKeyCode key, ProcessSerialNumber psn);
void clickMouse(CGEventFlags modifiers, CGMouseButton mouseButton, CGEventType mouseDown, CGEventType mouseUp, UInt32 numClicks); 
const char* getClipboard();
void setClipboard(const char* contents);
const char * currentApplicationPath();
void openApplication(const char* s);
void openURL(const char* url);

#endif