topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 3:13 am
  • 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: two little steps - Paste and Go  (Read 9480 times)

kikon

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 19
    • View Profile
    • Donate to Member
two little steps - Paste and Go
« on: February 07, 2011, 08:32 AM »
 how to add these steps to lunching selected text with FARR
for example when lunching Windows help (Win+F1)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #1 on: February 07, 2011, 09:49 AM »
im not sure what you are asking.. can you elaborate?

kikon

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 19
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #2 on: February 07, 2011, 10:55 AM »
FARR can send   selected text as a parameter   to any other programs, if this program support command line parameters.

many programs, such as Windows Help Center, do not support comm. parameters.

maybe someone can write script for
adding "PASTE" and "Enter" key pressing after lunching such programs
« Last Edit: February 07, 2011, 10:57 AM by kikon »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #3 on: February 07, 2011, 11:02 AM »
you can tell farr to paste text into the current program.

as an example, type into farr: paste

i cant remember if farr pasting supports \n for simulating Enter, probably not.. but i could add that if needed.

kikon

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 19
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #4 on: February 07, 2011, 11:26 AM »
sorry mouser me for spending your time with my bad English...

I have created in Hotkey section :
run paste %cliptext% C:\WINDOWS\pchealth\helpctr\binaries\HelpCtr.exe \n

yes \n supported in FARR edit box, but can FARR send Enter-pressing to HelpCtr.exe

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #5 on: February 07, 2011, 11:28 AM »
the built-in paste command in farr won't send text to an arbitrary window -- for that may i suggest that the solution is to find a commandline tool that can do this, and just invoke it from farr.

perhaps someone can suggest such a commandline tool that could be run from farr?

kikon

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 19
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #6 on: February 07, 2011, 11:43 AM »
thank you,
I'l try to find such tool

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,610
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #7 on: February 07, 2011, 01:13 PM »
perhaps someone can suggest such a commandline tool that could be run from farr?

I can add that to WinSendKeys, I'm away for about an hour now, and then I'll have a look at it.

kikon

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 19
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #8 on: February 07, 2011, 01:24 PM »
I can add that to WinSendKeys, I'm away for about an hour now, and then I'll have a look at it.
thanks a lot ! I'm looking forward !

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,610
    • View Profile
    • Donate to Member
Re: two little steps - Paste and Go
« Reply #9 on: February 07, 2011, 04:25 PM »
Added -c, -cc and -cn options and released WinSendKeys 2.6

I updated the other thread (at the end, but the rest is important enough to at least see) with all the relevant info and an updated download.