Advanced Explorer - Questions et réponses

Réponses aux questions sur le gestionnaire de fichier local en JavaScript.

What are the JavaScript libraries and modules used by AE?

I thank the authors of the following libraries, in alphabetical order:

By myself:

The icons come from the following packs:

Why not using a WYSIWYG editor?

In the context of use that would not be really relevant. I actually tried a dozen different editors, WYSIWYG or not, including the most popular, as Tiny MCE or CKEditor. These editors go well with the files they create themselves but do not show anything good when a file created by another program is loaded. For reading files on the fly in directories, they are not suitable. In addition they tend to edit files they load, and add tags, and it's still a drawback.
Finally, the ACE editor is clearly one of the best choice due to the extent of its capabilities, and it can replace both a notes editor like NotePad and a source code editor. And you can still view the page in WYSIWYG since AE works in the browser!

How do I create a directory?

There is no icon for this because the name is entered directly in the path field at the top of the file list. The program just requests confirmation.

How to add a tool in the box?

To add an extension, just create a new directory inside BoxL or BoxR. For example, Hello. This directory should contain an HTML file named hello.html and a png image named hello.png.
The hello.html file must include the xdata.js script located at the root of Advanced Explorer. In this file, the xdata object has the source and target properties, each with a path property (the directory path to be treated) and list (the list of selected files). This list may be empty.
What you do with that data is up to your imagination. Some examples ...

Hello

This is a demonstration program. When it starts, the interface sends a message to the script hello.js. The script uses a local TCP connection (with the Node Net API) for transmitting a response to the server, which in turn sends this response to the interface through WebSocket.

PNGCompress

Interface to the pngquant image compression software. Advanced Explorer allows you to select a directory and possibly a list of images in this directory. It then calls the compression program that replaces all images in PNG format selected by a new, more compact file.
When no file is selected, the entire contents of the directory, all PNG extension files, are compressed.
You have to download the version of PNGQuant for your operating system and put the program into:

/Advanced-Explorer/ BoxL/PNGCompress/

Search

Allows to find a string in a file, a list of file, a directory or a tree of dirs.