DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: command to open options with myaliases.alias?  (Read 5,951 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
command to open options with myaliases.alias?
« on: June 25, 2013, 07:58 PM »
Any alias shown in the FARR results list has a right click context menu action called "visit the source alias" which opens the options window with the right alias group file selected in the tree view. Is there a special search phrase for the same action i.e. opening help with myaliases.alias focused? The special search phrases in the help file doesn't list such a command. But I was thinking there was one anyway given that the context menu actionb can make that jump.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: command to open options with myaliases.alias?
« Reply #1 on: June 30, 2013, 06:08 PM »
hmm.. no there is no command to do that currently.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: command to open options with myaliases.alias?
« Reply #2 on: July 02, 2013, 06:36 PM »
I took the scripting route. In the unlikely case that someone else wants this:
Save this autohotkey script somewhere as farr_options.ahk
Code
winwait, ahk_class TOptionsForm
winactivate, ahk_class TOptionsForm
ControlFocus, TTreeView1, ahk_class TOptionsForm
send AL
ControlFocus, TListView1, ahk_class TOptionsForm
send {down}
exitapp
Then create a FARR alias to launch options with something like this in the results field:
Code
FARR options | dolaunch C:\farr_options.ahk ;;; dosearch gooptions

This saves me one second now and then. Some time after 2018 I will have earned back the seconds spent in figuring out the script (reference: http://xkcd.com/1205/ ) :D

Original address: https://www.donationcoder.com/forum/index.php?topic=35272.0