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:35 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 ... 8 9 10 11 12 [13] 14 15 16 17next
301
I committed a new version that include the 7z.dll that seem necessary for 7z to work correctly. You can get it at the same address as before. There is no need to type ctrl-enter anymore. As long as the request is not complete the completion is automatic on enter.
302
Also, are you using msysgit or something else
yes it is msysgit. It is better than installing the whole cygwin. I forgot to add a git config core.autocrlf=false in the project. I will fix it soon. If you fork the project don't forget to set the parameters or the diff will be wrong until I fix it. I'll try to provide help if you want to use it given I prefer it to svn. I know it is a bit tough at first (at least it was for me ). Don't hesitate to ask.
303
This will not work in the current fscript because the GetObject function does not exist in FScript.

var WMIRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\" + computer + "\\root\\default:StdRegProv");

However it should not be a very difficult work to add it. It should just be a call to CoGetObject and return a script interface if everything goes well.
304
I looked at it too, and given the current fscript, it is not even doable to enumerate keys. It would require getobject which is not available on the global fscript FARR object. I may add it since it will allow many connection with the desktop.
305
zip C:\a.txt;C:\b.txt to c:\test.zip <-- didn't work -- no resulting test.zip file
Yes you are right, this is a very very beta version. I will make some correction soon.
306
cool idea and interesting.. doesnt seem to work all that well for me in terms of selecting directories to zip and autocompleting.. but cool idea.
Could you be a bit more explicit on how it doesn't work mouser ? There is a lot of way it can fail. Putting too many space between items, not putting a \ at end of a folder can cause problem zipping.
Autocompleting should work on ctrl-enter. Does it work ?
307
FZip allow to zip a selection of files. A query take this form :

zip C:\folder1\;c:\folder2\ to c:\test.zip

I used a trick to enable completion at each sublevel of the query : you get completion at C:\folder1\, at C:\folder2\ and at c:\test.zip.  You can autocomplete by typing CTRL-Enter (this replace tab currently ) as FARR doesn't notify plugins on tab key press. May be farr could allow plugins to handle the "tab" key ?
When you begin to type a filename c:\ farr does not seem to trigger the search (at the \ ) ? I'm not sure why but you can type c:/ instead to get results at the root level.

Every time you type ; you begin a new file selection in the file selection. When you are done with file selection type <space>to<space> then the name of the file you want to create. FZip will create a special entry for you to create the file.

You will need the latest fsubcript since I added some functions to the fscript.dll. You can get the latest function updated with all czb and ewemoa developpement at :

http://github.com/ec...cript/commits/master

You can then get the plugin at :

http://github.com/ec...dec/fzip/tree/master

Beyond the zip behavior this plugin is a experiment to see if FARR can use more natural language. Something like ubiquity but outside of the browser.

308
I think sub-plugins should not extend global state. fsubscript could expose many useful functions so that plugin developers have less need for sharing things.
Inclusion of other files can be done with eval(getTextFile("json.js")) if your plugin is too big to practically work in one file.
I found it a little odd that for onInit(), a sub-plugin defines onInit() -- similarly for onSetStrValue().  I think init() [if that's possible] seems somehow better-fitting in terms of naming -- either that or change all of the other things to match the names used by fscript.js.  Or may be some other idea?  What do you think?
Given it's done one way, I prefer it to stay the same so that we don't loose time talking about useless guidelines.

I'm please to see you on board czb :)
309
Good news I'm just waiting for the next farr that will add support for it.
310
Yes, it make sense for me.
Shouldn't we continue calling all the plugins even if one is explicit ? Why stopping the search ?
311
I may be wrong but it seem that the plugin is now doing the filtering. Is there a way to keep FARR doing the filtering ? I would like to avoid burden plugins dev with the filtering except when they don't need it. That was the reason I used modifiers : they didn't affect the filtering.

312
I'm not sure how stopsearch work. What would occured if previous plugins generates results (plugins and subplugins ). Wouldn't there be some random results depending on order of execution ?
313
The stop search is a very good idea. I was painfully trying to have aliases without modifier. It just work now :) and its much better.

I think we should consider this version official. Thank you a lot!
314
ewemoa I've replaced my skeleton functions with those you did. Thanks.
The querynokeyword would probably a bit different from the farr one. I'll have to remove the whole "fssc +pluginAlias". If you do it I'll integrate it. Also the FARR querynokeyword seem broken : It always return the same thing as the queryraw.
315
The one thing i think is really key is being able to have the subscripts run using their own independent keywords and regexes.
Do you mean configuring them ? or using them ?
I tried to use aliases for the independent keywords but it does not work right now because the alias replace the group name. This is why I needed to use the void parameters but it does not seem to work right now as I said. This would be nicer because it would allow the subplugins to look more like ordinary plugins

