--- In [email protected], "dergroesstemeister"
<[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > > Is there a way that the inputcancel-dialog always gets the focus
> after
> > > > pressing the hotkey?
> ...
>
> > Why do you think Pause key behaves abnormally?
>
> Hi Sean,
>
> I was wrong - it behaves in the same bad was as all other hotkeys. All
> I want to do is to press a hotkey and then get an inputbox where I can
> use some kind of shortcut to quickly start applications. E.g.
>
> {pause} => opens up an input box
> xl {enter} => Start Excel (for example)
>
> But as the {pause} key shows the inputcancel dialog in the background
> it is no use...
How did you specify the command for the hotkey?
Although I'm not sure if it's the cause, I'm afraid that inputcancel()
as the command was a bad choice. Firstly, it's not supposed to be used
as a standalone command though apparently it seems to work: use
inputdialog() instead for that purpose. Secondly, there seems to be no
point to use inputcancel(), instead of inputtext() in this case.
Maybe you can try:
do(inputtext("Text"))
Sean