topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 2, 2021, 12:01 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: Farr strecthed idea, send key strokes  (Read 4802 times)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Farr strecthed idea, send key strokes
« on: May 14, 2009, 11:53 PM »
I have been thinking about this for a while. It might be interesting if Farr could send key strokes-combinations to focused application. We could use it as a like shorthand macro tool, for small tasks for apps that support wide range of shortcuts.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,674
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #1 on: May 14, 2009, 11:56 PM »
FARR can paste text into the application that had focus before it was triggered.
I can actually quite easily add the ability to send arbitrary keystrokes/hotkeys as well if people want, or of course a plugin could do this.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #2 on: May 15, 2009, 12:00 AM »
I knew about copying and pasting and that is how I got the idea actually.

If the shortcut format could be close to ahk that would even be greater. I am also hoping that Farr could accept sequence of keys and key combinations.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,674
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #3 on: May 15, 2009, 12:06 AM »
you can always launch an ahk script and pass it the active window handle from farr -- in fact i think someone already did this.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 559
    • View Profile
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #4 on: May 15, 2009, 03:36 AM »
I can actually quite easily add the ability to send arbitrary keystrokes/hotkeys as well if people want, or of course a plugin could do this.

you should do it ;) but not as a plugin as a core feature

Rocketboy

  • Participant
  • Joined in 2008
  • *
  • Posts: 19
    • View Profile
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #5 on: November 18, 2020, 10:36 AM »
Bringing topic back from the dead..

I looked around, and I couldn't find if this was done yet... I'm hoping to replace ControlPad https://sector-seven.../software/controlpad , as the standard launch methods (press and hold * or F12) randomly act like some sort of weird undocumented sticky key.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,129
    • View Profile
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #6 on: November 18, 2020, 04:00 PM »
You can create alias actions that send keys to the window that was active before FARR started
example | sendkeys abc
https://www.donation...ulate_keypresses.htm
https://www.donation...l_launch_strings.htm

Note to mouser: I noticed that if we chain sleep and sendkeys commands then FARR sleeps, sends the keys and reopens and refocuses FARR. If we don't have the sleep command FARR doesn't reopen after sending the keys. Bug?
example | sleep 2000 ;;; sendkeys abc

Rocketboy

  • Participant
  • Joined in 2008
  • *
  • Posts: 19
    • View Profile
    • Donate to Member
Re: Farr strecthed idea, send key strokes
« Reply #7 on: November 19, 2020, 07:45 AM »
Thanks for the tip!