Thanks Wayne, it works great to select regular tools.
Unfortunately, setTool(id) does'nt work for firing Action Tools, and most of
my "tools" in the set are buttons that are Action Tools... How to get
keyboard shortcuts for these ?
Christophe
On Fri, Mar 21, 2008 at 10:03 AM, Christophe Leterrier <
[hidden email]> wrote:
> Great ! Thanks a lot Wayne.
>
> Christophe
>
>
> On Fri, Mar 21, 2008 at 3:14 AM, Rasband Wayne <
[hidden email]> wrote:
>
> > > I wonder if it is possible to assign a keyboard shortcut to a macro
> > > inside a macro toolset. Just adding [key] like "My Tool Action Tool
> > > [k]"
> > > in the declaration of the macro didn't work for me.
> >
> > Add a macro to the toolset that uses the setTool function to select
> > the tool.
> >
> > macro "Select My Tool [k]" {setTool(id);}
> >
> > Where 'id' is 10 or 15-21, depending on the position of the tool.
> >
> > -wayne
> >
>
>