Welcome Guest.   Make a donation to an author on the site October 30, 2014, 12:49:03 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Using FARR to Issue a Control F Command  (Read 3175 times)
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« 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?
Logged
Ath
Supporting Member
**
Posts: 2,240



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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)
Logged

mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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..
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« 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?
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« Reply #4 on: August 20, 2011, 02:50:56 PM »

Any update on this mouser?
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« Reply #6 on: August 24, 2011, 07:47:31 AM »

awesome thx mouser!
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« 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?
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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).
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« Reply #10 on: October 07, 2011, 10:23:50 AM »

awesome that works! What about sending clipboard data as well?
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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}
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« Reply #12 on: October 07, 2011, 10:29:09 AM »

dude you rock!!! Thanks. I am going to find that donation button now smiley
Logged
putnum
Participant
*
Posts: 68

View Profile Give some DonationCredits to this forum member
« 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
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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}
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.04 ]