Page 1 of 1

Quick Search switches dont work inside TAB function

Posted: 29 Mar 2016 19:11
by alchniyal
Hi!
:)
This is the script:

Code: Select all

$_DIRS = "%ProgramData%; %LOCALAPPDATA%", "r";
$_QUERY = "$_DIRS"."?* /nd";
tab("new", "$_QUERY");
In adress bar it should resolve to:____________ :tup:
C:\ProgramData; C:\Users\USER\AppData\Local?* /nd
But instead the result is:___________________ :bug: :bug:
C:\ProgramData; C:\Users\USER\AppData\Local?* \nd\

The "/" is converted to "\" and one more "\" is added at the end.

The manual points that "Quick Searches are supported". So it seems like a bug to me.

Re: Quick Search switches dont work inside TAB function

Posted: 29 Mar 2016 19:27
by highend
Confirmed.

As a small workaround in the meantime:

Replace:

Code: Select all

tab("new", "$_QUERY");
With:

Code: Select all

    tab("new");
    goto $_QUERY;

Re: Quick Search switches dont work inside TAB function

Posted: 30 Mar 2016 00:06
by alchniyal
:appl: Thanx for workaround highend. Works as expected.

Re: Quick Search switches dont work inside TAB function

Posted: 30 Mar 2016 04:32
by TheQwerty
Welcome to the club alchniyal!

Your timing is impeccable - I just ran into this bug yesterday but hadn't yet gotten around to investigating and reporting.
Thanks for saving me the trouble! ;)

Re: Quick Search switches dont work inside TAB function

Posted: 05 Apr 2016 19:13
by admin
Confirmed. Stopped working about one year ago. Fix comes, thanks! :tup: