On 08/06/2008, google DeleteThis @bradduns.com wrote in message <f4809ec7-5b4a-48fa-
8581-4d6eb9833817 DeleteThis @u12g2000prd.googlegroups.com>:
> I have tried adding this:
> tell application "System Events" to keystroke "v" using command down
>
> but it only works when I run it from Script editor and not when I use
> quicksilver to run it.
Unfortunately, you can only issue keystrokes and menu commands to the
foreground application (because only those applications have control of
the screen and keyboard).
Fortunately, you can issue the 'activate' command to an application to
bring it to the foreground, and the same command to another application
(e.g. the Finder) to send it behind again.
Simon.
--
http://www.hearsay.demon.co.uk