I put together a FSubScript plugin - Akete.
Felicitation you are a pionner of a new era :)
For your question in the plugin about the settings : One way to create options is to send a autohotkey executable, however you can do it the way you like. You need to send a message WM_USER+1 to the window name FScript/FSubScript. Autohotkey program can do this. However an IE with a registered custom protocol could do it to. UI in javascript is a bit tricky. I think I like the autohotkey solution the more.

I don't know if it is better to set script plugins in a subdirectory of fsubscript, or in a subdirectory of plugins or directly with other plugins. I like the solution 3 because it mean that it is a normal plugin. However, they are not normal plugin. It may not be a good idea. I'm not sure what's best.




316
I'm broke :)

I improved the now renamed FSubScript. There was some bugs in icons, results triggering, that should be now fixed. I also added a system to handle settings using ahk plugins. I made some improvement to make the scripts look like more like normal plugins. There might be bugs. There are centainly bugs.
However FSubScript begin to be usable. I'll let the dc community write all those wonderful plugins for farr that I hope FSubScript will help.

Tips :
- The new alias is fssc : for FarrSubSCript. Type fssc +colors to try the useless sample plugin.
- Don't define an alias for the plugins. It doesn't work currently. I need to use the groupname to identify subplugins and groupname is overwritten when an alias is defined.

See the links in the first post for downloading the last version.   :-*
317
This is a FScript based plugin. Sub-plugins are in fact plugins for the scripter plugin, not directly FARR plugins. There isn't any support for regex based search, and I'm not sure that I could add it.

The nice thing is that it will allow to develop a librairies around the scripter plugin to help developpement of future sub-plugins.
The not the good is that all scripts are loaded in the same script engine (this is what will allow the first point ) and that means that plugins can interfer each others. It is relatively pointless to create plugins that would break the system so I hope that future plugins writers will take care of not breaking their environment. Currently plugins could remove others plugins, break them but also add them dynamically.
318
Sub-plugins are exposed as modifiers. You have to type : "scripter +colors". It also complete with tab.
I agree that scripter is a very bad name. I didn't change it because I hardcode it in many places.

I'll let everybody propose names for the plugins. FMS is nice by the way.
319
FSubScript enable to load multiple javascript plugins in FARR without adding the FScript.dll for each. It should make it easier to write script plugins, share code between them and build a great FARR :)

The latest versions of FSubScript are maintained and improved by CZB. You can get it from the CZB with many plugins.
https://www.donation...ex.php?topic=17153.0
320
Yes, you are right, I made some choices when I wrote the FScript plugin. It does not handle all possibilities of the farr plugin api. At the time I didn't see a lot of use for plugins to handle outputs of others plugins.
What were the uses you think about this fonctionnality mouser ?
Writing this I think it could be possible to use this with modal plugins. Ex a zip plugins could work that way :
* type : zip -> switch the plugin in a kind of select file mode and clear the input
* select a file : any file selected after this with enter would be added to the queue. (use of the onProcessTrigger )
* type : to filename -> zip all the files in the queue into the filename given
321
Thank you mouser for all the indescribably cool compliments. I think the way to do it is to define a regex based script, that would select the plugin to call, tell him if it is explicit or not, etc...
I think too that light plugin would be nice for farr as it would enable easier plugin sharing. We have a long week-end in France that begin tomorrow, I should be able to have a look at what is needed.
I've a bit lost my motivation and I'm also working on some other projects, so encouragement are really welcomed :).
322
I don't have any time to to work on fscript currently. I added a link to download the source code in the original message. I'll have time to answer questions, however. Feel free to contact me :)
323
General Software Discussion / Re: Mozilla Ubiquity Prototype Available
« Last post by ecaradec on August 28, 2008, 03:47 AM »
I really like the UI too.
 - type your command on the first line
 - severals commands are selected
 - results

You can move on the differents commands and it will fetch results immediatly.

I like how the UI show what to type next. Ex when I type email the tip is email (message) (to contact)

This is very close to how FARR match commands.


324
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on August 21, 2008, 05:48 AM »
I haven't seen the problem before.
If someone else have this issue, please let me know.
Since you disabled antivirus and firewall it shouldn't be the problem.
Kaspersky Internet Security 2009 can sometime crash applications that use the script control and probably insecure components like Scripting.FileSystemObject. Did you use this one ? Sometimes antivirus are very hard to disable.

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