topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 2:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Launch, stay open and continue searching  (Read 9868 times)

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Launch, stay open and continue searching
« on: February 21, 2012, 05:14 PM »
Hi Mouser,

The option ctrl+dlbclick to launch and stay open works really well.

A great functionality that could be added would be to continue the search after launching
(at the moment, if I am searching for some subject, the results are being populated, but, as soon as one file is launched the search stops... that is ok for normal launching.. but with the "launch and stay open" it would be much better if the search would continue...)

What do you think of this idea?

Have a great day!
« Last Edit: February 25, 2012, 03:51 AM by Filipe Meira Castro »

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #1 on: February 29, 2012, 09:38 AM »
Not good?!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #2 on: February 29, 2012, 10:30 AM »
let me chew on it a bit.. i see what you are saying im just not sure how to handle it.

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #3 on: February 29, 2012, 10:48 AM »
Hehehhehehe, sure!

I hope you can find an easy solution :)
It can be really handy, especially when searching some network files!

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #4 on: June 09, 2012, 05:35 PM »
Complicated?!

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #5 on: August 18, 2013, 12:06 PM »
Hi, Hi,

Hopefully you are managing a way on this :)

There is a small annoyance on this Ctrl dbl click because some applications will also detect the CTRL key for other purposes... ex: if I am launching a .docx word will prompt to open in safe mode, and if launching a .pdf acrobat will prompt for default language...

Maybe would be nice to include a checkbox near the search bar for this, for example... or have a different combination of keys maybe shift key will not interfere as much...

Keep FARR on great standard, it's an awesome app :)

« Last Edit: August 18, 2013, 12:17 PM by Filipe Meira Castro »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #6 on: August 22, 2013, 09:28 AM »
There is a small annoyance on this Ctrl dbl click because some applications will also detect the CTRL key for other purposes.

On the keyboard options tab you can change the ctrl/alt behaviors -- you could change it so that ALT was for launch and stay open.

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #7 on: August 23, 2013, 05:28 PM »
Hi,

Thank you for your comments :)
The Alt key is not keeping FARR opened even it is on the settings...
Screenshot - 2013-08-24 , 00_26_07.png

Cheers,

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #8 on: August 27, 2013, 10:11 AM »
Looks like maybe with those settings with keyboard launch and not click?

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #9 on: August 27, 2013, 10:38 AM »
Yes, seems like, Have tested with ALT# and works but ALT Click then it does not!

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #10 on: April 27, 2020, 08:25 AM »
Hi Mouser,

This is an old topic, but the "Launch, stay open and continue searching" is something that could be really handy when searching multiple document of one topic/keyword.

I understand it might be difficult to implement and was thinking of some "Workaround" or way to make it easier to improve here.

Whenever we have a result and the user clicks an item, FARR stops populating results - This is what is happening now and I guess it might be because the user can then trigger the context menu and would also be annoying to have the selection being moved all the time.

So a workaround solution, would be to have the searched "Paused" or just running in a different thread when the user has selected something, but as soon as an action is triggered or the user selects the search field again, the search could resume or the background tread able to put the newly found item in the list!

Doable challenge?! :D

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #11 on: April 27, 2020, 12:54 PM »
Another small wrinkle related to the current launch and stay open option: FARR moves focus to the searchbox, instead of keeping focus at the line of the result that was launched.

Here is an AutoHotkey script that somewhat works around both issues. Somewhat since it only works when launching a result that points to file/folder path (not a complex alias result that launches multiple files, passes parameters or other extras). I imagine the script might also fail to keep focus in some situations, depending on how long it takes for the launched file to open in the default app for that extension.

Code: Autohotkey [Select]
  1. SetWorkingDir %A_ScriptDir%
  2.  
  3. ; FARR helper script to launch a file and continue search and keep focus in results list
  4.  
  5. ; 2020-04-27 by Nod5
  6.  
  7. ; Hotkey: Alt+Enter
  8. ; - launches the selected FARR result (a file or folder)
  9. ; - FARR continues searching
  10. ; - FARR stays open and keeps its focus in the results window
  11.  
  12. ; note: does nothing if the selected result is not an existing file/folder.
  13. ; In other words does nothing if the result is an complex alias result.
  14.  
  15. #IfWinActive, ahk_exe FindAndRunRobot.exe
  16. !Enter::
  17.   ; only react if user has focused FARR results list
  18.   ControlGetFocus, vFocusControl, A
  19.   if (vFocusControl != "TNextGrid1")
  20.     Return
  21.   ; get FARR window handle
  22.   vHwnd := WinExist("A")
  23.   ; use ctrl+C to get the path to selected file in FARR results
  24.   ; note: only works if result is a path to a single file (not a complex alias result)
  25.   clip := ClipToVar()
  26.   If !FileExist(clip)
  27.     Return
  28.   ; run the file
  29.   Run % clip
  30.   ; keep the FARR window active
  31.   While WinActive("ahk_id " vHwnd) and (A_Index < 100)
  32.     sleep 10
  33.   WinActivate, % "ahk_id " vHwnd
  34. Return
  35.  
  36. ;function: copy selection to clipboard to variable
  37. ClipToVar() {
  38.   cliptemp := clipboardall ;backup
  39.   clipboard =
  40.   send ^c
  41.   clipwait, 1
  42.   clip := clipboard
  43.   clipboard := cliptemp    ;restore
  44.   return clip
  45. }

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #12 on: April 28, 2020, 09:22 PM »
I'll see how easy it would be for me to add an option for this. Maybe it's no big deal.

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 104
    • View Profile
    • Donate to Member
Re: Launch, stay open and continue searching
« Reply #13 on: April 29, 2020, 03:46 AM »
 :Thmbsup: :Thmbsup: :Thmbsup: