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

Simon Urbanek simon.urbanek at r-project.org
Fri Dec 16 20:30:11 CET 2005


Thanks, Jonathan! I have now committed a slight variation of your  
patch in the current Mac-GUI.

Cheers,
Simon

On Dec 16, 2005, at 7:30 AM, jp-www at dcs.gla.ac.uk wrote:

> 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 to the 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.



More information about the R-devel mailing list