replace

set inputText to "35334211Test ToDo d[ Wed  p[ h"

with

tell me to activate
set inputText to text returned of (display dialog "Enter the text" default answer "")


Assign the script a keyboard shortcut. That way you will have to do this:
Press the keyboard shortcut
Enter the text
Press return key

When you use Quicksilver, there are two options
Option 1:
activate Quicksilver
press "." key
enter text
hit tab
bring up ical script
press return

Option 2:
you can setup a trigger like
ical.scpt  >>  Process text  >>  <blank>
That way you will directly get a Quicksilver window ready to accept text from you and you have to press returned after entering the text.


You may decide to use the one that suits you.

Reply via email to