Displaying 1 result from an estimated 1 matches for "modifierflags".
2005 Dec 16
1
AppleScript commands don't execute until mouse over console window (PR#8405)
...ently typing.
*/
- (void) sendInput: (NSString*) text {
+ NSPoint null = {0,0};
[self consoleInput:text interactive:YES];
+ [NSApp postEvent:[NSEvent otherEventWithType: NSApplicationDefined
+ location: null
+ modifierFlags: 0
+ timestamp: 0
+ windowNumber: 0
+ context: NULL
+ subtype: 0
+ data1: 0
+...