Sorry, but I'm kind of stupid here.

If I have a script named win.txt
assign four key combinations, win+left, win+right, win+top, win+botton, to 
excute the same file win.txt.

How can I determine in the script which key combo is pressed?

--- In [email protected], "brucexs" <bswit...@...> wrote:
>
> 
> 
> --- In [email protected], "S" <hypersam.tw@> wrote:
> >
> > If a script is excuted by a key combination, is there any way to know which 
> > keys they are?
> > 
> > I'd like to, for instance,  write a window control script that will accept 
> > lots of key combinations to determine which window behavior function is to 
> > be excute.
> > 
> > What can I do about it?
> >
> Pass a parameter indicating the action and use a different parameter for each 
> key combination.
>


Reply via email to