Home Download Buy Blog Forum Support

show_quick_panel

show_quick_panel

Postby mads_hartmann on Fri Apr 27, 2012 5:01 am

Hi,

Using the show_quick_panel method on Window is it possible to register when
the user just hits enter with no specific item in mind? I can see that goto anything
currently does this to allow you to switch between the two most recent files.

/Mads
mads_hartmann
 
Posts: 9
Joined: Wed Feb 15, 2012 2:46 pm

Re: show_quick_panel

Postby sublimator on Fri Apr 27, 2012 7:41 am

To replicate this you just presort the list of items before passing to show_quick_panel.

Despite not having any visual indication the first item is implicitly selected.

So, `enter` without prior input just selects the first item in the list AFAIK.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: show_quick_panel

Postby mads_hartmann on Sat Apr 28, 2012 7:09 pm

Yes, this works like a charm, thanks.
mads_hartmann
 
Posts: 9
Joined: Wed Feb 15, 2012 2:46 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests