Page 1 of 1

Find at tab location

Posted: 12 Oct 2010 22:54
by Joso
This just does what I think Xy should do on it's own. - Opens the Find Files dialog - resets all filters and puts the current path (from the active tab) into the location field. Simple (but useful)

Code: Select all

//copy location
   #344;
   set $a, <clipboard>;
//reset filters and start a file find
   #1026;
//go to location input
   sendkeys "{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}";
   sendkeys "$a";
   #260;
PS: why is SC "sendkeys" undocumented? - Seems to be a meat and potatoes sort of function. - I'll have to experiment to figure out what sort of stuff I can send.

Re: Find at tab location

Posted: 12 Oct 2010 23:18
by nas8e9
One possibly unnecessary step is setting the location: by enabling Auto sync, the location will always automatically be set to the current folder.

Re: Find at tab location

Posted: 13 Oct 2010 02:45
by Joso
sheesh - script or checkbox? Guess the checkbox will do the trick - Thanks.

Now how do I get the find dialog to automatically come up in the "content" tab?

Re: Find at tab location

Posted: 13 Oct 2010 09:52
by admin
By default Ctrl+Shift+F is assigned to Open Find Files and Reset (cf Tools / CKS / Miscellaneous / Find Files / Open Find Files and Reset). Check "Auto sync" and then Ctrl+Shift+F does the whole job. Or assign Ctrl+F to the function if you want to spare a finger.

Re: Find at tab location

Posted: 13 Oct 2010 12:50
by TheQwerty
admin wrote:By default Ctrl+Shift+F is assigned to Open Find Files and Reset (cf Tools / CKS / Miscellaneous / Find Files / Open Find Files and Reset). Check "Auto sync" and then Ctrl+Shift+F does the whole job. Or assign Ctrl+F to the function if you want to spare a finger.
But there is no way to open Find Files and focus the "Contents" tab, which is what they're after.

Re: Find at tab location

Posted: 13 Oct 2010 13:26
by admin
TheQwerty wrote:
admin wrote:By default Ctrl+Shift+F is assigned to Open Find Files and Reset (cf Tools / CKS / Miscellaneous / Find Files / Open Find Files and Reset). Check "Auto sync" and then Ctrl+Shift+F does the whole job. Or assign Ctrl+F to the function if you want to spare a finger.
But there is no way to open Find Files and focus the "Contents" tab, which is what they're after.
Aah, arg, yes, there is no way.

Re: Find at tab location

Posted: 13 Oct 2010 14:05
by Joso
Aah, arg, yes, there is no way.
caminante no hay camino, se hace camino al andar (Traveler - there is no way. The way is made by going)

I'm sure this is a temporary condition. And what's the deal about "sendkeys"? - are there other undocumented SC functions?

Re: Find at tab location

Posted: 13 Oct 2010 14:52
by SkyFrontier
In case you haven't seen this by any chance (and for future reference, too), Stefan wrote an interesting article here that's a sort of "undocumented help on undocumented command, unofficial version".
Also, at the New User's Reference Guide, attachment xyPlorer_NewUsersGuide_pt2.rar, you'll find a Tricks_Hidden_UndocFeats.txt that covers some of these stuff, right out of History.txt. It's pretty outdated, but if you want more of them, PM me and I'll be glad to send you more (raw) links where I found stuff like that, when traveling thru forum.