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: Alias For Dictionary App?  (Read 9,321 times)

siouxdax

  • Lather. Rinse. Repeat.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 247
Alias For Dictionary App?
« on: April 09, 2009, 05:50 AM »
Hello:
I'm wanting to be able to use FARR to trigger my dictionary app to show a result. I use TheSage. I would try this myself, but I know nothing about creating aliases. But essentially I want to bring up FARR, type in a word and have TheSage open and display the result. Is this possible?
Kind Regards,
Daniel in Tulsa
AKA siouxdax

Visit my tumblog!

bgd77

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 203
Re: Alias For Dictionary App?
« Reply #1 on: April 09, 2009, 06:59 AM »
I know how to create an alias:

http://www.donationcoder.com/forum/index.php?topic=17819.msg159056#msg159056

but not how to pass the word to sage.

Can somebody help?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Alias For Dictionary App?
« Reply #2 on: April 09, 2009, 10:56 AM »
I would try this myself, but I know nothing about creating aliases. But essentially I want to bring up FARR, type in a word and have TheSage open and display the result. Is this possible?

depends on the interaction, e.g. WordWeb uses a DLL file from which an alias can be constructed. i'm not sure how Sage works in that respect. maybe some screenshots would be of help.

• Configuring Wordweb to search from FARR

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: Alias For Dictionary App?
« Reply #3 on: April 09, 2009, 02:24 PM »
siouxdax, see if the sage has a way to pass it the word to look up as a commandline arguement.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Alias For Dictionary App?
« Reply #4 on: April 09, 2009, 02:28 PM »
i did a cursory check on the website but couldn't find any, though there is an online version of theSage..

Code
http://www.sequencepublishing.com/thesageonline.php?lemma=<query>

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
Re: Alias For Dictionary App?
« Reply #5 on: April 09, 2009, 09:13 PM »
Import this into FARR
Code
1000>>>sage>->Define $$1 with TheSage | C:\Program Files\TheSage\TheSage.exe $$1>+>^sage (.*)

Or you can simply copy the attached file to <FARR installation folder>\AliasGroups\MyCustom\

Type in "sage some_word_to_define" and press enter. That's it...
It is impossible to make anything foolproof because fools are so ingenious.

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: Alias For Dictionary App?
« Reply #6 on: April 09, 2009, 09:17 PM »
:up:

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Alias For Dictionary App?
« Reply #7 on: April 12, 2009, 07:08 AM »
Import this into FARR
Code
1000>>>sage>->Define $$1 with TheSage | C:\Program Files\TheSage\TheSage.exe $$1>+>^sage (.*)

Or you can simply copy the attached file to <FARR installation folder>\AliasGroups\MyCustom\

Type in "sage some_word_to_define" and press enter. That's it...

good work, skajfes.. :up: didn't realize that TheSage takes command-line keyword..

bgd77

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 203
Re: Alias For Dictionary App?
« Reply #8 on: April 13, 2009, 05:40 AM »
Thank you, skajfes! It works great!  :Thmbsup:

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
Re: Alias For Dictionary App?
« Reply #9 on: April 13, 2009, 11:01 AM »
Thanks guys, I am just glad I can help.
It is impossible to make anything foolproof because fools are so ingenious.

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