Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • May 03, 2016, 07:29:45 AM
  • Proudly celebrating 10 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: Using FARR to Issue a Control F Command  (Read 3921 times)

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Using FARR to Issue a Control F Command
« on: August 15, 2011, 10:20:36 AM »
I am looking to see if FARR can by the use of a hot key send "control f". I am wanting to be able to search for something using a web browser but using FARR.

Any Ideas?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,695
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #1 on: August 15, 2011, 10:26:12 AM »
You could try WinSendKeys, if FARR can't do it directly for you (I'm no FARR user, so can't help in that corner)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #2 on: August 15, 2011, 10:44:13 AM »
Can you elaborate how you would want to use farr to do this?

Do you really mean that rather than hitting Ctrl+F you would rather hit break key, type something like "search" into farr window, then hit enter, and have FARR send the Ctrl+F? Seems a bit counter-productive..

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #3 on: August 15, 2011, 12:08:54 PM »
Mouser,

Sure I would like the ability to hit a hotkey and FARR issue the control f command. If possiable I would like it to paste what I copied in the clipboard into the find window. Internet Explorer would already be open...

Does this make since?

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #4 on: August 20, 2011, 02:50:56 PM »
Any update on this mouser?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #5 on: August 22, 2011, 10:49:34 AM »
I will add this feature.  I already have a SendKeys system for this in place in my other program Clipboard Help and Spell that allows you to send arbitrary keypresses, and i will just use that code.

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #6 on: August 24, 2011, 07:47:31 AM »
awesome thx mouser!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #7 on: October 03, 2011, 09:15:05 AM »
This has now been added -- see the help files for help on using the "sendkeys" command in an alias result.  You can send things like Ctrl+F, function keys, etc.

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #8 on: October 07, 2011, 09:18:15 AM »
Mouser thanks for adding this. I have been trying to get it to work and can't.

How would you do it if you wanted to do a control F?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #9 on: October 07, 2011, 10:08:28 AM »
the result would like look this:

sendkeys ^f

for example:

send a control F to the last window| sendkeys ^f

NOTE: it's important the f be lowercase (other wise it's like sending a Ctrl+Shift+f which you dont want).

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #10 on: October 07, 2011, 10:23:50 AM »
awesome that works! What about sending clipboard data as well?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #11 on: October 07, 2011, 10:25:34 AM »
just use $$c to send clipboard contents, so:
sendkeys ^f$$c

if you wanted to trigger the enter key automatically you could make it:
sendkeys ^f$$c{ENTER}

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #12 on: October 07, 2011, 10:29:09 AM »
dude you rock!!! Thanks. I am going to find that donation button now :)

putnum

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 68
    • View Profile
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #13 on: October 07, 2011, 01:51:45 PM »
Does this work for you in IE 7 by chance? I get the find window but nothing gets transferred to the window?? This works fine in google chrome.

Adam

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,860
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Using FARR to Issue a Control F Command
« Reply #14 on: October 07, 2011, 02:00:19 PM »
works in my IE 8.

what you might try is sticking in a delay between the Ctrl+F and the clipboard text, like so:

send a control F to the last window| sendkeys ^f{SLEEP 500}$$c{ENTER}