topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 4:14 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

Last post Author Topic: New C# FARR Plugin: FARRAltTab  (Read 102355 times)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
New C# FARR Plugin: FARRAltTab
« on: November 23, 2007, 02: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:

Screenshot - 27_11_2007 , 21_15_07.png

Download link (please unpack it to your "FARR\Plugins\FARRAltTab\" directory):
http://vitalyb.dcmem...ltTab/FARRAltTab.zip

This is a very first release that was built on a very first release of the C# SDK so bugs are expected. Please let me know of any issues.

Known issues
  • It seems that some windows are being ignored by the plugin.
  • 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
  • The plugin performance aren't too shiny. I hope it will fixed later. It is mainly due to the way the icons are loaded.

Planned features
  • A config window to tell the plugin to ignore certain windows or to show some windows that don't appear on task bar.
  • Context menu that will enable you to close windows by overriding the shell context menu (not sure if possible)
  • option to ignore (not show in list) any windows that are not minimized.

Version History
  • 1.15 Now shows all the Windows, including those that were previously skipped (liked iTunes) also, shows all the open Windows and does not limit to 9 as before
  • 1.11 Fixed the bug that occured when a search was done for not existing string
  • 1.10 Huge performance boost on loading
  • 1.00 Initial release

Here is the link to the C# SDK along with the code of the plugin:
https://www.donation...ex.php?topic=10992.0
« Last Edit: November 27, 2007, 01:22 PM by vitalyb »

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: New C# FARR Plugin: FARRAltTab
« Reply #1 on: November 23, 2007, 02:43 PM »
YES!!! VERY COOL!!
 :greenclp:


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

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #2 on: November 23, 2007, 03: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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #3 on: November 23, 2007, 03:26 PM »
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
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #4 on: November 23, 2007, 04: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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #5 on: November 23, 2007, 04:09 PM »
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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #6 on: November 23, 2007, 04: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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #7 on: November 23, 2007, 07:33 PM »
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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #8 on: November 23, 2007, 07:44 PM »
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
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #9 on: November 23, 2007, 08:13 PM »
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!

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #10 on: November 23, 2007, 08:20 PM »
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?

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

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

so wait, now I dont have to hit ALT+TAB, I have to hit another hotkey
-Josh

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

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #11 on: November 24, 2007, 12: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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #12 on: November 24, 2007, 12: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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #13 on: November 24, 2007, 01: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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #14 on: November 24, 2007, 01: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.

#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.
#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.
#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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #15 on: November 24, 2007, 05: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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #16 on: November 24, 2007, 05:53 PM »
wow it's fast now.. actually instant.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #17 on: November 25, 2007, 02:48 AM »
What mouser said  :o :up:

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #18 on: November 25, 2007, 01: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:
« Last Edit: November 25, 2007, 01:48 PM by Armando »

Lashiec

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

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: New C# FARR Plugin: FARRAltTab
« Reply #20 on: November 25, 2007, 02:51 PM »
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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #21 on: November 25, 2007, 05: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,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #22 on: November 25, 2007, 05: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
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #23 on: November 25, 2007, 07:21 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 :)

Of course !  :up:

zajc

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRAltTab
« Reply #24 on: November 27, 2007, 08:39 AM »
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.