[Rd] AppleScript commands don't execute until mouse over console window (PR#8405)

From: <jp-www_at_dcs.gla.ac.uk>
Date: Fri 16 Dec 2005 - 12:30:41 GMT


Full_Name: Jonathan Paisley
Version: 2.2.0
OS: Mac OS X 10.4.3
Submission from: (NULL) (81.178.69.159)

I am sending commands to R via AppleScript (specifically, from SubEthaEdit to instruct it to source the file I'm currently editing). R doesn't respond tothe AppleScript until I move the mouse over R's console window.

The following patch to the Mac GUI (against current svn trunk) resolves the problem, by posting a dummy event to wake up the event queue after the command has been stuffed into the input buffer.


R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Dec 16 23:48:03 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:35 GMT