topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 12:03 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: Hotkeys to control windows?  (Read 5691 times)

Brig

  • Supporting Member
  • Joined in 2010
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Hotkeys to control windows?
« on: November 17, 2010, 11:12 AM »
Hi Folks:

I'm new to FARR--just learning how to use it. I've been using a launcher called Executor for several years; it's an indexing launcher and is pretty good really, but I wanted to try something else. FARR seems great, but one thing I really miss from Executor is the ability to set a hotkey to minimize the active window. Executor has internal keywords that handle such activities. Can FARR do this? I searched the forum and perused the online help, but I couldn't find anything. I find myself tapping Ctrl-[down arrow] and nothing happens!

Thanks for helping out a newbie.

Brig

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: Hotkeys to control windows?
« Reply #1 on: November 17, 2010, 11:35 AM »
Hi Brig,

Welcome to the site and to farr :)

You could actually set up FARR to do what you want:
  • You would do it by setting a custom hotkey in FARR, and specify a search string to trigger when you hit that hotkey
  • And then use an alias pack like this one which includes commands to manipulate the last active window.  I think the exact text you'd use with that would be  "Window Management Minimize\n".

However, let me say that this sounds messy because it is messy to do in FARR, because FARR is not meant to be used to provide hotkey triggering of generic actions like window controls.  There are a lot of hotkey programs that can so this kind of stuff really well, and a lot of people on DC use the AHK language to write scripts to handle hotkeys and manipulate windows.. And it seemed like not a great idea to try to make FARR a generic program for handling hotkeys and macros.

In short, you can do it in FARR but you probably shouldn't.  If you like configuring hotkeys to do things, do yourself a favor get yourself a nice hotkey program, there are a lot of good free ones (here's just one example).

ps. Where FARR can excel and do things better than hotkey programs is if you like to press a hotkey and have FARR pop up with a MENU of options.. In this case you can easily set custom hotkeys in FARR that tell FARR to display and start out with a search string you specify, which can match an alias that shows choices you can select from, etc.

Brig

  • Supporting Member
  • Joined in 2010
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #2 on: November 17, 2010, 11:43 AM »
Thanks Mouser. I really appreciate it. I think I'll try out what you say I "probably shouldn't" do, just to get my hands dirty with this kind of thing. I'll also check out a hot key program.

Thanks again. :)

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #3 on: November 17, 2010, 04:32 PM »
I use a slightly modified version of the nircmd alias to minimize or maximize last active window.

So here's what I added to the alias(I am pretty sure that this is not in the default):
1000>>>Max>->Maximize last active window | %ALIASDIR%\nircmd.exe win max handle %LASTHWND%
1000>>>Min>->Minimize last active window | %ALIASDIR%\nircmd.exe win min handle %LASTHWND%
1000>>>Restore>->Restore last active window | %ALIASDIR%\nircmd.exe win normal handle %LASTHWND%
1000>>>Center>->Center last active window | %ALIASDIR%\nircmd.exe win center handle %LASTHWND%

[tip]You can watch this screencast about aliases where you can see how to import this (i think  :-\)[/tip]
It is impossible to make anything foolproof because fools are so ingenious.

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #4 on: November 18, 2010, 04:09 PM »
If you like configuring hotkeys to do things, do yourself a favor get yourself a nice hotkey program, there are a lot of good free ones (here's just one example).

ps. Where FARR can excel and do things better than hotkey programs is if you like to press a hotkey and have FARR pop up with a MENU of options.

The example is HotKeyz, which indeed is a good one - and I'm pretty sure you can build mini-menus with it.  You certainly can with HotKeyP.  Not sure whether they'd have the power you'd want, you'd have to check.

Brig

  • Supporting Member
  • Joined in 2010
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #5 on: November 18, 2010, 04:19 PM »
Thanks skajfes! Thanks rjbull! I appreciate the tips. I've been too busy to do more than install HotKeyz and get it to minimize the current window--my autonomic Ctrl-[down arrow] impulse is satisfied once again. HotKeyz is nice. :Thmbsup: Once I get a chance to breath again I'll dig deeper into it. FARR too, of course. :D

Thanks again.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #6 on: November 19, 2010, 04:05 AM »

There must be a AutoHotkey script out there for minimising/'normalising'/maximising current window - anyone know of one?
I actually use PowerPro for this but it's really complete overkill as I use hardly any of it's other features...
Tom

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #7 on: November 19, 2010, 10:02 AM »

There must be a AutoHotkey script out there for minimising/'normalising'/maximising current window - anyone know of one?
I actually use PowerPro for this but it's really complete overkill as I use hardly any of it's other features...
Try or adapt Skrommel's Winwarden, here on Donationcoder?

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: Hotkeys to control windows?
« Reply #8 on: November 20, 2010, 03:22 PM »
There must be a AutoHotkey script out there for minimising/'normalising'/maximising current window - anyone know of one?
I actually use PowerPro for this but it's really complete overkill as I use hardly any of it's other features...

As I understand it, PowerPro is still quite a compact program with fairly modest requirements, and you still have all its power available if you need it in future.  On the other hand, you could fill up your PC with single-purpose AHK scripts, and forget what they all did...