Skip to content
Back to formatted view

Raw Message

Message-ID: <f8e6ff05050820093476ec5051@mail.gmail.com>
Date: 2005-08-20T16:34:56Z
From: Hadley Wickham
Subject: Bug report: applescript command

If you send a command to R with applescript you must move the mouse or
push a key before command is run.

To replicate:

 * start with R closed
 * on the command line, osascript -e 'tell application "R" to activate' 
 * then osascript -e "tell application \"R\" to cmd \"print('hi')\""
 * print('hi') doesn't appear until you move the mouse or press a key

What should happen:

 * print('hi') should appear immediately

GUI version: Version 1.12 (1622)

Hadley