Re: Keyboard Question?
Re: Keyboard Question?
- Subject: Re: Keyboard Question?
- From: "Arthur J Knapp" <email@hidden>
- Date: Thu, 18 Jan 2001 10:13:10 -0500
>
Date: Wed, 17 Jan 2001 17:35:18 -0600
>
Subject: Re: Keyboard Question?
>
From: Jolly Roger <email@hidden>
>
on 1/17/2001 12:34 PM, Samuel Hargis wrote:
>
>
> tell application "finder"
>
> TypeText (ascii character 3) -- types the enter key
>
> end tell
>
>
Out of curiosity, why are you telling the Finder to do this? None of these
>
commands belong to the Finder. I suspect this is the result of a bad habit.
>
If so, stop that. ;)
But...
I am not familiar with the TypeText osaxen, but as a "user-emulating"
type of thing, I would assume that you *would* want to call it inside a
tell statement of the application that is meant to receive the keystroke.
Am I wrong? (At the very least, I would think you would want to tell the
application to "active" first).
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
"...it's not my birthday,
it's not today..."
}