topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday November 29, 2025, 11:34 pm
  • 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 ... 11 12 13 14 15 [16] 17next
376
I'm not sure if there is a thread for plugin maker to ask questions :
I have the impression that calling ExecuteCallback_SearchStateChanged does not cause farr to update results if the plugin does not change state simultaneously. Does calling ExecuteCallback_SearchStateChanged is the right way to have farr to update its results list ?
On my delicious plugin, the results appear much faster when the current state is set to stop and ExecuteCallback_SearchStateChanged is called than when ExecuteCallback_SearchStateChanged only is called.
377
Here version 1.0.0.5. the dcupdate in on now.
http://e.craft.free....icious/delicious.zip

I figured out the issue with the double farr launch. My little son found a way to fill the browser field with garbage and this was preventing the url from launching. There should be one launch only now.
Thank mouser.

ecaradec: fantastic plugin! btw, is it possible to view all the assigned tags? something like farr's agroups or aplugins.
simply add +sall on the command line to get all results. Is it what you mean ?
378
ecaradec,
you might want to make an update file so that farr can check when there are updates and grab them automatically.  if you look at the other plugins youll see how, just create a .dcupdate file.
Yes you are right.

You may have miss my question mouser :
How does FARR launch urls ?

379
I'm sorry. I changed the way I upload files and it upload as a text file. The address didn't change.
Download links removed : use link in the first message.
380
ecaradec, is it possible that FARR is opening the url AND your plugin is opening it as well?
Yes, this is probably that since I didn't tell FARR do not launch result. However, I didn't notice the problem because farr does not launch url on my desktop. Certainly something with my desktop configuration. I remember that it surprised me that setting the type to URL did not automatically launched the browser.

How does FARR launch urls ?

I made a version that tell FARR to not launch url :
Download links removed : use link in the first message.

381
Here is the last version. It is more stable and faster. It's a work in progress :Thmbsup:
http://e.craft.free....elicious.1.00.03.rar
http://e.craft.free..../fscript.1.00.03.rar
382
Ok I think the problem is fixed. It was caused by pending requests that completed after the current FARR query ended.
Download links removed : use link in the first message.
383
i tried again
i works now but i have frequent fatal errors
FARR crashes completely, here are some screenshots :
Ohh. I'm sorry. Something seem wrong with fscript. Results are pooled in a vector that is not ready. I will check that.
384
That's great! How often does it update?
It pool the del.icio.us update api to know when there is a change. It should be up to date all the time. But I think there is some kind of bug in msxml2.httprequest and it sometime get the cache result instead of the current server answer.
385
You can download the lastest version from the dc post :
https://www.donation...43.msg93190#msg93190
I hope you will like them.
If you miss them :
  • FScript is a Javascript SDK for FARR
  • Del.icio.us plugin allow you to explore your del.icio.us bookmark from FARR


[edited to attach screenshot - mouser]
386
Sometimes del.icio.us server refuse to answer to the request to get all posts to protect against abusive uses. Could you :
- try again
- check that your login and password are correct
- try to go to https://api.del.icio.us/v1/posts/all with your browser. It should return an xml document not an html message.

If nothing work try to add FARR.debug(xmlhttp.responseText) before xml.loadXML(xmlhttp.responseText); in doRequest function in fscript.js, type dlc to run the plugin and check the results. If you don't know : do ctrl-c on the dialog then ctrl-v to paste it in a message on the forum or as a private message.
387
I made a new version of the del.icio.us plugin. It is based on the del.icio.us api and can explore all your posts now.  :D.

The plugin connect on your account to download the list of your posts so don't forget to set your login and password at the top of the script.

The plugin now use FARR filtering. I find this much more user friendly than using tags only for searching. Let me know. The syntax has a bit changed. It is now dlc word word word... The first check can be a bit slow (some seconds ) but the results are cached and filtering is fast after that. Tags are prefixed with ':' so if you really want to filter on some tag type :tag.

The FScript plugin has evolved too. I fixed some bugs and the whole should be more usable.

Download links removed : use link in the first message.
388
I don't use alt+# either. ctrl+enter or shift+enter seem like the most logical to push items on the queue. It mean go to line without validation in several applications. I vote for it :up:.
represent the queue as a simple filename + filename + filename ... line above the textbox.
That would be good enough at frst. I'm not sure that editing items in the queue would be useful anyways.
389
It does not sound very fast to ask each time whether to launch or to queue ? :tellme:. I think I would personnaly prefer a shortcut-key.

Manu
390
I tried to make a sample plugin that could recognize pattern and use the autocompletion in the way I describe before. I'm now convince that it can't work.
I really like the idea of a different shortcut to queue items.
Here is an idea on how to show the queue list. May be a user could just move the cursor to the item he want to change with the cursor key and FARR could activate that part of the query ?
how to have user indicate that they want to queue a result rather than launch it.
Doesn't the shortcut key solve that ?
391
usually what happens is that i end up feeling like i dont have a perfect grasp on the "right" way to add it in terms of user interface, and so end up putting off implementing it.
Yes, FARR mainly work with free form text and the difficult part came from that. Quicksilver UI is breaking the request in parts this make the comprehension easier for the software. I did like how FARR work anyways. Plain text is easier to copy and paste.
I read about half of the post from the two threads, I think that my idea is a bit different. I did use > as a separator, but I would give up the decision of that to the plugins.
The idea is use the plugin to emit alias that the user can use for autocompleting the request. Suppose I would like to make a plugin that would zip a list of files. The complete request would look something like : file1, file2, file3 > zipto > file.zip.
Here is how it could work :
I type 'fil', FARR propose me file1, file2, file3.
Hit TAB, FARR propose me file1(current result ), group and zip(more on zip later ). group can't be selected but can be autocomplete.
Hit TAB on group, FARR complete to "file,".
The plugin can decide that "file," is a pattern requiring to select more files and run a dosearch command to enable selecting some kind of file.
If its not enough discrimining, the group plugin could decide to autocomplete to [file], or %%file%%. There might be several kind of group available like group_with_comma, or group_with_comma_and_parenthesis. The issue here is that plugins may or may not recognize some kind of group pattern but I think a simple one with comma and a more complex but more discriminating should be enough for all uses. The simpler is better for deleting last selection with ctrl-tab ihmo.
Ok now you have file1, file2, file3 on your command line. group and zip option are available.
TAB on zip: now you have file1, file2, file3 > zip >
This pattern start a dosearch for the target file.
It could seem like a lot of work but the dosearch could actually handle most of the work. A group plugin will handle the first part, a zip plugin will use the group of file and a target search is a normal dosearch with modifier for selecting file only.
Everything could work only by notation convention. FARR need to start dosearch when asked and a way to complete that does not clear the command line. Does it make sense ? Could that work ?

Manu
392
E.g if you selcect "iTunes" a tab and choose in context menu "Close" it'd set the search path to: "tab iTunes close". Something along these lines.
Yes having booth would be great.
Currently I'm pressing <context menu key> then <m> to get the system menu which I can customize with regedit... but its probably not very end user :).
It recall me that I wanted to ask if the system context menu could be opened at the same place as the FARR context menu. Currently it open at the mouse position, which is not very nice when you opened it from keyboard ?

Manu
393
1) It would be really useful to plugin developers if you we could customize the context menu (per item and globally). For example, in FARRAltTab plugin you could right click a tab and select "Close" or "Close Process". Really lots of options there.
I think this is the contextual action that is really the key thing here.

Its a bit different approach but you could get a similar behavior by testing the form of your query in your plugin and returning differents results depending of its form.
If the query match : "tab .* >" return the possible actions being "close" or "close process"
Else if the query match : "tab .*" then output windows title
'>' is the important part in the syntax because it introduce a different part in the query. Any character could be used, and differents characters could be used to separate different part in a query.

To make it work well with the autocompletion you should set the path to each window to something like "tab explorer > close" of "tab explorer > close process" with a type being ALIAS. That way when you use tab to complete the action it will nicely complete to "tab explorer >". Does it make sense ?

It would look better integrated into FARR IHMO.

Manu - Contextual action infected :)
394
I did try to build something like object > action > ... for farr. Here is for example what the farr command line would look like.
a) 'sdfsdfsdf' > mailto > [email protected]
b) 'sfsdffs' > appendto > c:\test.txt
c) c:\A.bat; c:\B.txt; c:\C.txt > zipto > c:\f.zip

Very little things miss for building that in FARR. I don't know if there is interest for this kind of presentation.
- First is the ability to call a dosearch from a plugin. That way the plugin could filter the command line and start a search from a part of the query. setsearch and setsearchnogo clear the current query so they can't be used for doing that.
- Second is FARR completion that by default clear all the current query. Its possible to build line like the (c) but after your first result you must absolutely not hit tab because it would clear the query. One way I see to do that is to allow the plugin to set a completion prefix that would be added to the completion : If I type c:\A.bat; c:\B.txt; <dosearch +files> then the plugin would set "c:\A.bat; c:\B.txt;" as the prefix so that tab add this to the completion line.
Another way would be for farr to call back the plugin to ask him if it want to handle completion but it certainly would complexify the system.

I did prototype it, and it work as long as I handle all the case. This two points would allow to make this kind of selection to cooperate with other plugins.

Cheers :)

Manu
395
it will never be able to search all delicious bookmarks of an account
Yes you are right. Only the last links are in the rss feed. The del.icio.us plugin does not allow to search all the archived link. Del.icio.us has an export fonctionnality that I may be able to use, but it is html and I would have to parse it with regex and combine that with the last results from rss.
I really wanted to get fscript out. Del.icio.us plugin was really meant as a sample for it.

would it be possible to create a version of it that would work with any scripting language that integrates with it (Ruby, Perl, Groovy etc.)?
Yes I could, but I don't know if its a good idea since ruby, perl, etc... are not installed by default with Windows and plugins would require installing another language to run. But its easy to do.

ecaradec, wow! btw enlighten me, does this mean i can run bookmarklets from Farr?
I'm sorry but fscript its more a JScript SDK. Its a way to write plugins in Javascript. Possibilities are those of shell script. There may be a way to run bookmarklets from farr but it would require to write the plugin for that. FScript is an easier way to write plugins for FARR.

Manu
396
Yes it's a javascript SDK for FARR. It is still a bit limited : only plugins that publish results can be written now. It should  be good enough for many uses.
397
Delicious plugin
The delicious plugin allow you to explore your bookmarks stored on the site del.icio.us.

Installation
Download the latest version at http://e.craft.free....icious/delicious.zip and decompress it to farr/plugins/delicious.
Important information : Configure your username and password in the advanced options of the plugin.
If this is the first time you try the plugin, type dpu so that the plugin download the list of posts or dtu to get the list of tags.
The plugin is based on the javascript SDK (FScript.dll ) which may require that you install the Windows Script Control Host which you can get at :
http://www.microsoft...1&DisplayLang=en

List of commands
dp : list delicious posts
dpu : list delicious posts and update local copy if necessary
dt : list delicious tags
dtu : list delicious tags and update local copy if necessary
dp and dt are a bit faster since they only work on the local copy of the posts or tags.

FScript : Javascript SDK
The principle of fscript.dll is the following :
Put the dll in a folder next to a file named fscript.js. FARR will call you on onSearchBegin and on onRegexSearchMatch. You can call FARR.emitResult to publish results.

The SDK has finally got a documentation packaged with a sample. You can get the last version at : http://e.craft.free....pt/FScriptSample.rar

I hope to see a lot of little baby script plugins.

Emmanuel
398
It would be good if we could (optionally) have FARR add in program entries for things directly executed by explorer
Explorer makes this relatively easy by default by storing a record of programs that have been executed in some registry keys

I'm not sure if this is exactly what you want : Windows maintains a 'recent document' folder with shortcuts to recent files opened with Explorer. You can add it to the search directory of FARR. It is located into "C:\document and settings\%USERNAME%\My recent documents"
You can also tune the numbers of items Explorer should keep but I forget how. Probably a registry key.
399
I have got another problem, FARR seem to have stopped search results in the history. It began between the version 2.0.60 and 2.0.68.
I think that this bug might have passed unnoted. It presists in V2.00.76. I'm noticing it because it's one of the features i most use in Farr. :)

Nobody seem to have noticed this bug again. It is really annoying (at least for me ) because I often run programs and documents with the directory search (full path ) and I could get them again without configuring anything. It miss me so much that I revert to a previous version (2.0.60 ) and no other features added give me the will to upgrade and loose this. I hope to see this fixed.

Manu
400
I modified my precedent message and added screenshots. Please, tell me you can reproduce it !

Manu
Pages: prev1 ... 11 12 13 14 15 [16] 17next