Page 3 of 3

Re: Select as You Type, Paste and Select

Posted: 02 Feb 2015 16:21
by TheQwerty
admin wrote:1) TAF has its own match settings that are independent of how Flat Select (always "Match anywhere" and Name column) works.
Right but this command shouldn't care about any of that and is actually separate from Flat Select.

You know which items are are highlighted/spotted, correct?
This command would just select those items.
Analogous to "Select if yellow".

Pre-Post EDIT: Guess we could do this ourselves with this new Get gift. ;)
admin wrote:2) Too overloaded (even) for my taste.
Drats... would save quite some time.
Guess my next wish is going to have to be smarter auto-completing of paths for aliases. :whistle:

Re: Select as You Type, Paste and Select

Posted: 02 Feb 2015 16:25
by admin
TheQwerty wrote:Pre-Post EDIT: Guess we could do this ourselves with this new Get gift. ;)
Yep. :)

Re: Select as You Type, Paste and Select

Posted: 08 Feb 2015 11:50
by Enternal
I don't know if this feature is the cause for the problem but I have been having issues with Paste & Highlight for several betas now.

Re: Select as You Type, Paste and Select

Posted: 09 Feb 2015 03:53
by Stef123
TheQwerty wrote: Analogous to "Select if yellow".

Pre-Post EDIT: Guess we could do this ourselves with this new Get gift. ;)
Intriguing. This would allow to press a shortcut and get all the yellow finds selected, right? If so, how would I go about setting it up?

Re: Select as You Type, Paste and Select

Posted: 09 Feb 2015 12:43
by TheQwerty
Stef123 wrote:
TheQwerty wrote: Analogous to "Select if yellow".

Pre-Post EDIT: Guess we could do this ourselves with this new Get gift. ;)
Intriguing. This would allow to press a shortcut and get all the yellow finds selected, right? If so, how would I go about setting it up?
The simplest form is to create a Go To UDC with location:

Code: Select all

>>><get SpotPatterns>
Then you can easily assign it a keyboard shortcut or use the #14?? command id to call it from a CTB, alias, etc.

Depending on where you use it you may have to explicitly call it within a goto SC so if the above doesn't work try:

Code: Select all

goto(">>><get SpotPatterns>");
Note however, that once either is run the spotting is removed so running the script again will resolve <get SpotPatterns> to an empty string and thus deselect all, and a third or more times will continue to do nothing until you have spotted something new.

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 08:14
by Stef123
Many thanks. This works exactly as I hoped it would. :tup:
Added it to my CTB menu of select/filter methods that out-smart other file managers by leaps and bounds, literally.
It also out-smarts my lookup & learn strategies, the help file doesnt yield results for "spotpattern", nor am I able to replace "goto" by "filter":

Code: Select all

filter(">>><get SpotPatterns>");
Not quite as easy as my naive thought patterns had expected, can you spot me a helping hand?

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 10:34
by admin
Like this:

Code: Select all

filter("<get SpotPatterns>");
BTW, this is also nice, kind of Paste-and-Select:

Code: Select all

>>><clipboard>

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 11:15
by Stef123
:biggrin: Bound to become a classic in my repertoire of filtering and selecting. :biggrin: Thanks.

The clipboard stuff has not seeped in yet, it still lingers at the outer head-scratching stage :?
Meant to paste the clipboard and select it, right? But what's the expected syntax in a UDC or CTB?

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 11:43
by admin
You are on a website about megalodon. And you quickly want to select all megalodon files in your list of prehistoric animal files.

So you copy the string "megalodon" from the website to the clipboard, then you click your custom Paste-Text-and-Select button (or Catalog item, etc) which does this:

Code: Select all

goto ">>><clipboard>";
Yes, there are other ways to do this already. Now we have a new one. :)

(goto is the scripting way to say: run this through the address bar)

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 13:02
by Stef123
Nice example. It fired right through to the remote regions of my reptilian brain.
admin wrote:goto is the scripting way to say: run this through the address bar)
THIS is one behemoth piece of useful information. Clears the path out of several confusing issues I've been stuck with. Also reassures me that the GoTo box is indeed equivalent to the address bar.

Seems to be my day for climbing the learning curve. This kind of "silent operation" - without actually showing the interface for it - how would I turn it on at will? For commands that don't have it built-in like GoTo. My intention is something like this:
Interface OFF
... do all kinds of stuff, save as paperfolder, but toggle it off
Interface ON

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 13:23
by admin
Difficult. The file list is the center piece of this machine, the heart. You can bypass it sometimes, but not every time.

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 13:26
by Stef123
Well, "sometimes" is a good start, it may suffice my needs. Couldn't find anything in SC help. Is there a command to toggle visible interface actions on/off?

Re: Select as You Type, Paste and Select

Posted: 10 Feb 2015 13:27
by admin
No. :)