From simon.urbanek at r-project.org  Fri Dec 16 20:30:11 2005
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 16 Dec 2005 14:30:11 -0500
Subject: [Rd] AppleScript commands don't execute until mouse over
	console window (PR#8405)
In-Reply-To: <20051216123041.2BB8D19A33@slim.kubism.ku.dk>
References: <20051216123041.2BB8D19A33@slim.kubism.ku.dk>
Message-ID: <04B567B0-F091-4DB1-821F-386503D4E803@r-project.org>

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.



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