Multi Commander > Script

Where is the scripts log file located?

<< < (2/3) > >>

trittico:
ok, now I'm trying to set up the script so that it's stored in an external file, but when I click on configuration->user commands, the screen I get is different than what's in the docs and there is no option to store the script externally. I've attached a screen shot of my user commands screen.

Mathias (Author):
The doc is a bit out dated.. But all script are stored externally now.

look in
C:\Users\[username]\AppData\Roaming\MultiCommander\Config\Scripts\

<script ID>.udc

You can rename it to something else. just keep the .udc extension..

trittico:
Excellent! Thank you!

trittico:

--- Quote from: Mathias (Author) on January 09, 2025, 14:46:12 ---The doc is a bit out dated.. But all script are stored externally now.

look in
C:\Users\[username]\AppData\Roaming\MultiCommander\Config\Scripts\

<script ID>.udc

You can rename it to something else. just keep the .udc extension..

--- End quote ---

So, I found the script file, but I can't get it work smoothly.  By that I mean that editing the file and saving it does not immediately update the script in MC. Does it possibly cache it? Or is there some way to refresh MC so that it re-reads the file?

I've also tried not renaming it but the same thing happens.

I assume that restarting MC would do it.  Haven't tried that but that's not a preferred solution. Copy/pasting from my editor to the MC script editor works, but that's not great either.

For that matter, is there a preferred or recommended way of writing/testing scripts?

Mathias (Author):
When you say save it ..  do you mean using external editor ? then yes. MC will not reload it automatically.

Use build in editor or the MultiScriptDebugger, it can also save the script.

You often test the script anyway in the Debugger to be able to go step by step to see so everything work..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version