Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How can I get the current working directory via javascript? I would need this variable path for a JS Plugin. |
||||
|
Hello ? |
||||
|
What path do you need to know? |
||||
|
function opendir() Here is an example of how to use the path. you have to replace pntmassimo= <your username>. so the plugin once started will open the Coppercube Plugin folder. |
||||
|
The path where the JavaScript file resides. (This is a relatively variable path) Similar to this: window.location.pathname |
||||
|
If you want to put your plugin in the Copperube menu you have to put it in that path, if you go to see in the directory there are the various scripts that you use in Coppercube. |
||||
|
Here is my JavaScript-Editor-Plugin: https://workupload.com/file/gYNa... (Update) Anyone who needs the editor may use it in free and report any Errors. And here's the Scintilla license: https://www.scintilla.org/Licens... |
|