DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: New C# FARR Plugin: FARRAltTab  (Read 216,100 times)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
New C# FARR Plugin: FARRAltTab
« on: November 23, 2007, 08:28 PM »
Heya
I just finished FARRAltTab plugin. Basically it lets you switch among windows using FARR and by typing the name of the window you switch to:

[attach]
« Last Edit: November 27, 2007, 07:22 PM by vitalyb »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #1 on: November 23, 2007, 08:43 PM »
YES!!! VERY COOL!!
:greenclp:


Quote
I will be posting the C# SDK itself along with the code of this plugin soon too.
that's the greatest part of all!!

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: New C# FARR Plugin: FARRAltTab
« Reply #2 on: November 23, 2007, 09:18 PM »
well done. The helper program I was working on is now out of date before its released lol :) But it's better as a plugin.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #3 on: November 23, 2007, 09:26 PM »
Quote
A config window to tell the plugin to ignore certain windows or to show some windows that don't appear on task bar.

this would be very nice.

can i also request:
option to ignore (not show in list) any windows that are not minimized.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: New C# FARR Plugin: FARRAltTab
« Reply #4 on: November 23, 2007, 10:04 PM »
great plugin vitalyb !

small bug, let say you have a window called "Desktop"

you type :
tab d
then
e
then
s

everything is ok "Desktop" climbs to the top of the list ...

but now if you type

x (or z or any other "wrong letter")

Desktop still show in the list, but when you press enter, it does not work

now if you delete x then press enter it works again ...

another thing, if you type : tab desxx
Desktop does not show anymore (the bug only appears for the first "wrong" character)

Cheers, Nitrix
keep up the good work !

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: New C# FARR Plugin: FARRAltTab
« Reply #5 on: November 23, 2007, 10:09 PM »
Quote
A config window to tell the plugin to ignore certain windows or to show some windows that don't appear on task bar.

this would be very nice.

can i also request:
option to ignore (not show in list) any windows that are not minimized.

Sure! Added to todo.
Oh and almost forgot. Thanks a lot to Mouser for a very active support during development! :Thmbsup:

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: New C# FARR Plugin: FARRAltTab
« Reply #6 on: November 23, 2007, 10:12 PM »
great plugin vitalyb !

small bug, let say you have a window called "Desktop"...

you type : des and everything is ok "Desktop" climbs to the top of the list but now if you type x (or z or any other "wrong letter")
Desktop still show in the list, but when you press enter, it does not work

You're right. Able to reproduce it too. Will fix.

Btw, suggested key combination for invoking: Alt+CapsLock with the output tab\s

I tried to take over WinKey + Tab but it doesn't let me :(

perlguy

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 30
Re: New C# FARR Plugin: FARRAltTab
« Reply #7 on: November 24, 2007, 01:33 AM »
Interesting, as AutoHotKey works with #Tab as a hotkey...  which is what I was using, to invoke iswitchw.ahk (which I found on the forms here I beleive).  I think now I'll setup a macro to invoke FARR with #Tab,  sending "tab\s" as you suggest.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #8 on: November 24, 2007, 01:44 AM »
Quote
I think now I'll setup a macro to invoke FARR with #Tab,  sending "tab\s" as you suggest.

no need - FARR now has it's own hotkey system.. you can add the hotkey from farr to launch with tab\s

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,411
    • Gathering Badge
    • Official Forum Clown
    • Coding Snacks
    • Plugin Coding Medal
    • Volunteers/Staff
    • Military Service Badge - US Army
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: New C# FARR Plugin: FARRAltTab
« Reply #9 on: November 24, 2007, 02:13 AM »
so wait, now I dont have to hit ALT+TAB, I have to hit another hotkey, then arrow down or select another key to switch? How is this easier than ALT+TAB?

JUST KIDDING! Great job! Very useful!
Strength in Knowledge

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: New C# FARR Plugin: FARRAltTab
« Reply #10 on: November 24, 2007, 02:20 AM »
Interesting, as AutoHotKey works with #Tab as a hotkey...  which is what I was using, to invoke iswitchw.ahk (which I found on the forms here I beleive).  I think now I'll setup a macro to invoke FARR with #Tab,  sending "tab\s" as you suggest.

How would you go on invoking FARR from Autohotkey?

Quote from: Mouser
no need - FARR now has it's own hotkey system.. you can add the hotkey from farr to launch with tab\s

Yeah you can... But specifically on Winkey+Tab it says that this combination is unavailable.

Quote from: Josh
so wait, now I dont have to hit ALT+TAB, I have to hit another hotkey

Ugh. I got all hot and ready to a lengthy explanation.
Whew. Anyway, everybody thanks for the compliments and you're all most welcome :)

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: New C# FARR Plugin: FARRAltTab
« Reply #11 on: November 24, 2007, 06:29 AM »
Really cool plugin! Works great with Win+Tab for me ;)

Also I support the feature requests in here.

Thanks, vitalyb

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #12 on: November 24, 2007, 06:39 AM »
In case anyone missed the significance of this I just want to reiterate that, while it's nice to have and alt+tab plugin, what is really great about what vitalyb did, is that he made a wrapper for FARR Plugins so that plugins could be written in C#, which was not possible before now.

Much like Okke did for Delphi, this really opens up FARR plugins to a new set of coders.  :up: :up:

perlguy

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 30
Re: New C# FARR Plugin: FARRAltTab
« Reply #13 on: November 24, 2007, 07:08 AM »
How did the FARR hotkeys sneak by me!?   As for Win+Tab, I get the "Unavailable" message too, and it doesn't activate when set that way.  However, it allows Alt+Tab to be set.   :huh:

perlguy

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 30
Re: New C# FARR Plugin: FARRAltTab
« Reply #14 on: November 24, 2007, 07:24 AM »
Oh... since someone was asking about how I use AHK to trigger FARR... pretty simple. For example, since I can't get FARR to bind to Win+Space for activation, I use AHK to do it for me.

Code
#space:: Send {Pause}

The old way I was invoking the AltTab plugin - which wasn't very reliable - some of the letters would sometimes get missed.
Code
#tab:: Send {Pause}tab{space}

The new, more reliable way, using AHK to trigger a custom FARR HotKey.
Press Win+Tab to send Ctrl+Alt+Tab to FARR, which I have a hokey defined to start the AltTab Plugin.
Code
#Tab:: Send ^!{TAB}

If I wasn't already using AHK for so many other things, I'd probably just live with using a different hotkey combo, but since I do have a set of hotkeys running all the time, this works great.

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: New C# FARR Plugin: FARRAltTab
« Reply #15 on: November 24, 2007, 11:40 PM »
Try the new version. It should load a LOT faster now.

The difference between .NET and using the raw Windows API functions :(

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #16 on: November 24, 2007, 11:53 PM »
wow it's fast now.. actually instant.

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: New C# FARR Plugin: FARRAltTab
« Reply #17 on: November 25, 2007, 08:48 AM »
What mouser said  :o :up:

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • Coding Snacks
Re: New C# FARR Plugin: FARRAltTab
« Reply #18 on: November 25, 2007, 07:42 PM »
aaaaaaaahhhhh!!!!!!!  :up:
Exactly what I wanted. Exactly.  :up: :up: :up: :up:
vitalyb, you're my hero of the day.



Edit : just want to add why this is soooo useful to me : when I have 15 word files opened at the same time and need to switch between them. Priceless. just type a few letters of the title. Bam.  :Thmbsup: :Thmbsup:
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
« Last Edit: November 25, 2007, 07:48 PM by Armando »

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
Re: New C# FARR Plugin: FARRAltTab
« Reply #19 on: November 25, 2007, 08:20 PM »
The only thing needed now is the plugin appearing in DcUpdater's list ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #20 on: November 25, 2007, 08:51 PM »
Quote
The only thing needed now is the plugin appearing in DcUpdater's list
it's already there  8)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: New C# FARR Plugin: FARRAltTab
« Reply #21 on: November 25, 2007, 11:16 PM »
Fixed the bug that was found by nitrix-ud. DCUpdate it up!

And everyone! Thanks for the complements :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New C# FARR Plugin: FARRAltTab
« Reply #22 on: November 25, 2007, 11:20 PM »
ps.
i know i shouldn't have to remind anyone but.. if you want to see more things like this, more plugins for farr, or just more coders on dc creating stuff... please remember to send authors some donationcredits as a gesture of appreciation :)

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • Coding Snacks
Re: New C# FARR Plugin: FARRAltTab
« Reply #23 on: November 26, 2007, 01:21 AM »
ps.
i know i shouldn't have to remind anyone but.. if you want to see more things like this, more plugins for farr, or just more coders on dc creating stuff... please remember to send authors some donationcredits as a gesture of appreciation :)

Of course !  :up:
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould

zajc

  • Participant
  • Joined in 2007
  • *
  • Posts: 22
Re: New C# FARR Plugin: FARRAltTab
« Reply #24 on: November 27, 2007, 02:39 PM »
I can't install this plugin on Vista 64-bit :(
I have a folder \FindAndRunRobot\Plugins\FARRAltTab\ and 4 files in it

FARRAltTab.dcupdate
FARRAltTab.dll
FARRAltTab.ico
FARRPluginRCW.dll

DCUpdater is showing plugin, but FARR doesn't show in "Click to Examine and Configure Plugins".

Please help  :-\

Anyway this plugin is  :-* when it will work  :Thmbsup: on my computer.


Original address: https://www.donationcoder.com/forum/index.php?topic=10988.0