topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday October 4, 2024, 3:43 pm
  • 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: %cliptext% then ENTER/RETURN  (Read 4241 times)

mcquicker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 7
    • View Profile
    • Donate to Member
%cliptext% then ENTER/RETURN
« on: December 11, 2019, 09:44 AM »
Is there a command to ENTER or RETURN after a SEARCH %cliptext% , so the action is carried out automatically?

Many thanks in advance,
Peter


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #1 on: December 11, 2019, 09:45 AM »
Can you elaborate a little, I'm not sure I fully understand what you are asking.

mcquicker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 7
    • View Profile
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #2 on: December 11, 2019, 09:52 AM »
Thanks for the quick reply.

I have a macro that executes an internet FRR search after text is pasted from the clipboard. I'd like to make it so once the text is pasted, for FRR to execute the search. Usually, I have to hit "enter" or "return" for it to happen.

Many thanks in advance,
P

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #3 on: December 11, 2019, 04:56 PM »
Ok, yes this can be done in a couple of ways.. I just need to wake up first and remember how :)

Can you tell me how you are triggering the search in FARR from your macro? Is it from the commandline or are you sending keystrokes, etc?

mcquicker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 7
    • View Profile
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #4 on: December 11, 2019, 05:12 PM »
My keyboard -- Logitech K350 keyboard has several extra keys -- on the side. One key I assign Ctrl-Shift-X to execute a "Search %cliptext%" on FRR. I'd like it to run without me having to hit "enter" or "return."

I have several FRR search macros, mostly to look up words, etc. It's a fantastic help.

Many thanks,
Peter

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #5 on: December 11, 2019, 05:50 PM »
I think you should just be able to add "\n" to the end of the string you are sending to FARR to simulate pressing enter, so send "Search %cliptext%\n"  like that?

mcquicker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 7
    • View Profile
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #6 on: December 11, 2019, 08:58 PM »
Thanks for the suggestion. It is copying the text into tie dialogue box, and its executing the search, but not on the web or even in my PC. It gives a 0 find in each case. You're on the right track, though.

Many thanks.

Peter

mcquicker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 7
    • View Profile
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #7 on: December 11, 2019, 09:18 PM »
Sorry. It is working! Many thanks....  I had a problem with the aliases and the search engines. Fixed it and the \n works exactly as I want it to work.

Many, many thanks. FRR is a great program. I wished I had more time to really get into it.

Peter

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: %cliptext% then ENTER/RETURN
« Reply #8 on: December 11, 2019, 09:55 PM »
Glad to hear it  :up: