topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 12:49 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: command to open options with myaliases.alias?  (Read 3769 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
command to open options with myaliases.alias?
« on: June 25, 2013, 02: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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: command to open options with myaliases.alias?
« Reply #1 on: June 30, 2013, 01:08 PM »
hmm.. no there is no command to do that currently.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: command to open options with myaliases.alias?
« Reply #2 on: July 02, 2013, 01: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
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:
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