topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday June 17, 2025, 6: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

Recent Posts

Pages: prev1 ... 5 6 7 8 9 [10] 11next
226
FARR Plugins and Aliases / Re: CZB pack
« Last post by skajfes on March 25, 2009, 03:27 AM »
Maybe it is something with IE. Are some of those plugins using some special feature that is bugged in ie6? Or does FARR's html mode even work with ie6?
227
Find And Run Robot / Re: last window id
« Last post by skajfes on March 19, 2009, 06:31 PM »
Would be nice with user variable 'FileManager=[customfilemanager]' so it'll open a dir in a user's favourite file manager if no Open Dialog is... open. Even better would be if it could read FARR's setting for custom file explorer, but I don't know if that's possible.

I went a step further. I have modified the ahk script a bit to open a new window in Windows' default browser. And yeah, changing folders in Total commander is also supported now...

This is a really great plugin/alias idea. Simple, effective, brilliant. I am using it a whole day now and I just can't get enough of it.

5+ for the idea cardboard42
228
Find And Run Robot / Re: What happended to Ctrl+Alt+Enter?
« Last post by skajfes on March 19, 2009, 09:35 AM »
i'm on a PC with no Farr (!) so i can't confirm the problem but check this thread for a possible solution.
And yes, as it was concluded on this thread the problem is in the C# SDK. Somehow it breaks keyboard shortcuts. I am not sure is this a bug or a feature.

Vitalyb?
229
Find And Run Robot / Re: What happended to Ctrl+Alt+Enter?
« Last post by skajfes on March 19, 2009, 03:30 AM »
i'm on a PC with no Farr (!) so i can't confirm the problem but check this thread for a possible solution.

What is a PC with no FARR? :)
230
Find And Run Robot / What happended to Ctrl+Alt+Enter?
« Last post by skajfes on March 18, 2009, 04:13 AM »
For some time now (last version or two, I am not sure) FARR will not launch all results on Ctrl+Alt+Enter. Am I doing something wrong, or is there an option that I accidentally turned on/off?
231
Find And Run Robot / Re: last window id
« Last post by skajfes on March 17, 2009, 06:51 PM »
Wow, great idea. I think I am gonna love this extension, thanks.

I've tweaked it a bit to support Directory Opus and Office 2007 dialogs.
232
Find And Run Robot / Re: question about search folders options
« Last post by skajfes on March 16, 2009, 05:22 AM »
i don't know about a setting. But you can add -\ to the search string to eliminate folders from result list. I guess you could create an alias to append -\ to every search string to eliminate folders globally or something.
233
Find And Run Robot / Re: Addon: Execute applications with parameters
« Last post by skajfes on March 14, 2009, 11:56 AM »
Or you can just use this alias:
1000>>>Run with arguments>->$$2 $$3 | $$1 $$3 /ICON=$$1>+>((?:.*)\\((?:.*).(?:exe|bat|lnk))) (.*)
234
Find And Run Robot / Re: custom file explorer ?
« Last post by skajfes on March 12, 2009, 05:32 PM »
It works for me.... I have just copied your custom file explorer string and when i open a folder it opens in new tab on already open lister
235
Find And Run Robot / Re: Moving from Launchy
« Last post by skajfes on February 19, 2009, 05:19 PM »
From what I've seen from my friends etc, they all use Launchy (if even that) because that is the first launcher app they came accross and are just used to it. FARR is somewhat difficult to find, I guess because of the name. And if you find it somehow it requires some setup to bend it to your needs, and most people don't want to "waste" time. I like FARR just because with minimum effort you can do just about anything you can think of, and that makes it a great tool for helping with everyday tasks.

People also complain that non-indexed search is slow, but do not realize that if properly configured, FARR doesn't need to search more than a couple of hundred files and folders, and that is really not a big deal on todays computers and is done in a matter of milliseconds. If you really want to instantly search your entire disk use Everything, Locate32 or simillar app. FARR is not made for that.
236
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 17, 2009, 06:17 AM »
i don't know about keyword registering, but it is not such a problem to filter out the results. :)
237
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 12, 2009, 07:30 AM »
Sorry, my mistake, I said that you need to fill SourceList to get the results but you need to to fill "this" (your class is derived from a list so this.add() works just fine), and SourceList is used like a temporary storage for your data. So if you need to load your data just once do it in the constructor, and load the SourceList, and than in GetActionsCount you fill "this" so the items get displayed. I need my data to be fresh every time so i call the reloadClippings() method that loads the clips from a file and filter the results in regard of parameters passed (typed after plugin regex ). Here's the code:
public override int GetActionsCount(string KeyKeywords)
{
                       reloadClippings();     // loads the SourceList
KeyKeywords = GetSearch(KeyKeywords);  // strips plugin regex from the input sting

this.ClearTemporaryItems();
foreach (Actions.ClipboardAction Item in SourceList)
{
if (Item.Caption.ToLower().Contains(KeyKeywords))
this.Add(Item);
}

return this.Count;
}

238
FARR Plugins and Aliases / Re: FARR displaying html code in results
« Last post by skajfes on January 12, 2009, 07:07 AM »
Well as I figured it out, I can do some formating in the output using
<b> </b> and <i> </i>
html codes and that's just fine, I want to be able to do that. I don't know how FARR exactly parses html codes in the result list, but from what I've seen it strips all tags and evaluates some like bold or italic, so I don't know what changes are necessary.

I want to be able to format the string with bold and italic and in some cases I want to be able to display the html tags instead of bold-ed text. I assume the easiest way is to add some tags FARR is able to parse, like 
<pre> </pre>
that could signal farr not to parse string inside the tags or something like that.

What do you think?
239
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 11, 2009, 05:07 AM »
I think you should add your code that is supposed to execute every time the plugin is called in the GetActionsCount method (that's what I did). Maybe the Farr icon is not loaded because when farr is started(and your plugin with it) your plugin picks up the icon list just before FARR puts its icon in the tray.

So, every time the plugin is activated Farr calls GetActionsCount to get the number of results your plugin has to offer, so I think it is the best time to fill in the results.

Hope it helps
skajfes
240
FARR Plugins and Aliases / FARR displaying html code in results
« Last post by skajfes on January 10, 2009, 01:27 PM »
Mouser, is it possible to display html code in result window? I am trying to make a copy of KlipKeeper plugin that will display html and remove white spaces from the clips when displaying them. But html code doesn't show. For example i copy "<head>", and all that is displayed is blank space. If I replace < with &lt; then "&lt;head>" is displayed.
241
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 10, 2009, 06:04 AM »
If I put it in GetActionsCount it doesn't work. That's ok though. However, on executing a result, it does nothing except hide FARR. I have a simple MessageBox.Show() string printed at the moment (in Execute()), but the MessageBox doesn't show?

Try setting the path value of every item in the result list. It doesn't matter what it is, and results wont execute unless it is set. (at least from what I have seen)
242
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 10, 2009, 06:00 AM »
now in order to do that, you NEED the new farr callback which was recently added (and is not yet in the C# api but i have on good authority it will be added soon)
Now, that's all that I needed :)

and then in your set_strvalue(name,value) event function that gets called by farr
This one is for vitalyb: what is the function(method) name in c# sdk that I need to override to catch this call or is it not yet implemented?
243
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 09, 2009, 06:28 AM »
Now I have a question. It concerns the new feature of adding buttons to the statusbar and context menu.
I can add an item to the statusbar with ExecuteFARRCommand() method, but how can I set the command to to tell the plugin something? In the help it says that I have to use "pcommand" launch string with some extra text as parameter, and that FARR will do a plugin->set_strvalue("pcommand",EXTRA_TEXT) call to the plugin. Now, how can I catch that call?

And another question is about adding context menu items. Help states that
The "contextmenu" addmenu command must be called at a very specific time, only after farr requests it from your plugin.  This happens when your plugin received an AllowProcessTrigger call with triggermode=PrepareContextMenu.
How can I answer that call?

Thanks.
244
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 09, 2009, 06:18 AM »
Itunes plugin does use SetSearchParameters method that no longer exists (at least from what i can see) but that didn't compile for me because I don't have itunes libraries installed.

So to write a plugin I used the suplied Visual Studio template for FARR plugin project, created a new project and that's it.
Most of my plugin logic is in the classes that derive from ActionList and ActionItem.

In the class that derives from FARRCSharpPluginBase override the method SetGeneralInfoParameters to set general parameters of the plugin (plugin name, creator, icon etc.)

In the constructor of the class that derives from ActionList call the base constructor and pass it pluginBase object and regex to activate the plugin as string. Like this:
      
public ClipboardList(FARRCSharpPluginBase pluginBase)
   : base(pluginBase, "^clip")
{
         
}


In the GetActionsCount method I fill my results into SourceList. SourceList is defined as List<ActionItem> in ActionList class that I derived from. Results are of type ActionItem (or any derived class).

Use the constructor of ActionItem derived class to initialize the item. I did a clipboard plugin so i passed it some text that I read from a file as an argument.

Override the GetDataRaw and Execute methods. In GetDataRaw you define what will be written in Path and Group variables of the result. And Execute method defines what happens when user executes an item.
You need to override the CaptionRaw property to set the Caption that is displayed in result list.

use pluginbase.ExecuteFarrCommand () method to pass commands to farr.

And that's mostly it, I hope that this isn't as confusing as I think it is.
245
Find And Run Robot / Re: Network access?
« Last post by skajfes on January 05, 2009, 02:42 PM »
I've seen this request a couple of times already, but I just don't have the need for something like that and thus didn't take a better look. But now I have an idea: basically this could be done easily with a plugin. Set the regex to "\" and a plugin could easily access network folders.
246
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on January 05, 2009, 03:24 AM »
Err. The examples ARE using ActionItems and ActionLists. See iTunes plugin for example.

All the documentation is in the first post.
Sorry, my mistake. I was tired and wasn't thinking very well :) In the meantime, i had a look on all the provided plugins and figured it out, and I must say, it is great! I wrote a plugin in half an hour!
247
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by skajfes on December 26, 2008, 10:28 AM »
okej, ive gote the sdk up and running, but how do i write plugins now? what are actionitems and actionlists and how do they make my life easyer? and what happened to SetSearchParameters method? could you please update the documentation, or at least the examples?

thanks.
s
248
FARR Plugins and Aliases / Re: KlipKeeper (A FARR2 Plugin by hamradio)
« Last post by skajfes on December 18, 2008, 08:56 AM »
Could you escape html tags and remove whitespace when you set the FARR results text? I copy a lot of html and code and when i want to paste it i have to guess which one it is because the result is blank or filled with "|" for tabs etc...

Thanks.

BTW. great plugin!
249
Find And Run Robot / Re: Unicode??
« Last post by skajfes on November 22, 2008, 12:10 PM »
This is something I don't quite get. Assuming FARR is used in its basic function of looking up files, do you need Unicode to enter the name of any file in your filesystem? I can't quite imagine having files named using Chinese characters on a Central European version of Windows, for example. How is this useful (or even possible) in practice?
Yes, but what if you have Chinese version of Windows? Or in my case(i am from Croatia) when you have filenames with special characters like "šđčćž" which are quite often in filenames around here.
250
Find And Run Robot / Re: Font script?
« Last post by skajfes on November 07, 2008, 10:48 AM »
did you make sure to check the box saying "override default font settings"?
Yes, of course :)

There is some difference in the display when I check or uncheck this option. When it is unchecked, font script is western, but when i check it script is set to central european(i guess?) but only some of the special characters are shown correctly and no matter what the option for font script is set to display is just the same.

And one other thing, when I restart FARR script for editbox font is allways set to western. For other fonts the option is set to whatever is set the last time.
Pages: prev1 ... 5 6 7 8 9 [10] 11next