Displaying 1 result from an estimated 1 matches for "postevent".
Did you mean:
listevent
2005 Dec 16
1
AppleScript commands don't execute until mouse over console window (PR#8405)
...uffed into the input buffer.
--- RController.m (revision 2076)
+++ RController.m (working copy)
@@ -1104,7 +1104,18 @@
The input replaces what the user is currently 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
+...