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: cliptext  (Read 5,776 times)

cracksloth

  • Member
  • Joined in 2005
  • **
  • Posts: 72
cliptext
« on: August 25, 2008, 01:14 AM »
Can anyone explain why this doesn't work:

I want to create a single hotkey for all cliptext relevant aliases (to simplify things). To do this I created an alias called "clip" containing:

define | define %cliptext%
lookup | lookup %cliptext%
search | search %cliptext%
etc.

Then I created a single hotkey that would copy the selected text and enter "clip" into the search box.

As expected, when I press the hotkey, I'm presented with options for define/lookup/search. But when I select one, I get an error saying "Windows cannot find 'define X'..." (where X is the phrase copied to the clipboard)

I was hoping FARR would present me with results from those aliases. Is there a fix?
« Last Edit: August 25, 2008, 01:18 AM by cracksloth »

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: cliptext
« Reply #1 on: August 25, 2008, 01:51 AM »
after each | insert: restartsearch

define | restartsearch define %cliptext%
lookup | restartsearch lookup %cliptext%
search | restartsearch search %cliptext%

cracksloth

  • Member
  • Joined in 2005
  • **
  • Posts: 72
Re: cliptext
« Reply #2 on: August 25, 2008, 03:29 AM »
you are a brilliant man!! thanks, mouser!!

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