New FileSystem plugin - ScriptWFX 1.0

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

New FileSystem plugin - ScriptWFX 1.0

Post by *ricobautsch »

First of all i want to say Hello (TC-) World ;-).

I'm new to this forum and want to introduce myself with a new filesystem plugin called ScriptWFX.
My idea was simple, write (virtual) filesystems fast, everywhere without the need of a compiler, implement it in a scripting language.

ScriptWFX is the result of this idea. With this plugin you can implement filesystems in VBScript syntax, all you need is a simple text editor.

Maybe someone else than me find it usefull, so i want to share it.

You can download the plugin here.

ricobautsch
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Nice, but…

Post by *Clo »

2ricobautsch
:) Hello !
Welcome aboard !

- Sounds good, I guess that a pretty bunch of advanced users will be happy to play with that plugin.

- Unfortunately, I'm not a script-expert, the plugin doesn't work under Win 98 SE (FAT 32), and it's not translatable… All strings are in German, and the hellish MS Sans Serif font is used… :|
- I'll install it later on my Xp-Pro machine, though.
Whether you would plan to make the plugin multilingual, I could help you for French ;)

Anyway, thanks, and glad to hear from you here.

:mrgreen: Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

ricobautsch,
A nice welcome from me, too! :)

Have you been inspired by Perl FS?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

Post by *ricobautsch »

Thanx for your response and your welcome.

@Hacker
I haven't read about PerlFS before writing my plugin. As i can see it has the same base idea. But i think most poeple are more familiar with VBScript, than with Perl (like me ;-)).
ScriptWFX is based on the Microsoft Scripting Host, wich supports any ActiveX scripting language, also PerlScript. Currently i only support VBScript, because of limitations in JScript and no knowledge about other ActiveX scripting languages, which you have to install separately. But it should be a small investment for me to support other languages, if requested, and if they has no limitations like JScript (no passing parameters by reference). Maybe, if strong requested, i can also change the API to not use reference-parameters.

@Clo
In Windows versions prior to Windows2000 you have to install the Microsoft Windows Script Control. You can find a link for download this component in the help file under "System requirements". Have you installed this component on your Win 98 SE machine?

ScriptWFX has currently no user-interface, except of message dialogs. All messages that come from the plugin are in english, which is the second native language for programmers and script writers ;-). The font used in message dialogs is not hard-coded, it depends on your windows settings.
Maybe i misunderstood something?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

This stuff ROCKS!
A [face=impact]BIG thank you [/face]for that!
And it comes with help, examples, great work really!
I switched to Linux, bye and thanks for all the fish!
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

This is a great plugin. I love the RSS-example. This plugin sure makes a lot of the plugin-requests almost obsolete... (for instance the RSS-plugin ;) )!

Thanks!
license #76904
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Mh... here the Plugin crashes TC after installation and restart of TC...
Image: http://img267.echo.cx/img267/9713/tcerror2lj.jpg

TC.Ini-Entry:
Scripts=%Commander_Path%\PlugIns\FileSystem\Script\ScriptWFX.wfx

Scripts.Ini
[Scripts]
Path = Scripts
Script =
Timeout = 30000

Files in %Commander_Path%\PlugIns\FileSystem\Script\:
ScriptWFX.ini
ScriptWFX.wfx
ScriptWFXHelp.chm

Files in %Commander_Path%\PlugIns\FileSystem\Script\Scripts:
D:\Programme\TotalCmd\PlugIns\FileSystem\Script\Scripts\Local Filesystem.vbs
D:\Programme\TotalCmd\PlugIns\FileSystem\Script\Scripts\Outlook Folders.vbs
D:\Programme\TotalCmd\PlugIns\FileSystem\Script\Scripts\RSS_Feed.ico
D:\Programme\TotalCmd\PlugIns\FileSystem\Script\Scripts\RSS_Feed.vbs

WinVersion: WinXPPro Sp2 & NetFramework 1.1

Where Do I see If I have "Microsoft ScriptControl" installed ?

Edit: so much about
>For this Plugin to work you only need the "Microsoft ScriptControl".
>This component is part of Windows 2000 or newer.
Its not in XpPro Sp2...
German Version: http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=de&SrcCategoryId=&SrcFamilyId=d7e31492-2595-49e6-8c02-1426fec693ac&genscs=0&u=http%3a% ... ct10de.exe
Hoecker sie sind raus!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

More info

Post by *Clo »

2ricobautsch
:) Hello !
- The link in the Help is invalid.
- Searching for this @ M$, I discovered that's an ActiveX control, so no, thank you…

- It's possible that this stuff be already installed, though…
- Anyway, actually TC crashes here, in the same way than for Sir_Silva above.
- I guess you might give a list of needed files in <windows> in order to check…
All messages that come from the plugin are in english, which is the second native language for programmers and script writers
- It's your opinion, not mine… The most good plugins for TC have a LNG-file, even when there are only some lines to translate. That matches one of the TC best feature which is the full multilingual support…
The font used in message dialogs is not hard-coded, it depends on your windows settings.
- I know this, I'm not quite a newbie :P
- I meant : the internal font for the template-dialog, whether you would use it later…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

Post by *ricobautsch »

@Sir_SiLvA
The ClassID of the Script Control is {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC}
Search the registry for this GUID, if installed correctly it should be found at HKEY_CLASSES_ROOT\CLSID\. The inproc-server is msscript.ocx, normally found in %systemroot%\system32.

I have also tested the plugin with WinXP Pro SP2. The ScriptControl is already installed in the clean fresh Windows installation.

I have not tested yet to install the german ScriptControl. Microsoft installs the english version with Windows, also in a german Windows.
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

Post by *ricobautsch »

@Clo
- Here the link in the helpfile is working.
- Yes, it's an ActiveX control, part of Windows since Windows2000
- it would help, if you check the things i wrote in my prior post to Sir_SiLvA
- multilingual support... hm.. ok, i agree with you, it's a good feature. I will think about it. You wrote earlier that you get german messages? What german messages did you get???
(Thinking loudly: Maybe there is really a problem with the german ScriptControl... I have to check this)
- if the plugin will get dialogs in the future, i will remember the problems with MS Sans Serif
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

More--

Post by *Clo »

2ricobautsch

• I checked : no spot of neither {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} registry-key, nor <msscript.ocx> here…

- I didn't say I got messages in German -since the plugin crashes TC immediately - but that all strings ARE in German inside the library, that my little finger told me… :lol:

- Thank you to avoid MS Sans Serif, instead i.e. setting "Ms Shell Dlg" does the trick in any case…

:mrgreen: V G
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

Post by *ricobautsch »

@Clo
if you cannot find any spot of the guid or msscript.ocx on you system, then i guess the ScripControl is not installed, or installation is defect. In this case the Plugin cannot work.
Please try to install (reinstall) the ScriptControl.
Sadly, i cannot do tests on Win98, because i don't have a Win98 System running.

Your little finger has a mistake :lol:
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Clo
but that all strings ARE in German inside the library
Sorry - I can NOT find the least trace of German in the ScriptWFX.zip archive. Where do you find that?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Truth in the well---

Post by *Clo »

2petermad

:) Hello Peter !
- I said «…all strings ARE in German inside the library…»
- The Truth is in you email-well :D

:mrgreen: K R
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Good little finger…

Post by *Clo »

2ricobautsch
Your little finger has a mistake
:) Not at all, you know very well that I mean…

- I don't wish to install an Active-X-Spy from M$ here, so I'll look for a workaround to get the file and set an appropriate registry key if possible…
:mrgreen: VG
Claude
clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply