Thanks. It really solves my problem.

Another issue is the pause timing. Do I have any alternative to wait.for()?

I am writing a simple text reader by using a TTS engine, which I have no way to
communicate with.
So all I can do is to count the numbers of the paragraphs, and try to guess the
time it need to be read.
I figure out some way to do this:

[text select]
clip.copy
local s = copy.length
[text read]
wait.for(500*s)

Now the problem is wait.for() doesnt accept "expression".
How could I implement it?

--- In power-pro@yahoogroups.com, Carroll Robbins <carrollrobb...@...> wrote:
>
> On Mon, 23 Aug 2010 06:46:12 -0000, "SS" <hypersam...@...> wrote:
> 
> >I would love to select all paragraphs in a text editor.
> >
> >^{ed} can send {control}+{end}
> >but ^+{ed} won't work as  {ctrl}+{shift}+{end}.
> >can anyone help me with this? thanks in advance.
> 
> For the key code Ctrl+Shift+End you need to use 
> {fast}{Ctrl}{Shift}{End}{Shift}{Ctrl}
> 
> {fast} has to be used to send Ctrl and Shift together. {fast} may not work
> with Vista or Win7.
> 
> Note you will only select all the text if the cursor is at the beginning of
> the file so you would need {fast}{Ctrl}{Home}{Shift}{End}{Shift}{Ctrl}
> 
> Many editors will accept Ctrl+A to select all the text so you could use ^a
> -- 
> Carroll B. Robbins, Jr.
>


Reply via email to