Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - total_annihilation00

Pages: [1] 2
1
I want to use MC's MultiScript to delete the contents of a folder while keeping the folder itself intact, just delete all files and subdirectories inside it. I tried a lot of AI-generated code but it didn't work ! Is it even possible to do this via MC ? 'Cause while it says D:\\SomeFolder\\* is valid syntax, I think the asterisk (to delete the contents of the folder) is breaking the script, I'am at wits end here ! I can get MC to delete a single file, but a folder /w files and subdirectories is another thing altogether. I'd appreciate all the help I can get ! I'am not certain but I think I read somewhere that MC has removed a lot of scripting commands, especially VBScript, though I'am not sure. P.S: Perhaps using a For loop to delete the files inside ?

I tried this:
Code: [Select]
Delete FILE="C:\Users\dell\Downloads\thumbstick\silotest.log" CONFIRM=YES RECYCLE=YES;
Delete FILE="C:\Users\dell\Downloads\thumbstick\Silo\" RECURSE=YES CONFIRM=YES RECYCLE=YES;

And before that this:
Code: [Select]
@var $filename = "C:\\Users\\dell\\Downloads\\thumbstick\\Silo\\*";
@var $options[] = {"RECYCLE"};
DeleteFile( $filename, $options );

P.P.S: Nevermind, I'am doing it using a PowerShell script, & using MC to call it…

2
I'am attempting to develop a script that dynamically executes files based on their extensions, bypassing the default file type associations. For example, I want to open *.ZIP files with 'FBNeoX' (game ROM emulator software) instead of the standard 'WinRar' as configured in File Type Settings et. al.. The goal is to trigger specific applications to open files with certain extensions through a custom script when the file is focused (separate from File Type Settings.)

I've experimented with AI-generated scripts and implemented multiple conditional statements (if/else), but I keep encountering errors. I'am wondering if it's feasible to achieve this functionality within MultiCommander via scripting. Is such dynamic extension-based execution achievable in MultiCommander, and if so, what would be the recommended approach ?

This doesn't work (one of many !)::

Code: [Select]
// SmartOpen — Ctrl+F9
// Requires MultiScript modules: Str (String Tools), Path (Path Tools)
@var $f = GetSourceFocusPath();
if ($f == "") { return; }
if (FS.IsFolder($f) == 1) { return; }
// extension (lowercase, without dot)
@var $ext = Path.GetFileExtension($f);   // requires Path module
$ext = Str.LCase($ext);                  // requires Str module
@var $app = "";
// MASM
if      ($ext == "asm") { $app = "D:\\masm32\\qeditor.exe"; }
// Text-like (Markdown intentionally NOT included)
elseif  ($ext == "txt" || $ext == "ini" || $ext == "log" || $ext == "ahk" ||
         $ext == "mtxt"|| $ext == "vbs" || $ext == "conf"|| $ext == "cpp" ||
         $ext == "h"   || $ext == "rc"  || $ext == "nfo" || $ext == "info"||
         $ext == "ps1" || $ext == "xml" || $ext == "jsee"|| $ext == "cfg") {
  $app = "C:\\Users\\dell\\Downloads\\thumbstick\\notepad2-4-2-25-en-win\\Notepad2.exe";
}
// Pictures
elseif  ($ext == "jpg" || $ext == "jpeg"|| $ext == "jpe" || $ext == "png" ||
         $ext == "gif" || $ext == "bmp" || $ext == "tif" || $ext == "tiff"||
         $ext == "webp"|| $ext == "jfif"|| $ext == "psd") {
  $app = "D:\\Download\\FreeVimager\\FreeVimager.exe";
}
// E-books
elseif  ($ext == "pdf" || $ext == "epub"|| $ext == "djvu"|| $ext == "mobi" ||
         $ext == "fb2" || $ext == "cb7" || $ext == "cbr" || $ext == "cbt"  ||
         $ext == "cbz" || $ext == "prc" || $ext == "azw" || $ext == "chm") {
  $app = "C:\\Users\\dell\\Documents\\SumatraALLOld\\SumatraPDF-3.2-64.exe";
}
// Cursors / Icons
elseif  ($ext == "cur" || $ext == "ani") {
  $app = "D:\\Download\\RealWorld Cursor Editor\\RWCursorEditor.exe";
}
// PowerPoint
elseif  ($ext == "pptx"|| $ext == "ppt" || $ext == "pps" || $ext == "ppsx") {
  $app = "C:\\Program Files\\Microsoft Office\\root\\Office16\\POWERPNT.EXE";
}
// Visual Studio
elseif  ($ext == "sln") {
  $app = "D:\\Download\\VS 19 CE\\Common7\\IDE\\devenv.exe";
}
// Sega Genesis / Mega-Drive (.md intentionally included)
elseif  ($ext == "gen" || $ext == "smd" || $ext == "bin" || $ext == "md") {
  $app = "D:\\Games\\Genesis ROMs\\Gens-2.11\\Gens 211 (Hacked) (USETHIS).qalnk";
}
// SNES
elseif  ($ext == "sfc" || $ext == "smc" || $ext == "fig") {
  $app = "D:\\Games\\Genesis ROMs\\SNES 9x Emulator\\SNES 9x x64 Emulator.qalnk";
}
// NES
elseif  ($ext == "nes") {
  $app = "D:\\Games\\Genesis ROMs\\Nestopia140bin\\Nestopia NES Emulator.qalnk";
}
// FB Neo ZIP ROMs
elseif  ($ext == "zip") {
  $app = "C:\\Users\\dell\\Documents\\FB Neo x64 (DO NOT DELETE)\\fbneo64.exe";
}
// Launch (ShellExecute works for .exe and .qalnk)
if ($app == "") {
  MC.ShellExecute FILE="{$f}" SHOW=1;
} else {
  MC.ShellExecute FILE="{$app}" PARAMS="\"{$f}\"" SHOW=1;
}

OR THIS::

Code: [Select]
// SmartOpen (Ctrl+F9) — Multi Commander v15.6
// Opens the focused file in a designated app by extension
@var $item = GetSourceFocusPath();
if ($item == "") { return; }         // nothing focused
if (FS.IsFolder($item) == 1) { return; }  // ignore folders
@var $ext = Str.LCase(Path.GetFileExt($item));  // extension without dot (lowercase)
@var $app = "";
// Text-like
if ( $ext == "txt"  || $ext == "ini" || $ext == "log" || $ext == "ahk" ||
     $ext == "mtxt" || $ext == "vbs" || $ext == "conf"|| $ext == "cpp" ||
     $ext == "h"    || $ext == "rc"  || $ext == "asm" || $ext == "nfo" ||
     $ext == "info" || $ext == "ps1" || $ext == "md"  || $ext == "xml" ||
     $ext == "jsee" || $ext == "cfg" ) {
  $app = "C:\Users\dell\Downloads\thumbstick\notepad2-4-2-25-en-win\Notepad2.exe";
// Pictures
} else if ( $ext == "jpg" || $ext == "png"  || $ext == "jpeg" || $ext == "gif" ||
            $ext == "webp"|| $ext == "jpe"  || $ext == "jfif" || $ext == "psd" ||
            $ext == "bmp" || $ext == "tif"  || $ext == "tiff" ) {
  $app = "D:\Download\FreeVimager\FreeVimager.exe";
// e-Books
} else if ( $ext == "pdf" || $ext == "epub" || $ext == "djvu" || $ext == "mobi" ||
            $ext == "fb2" || $ext == "cb7"  || $ext == "cbr"  || $ext == "cbt"  ||
            $ext == "cbz" || $ext == "prc"  || $ext == "azw"  || $ext == "chm" ) {
  $app = "C:\Users\dell\Documents\SumatraALLOld\SumatraPDF-3.2-64.exe";
// Cursors / Icons
} else if ( $ext == "cur" || $ext == "ani" ) {
  $app = "D:\Download\RealWorld Cursor Editor\RWCursorEditor.exe";
// PowerPoint
} else if ($ext == "pptx") {
  $app = "C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE";
// Visual Studio Solutions
} else if ($ext == "sln") {
  $app = "D:\Download\VS 19 CE\Common7\IDE\devenv.exe";
} else {
  // No handler for this extension
  return;
}
// Launch the app with the focused file as argument
App.Run CMD="$app" PARAMS="\"$item\"" SHOW=1 WAIT=0;

P.S: *.QALNK filetypes are just special types of shortcuts I use to Run as Admin, effectively bypassing UAC Prompts (using the "Quick Admin" app.) Apparently you need to use ShellExecute to open *.QALNK files in MC & stuff…

3
In my Find Files F3 Dialog I cannot see some text & buttons are hidden out of view (the UI element are overflowing the window panel.) Could you please fix this critical Overflow bug so I can use Find Files? I think it's because I use the "Fixedsys Excelsior 3.01 NoLiga" font which is a large font (in my WindowBlinds (theme skinning app)) (as you can see in the Tabbed Controls in the Dialog Box) —so can you make the GroupBox control housing the controls larger and fit the contents? The rest of the Tabs are Okay and displays within its bounds/ region. Please I use Find Files a lot when perusing my USB Drives, I would like to be able to see what I'm doing, so if you could please rollout a fix (make it use the standard font in the Tabs or make the GroupBox control fit into the area)… Here's a screenshot to better illustrate the problem:

P.S: I had an issue with Task Manager's text contents being too small due to my WindowBlinds skin, so I made it use "Fixedsys Excelsior 3.01 NoLiga" font for Titlebar and all text, making it significantly larger but more readable. Perhaps that's why the controls in the content area are overflowing !

4
I need a way to Restore Columns Layout to Default in MultiCommander (perhaps with a Script or Custom Command perhaps?) This would be handy since I can bind it to a UDC hotkey as there's no Lock Layout option at present. This would be very useful for me!
P.S: Oh wow I used the "Customize Columns…" to set it to Auto-Load on "C:\" and "D:\" Paths and Subdirectories —it's working brilliantly now !!!  :D
It's all here, hope it helps ! http://multicommander.com/Docs/ExplorerPanel-CustomizeColumnLayouts

5
In my MultiCommander I accidentally deleted my Color Profile named "Dark Mode" I have it in my backup but everytime I open Color Rules Editor dialog in MC it only shows "Default", before it was set to "Dark Mode" as default correctly. My question is how do I set a certain Color Profile as Default? Also I think there's a glitch. I cannot restore my "Dark Mode" Color Profile into Color Rules folder, it doesn't get set to Default !

6
I'm looking to assign a custom hotkey (e.g., Ctrl+Shift+A) to open the Manage Aliases dialog directly via scripting or a user-defined command. This dialog is heavily used, but I couldn't find an option to bind it in Keyboard Customization.

I've attempted to invoke it using various scripting methods such as:
  • MC.OpenAliasManager()
  • Core.Config("ManageAliases")
  • MC.RunCmd(50178) (where 50178 is the menu command ID for the Alias Manager)

However, none of these approaches successfully open the dialog via a hotkey. Is there a reliable way to trigger the Alias Editor through a hotkey or scripting command?

7
Bug Description:
When attempting to rename a read-only file, the system prompts for confirmation with an option to force rename. If the user navigates to "No, Do Not Rename" using the Down Arrow key and confirms with Enter, the file still gets renamed instead of cancelling the operation. This indicates that the confirmation dialog's response is not being correctly processed, allowing a force rename to proceed even when "No" is selected.

Notes:
  • The bug persists across multiple versions/releases.
  • Expected behavior is that selecting "No" should cancel the rename operation.

8
Please add functionality to lock sorting columns within the Explorer panel, preventing accidental resizing or reordering. The locking state should be toggleable via right-click context menu on the column headers. This feature aims to preserve the user-defined default column layout, reducing the need for repeated adjustments and enhancing stability during navigation.
P.S.: The sorting order doesn't require locking; only the resize functionality needs to be locked.
P.P.S: I see it's stored in "ColumnSets.xml" —made a backup of it ! False alarm; the data isn't stored at that path.

9
I'am noticing that the "Pin to Taskbar" context menu option (accessible via right-click) for EXE or LNK files is missing in Multi Commander. However, I can add this option manually through Windows Explorer. Is there a chance you could perhaps implement the "Pin to Taskbar" functionality within Multi Commander? I'am running Windows 10 FYI. :-\

10
Following the implementation of the search filtering feature, I've noticed that the sorting state for the Aliases column does not persist. Specifically, when I set the Alias column to sort alphabetically, this order is lost upon subsequent Aliases Box launches interactions. Currently, I need to manually click the "Alias" column header each time to reapply the alphabetical sort.

Could you please fix persistent sorting for the Aliases column so that the alphabetical order remains consistent across sessions and re-opening Aliases Box?

In the screenshot, all the Aliases below "xxzeusct" lose their Sorting Order each time I open the Aliases Box !

11
Issue Description:
When launching applications via Aliases, the active tab's path (representing the current working directory) is being assigned as the configuration or log file storage location instead of the application's actual startup directory. Specifically, the application’s startup folder, as defined in the executable’s properties (the "Startup Folder" in the Exe Properties), is not being used as the working directory upon launch.

Details:
  • For example, launching Yahoo-8Ball-Pool-Clone.exe via an alias ("8ball") like:
Code: [Select]
!"D:\Download\cpp-projekt\FuzenOp_SiloTest\Release\Yahoo-8Ball-Pool-Clone.exe"
results in the current tab being D:\Download\AutoHotkey\Compiler\, and the application writes its config/log files into this directory instead of its intended startup directory (in my case the "Pool-Settings.txt" config file was placed in here erroneously).
  • The root cause appears to be that the application’s working directory is incorrectly set to the active tab (the current working directory in the shell or environment), rather than the "Startup Folder" as specified in the executable properties.
  • This causes files that are supposed to be stored in the application's startup directory to instead be stored in the current tab's directory, leading to misplaced configuration files and logs.

Summary:
The launch mechanism via Aliases incorrectly assigns the current working directory (the open tab) as the application's working directory, instead of using the executable's designated startup folder. This behavior constitutes a bug in how the environment initializes the app's working context upon launch.

12
Why is the update notification for MultiCommander displayed while the dialog box remains empty and does not provide details about the update contents ? Could this be indicative of a bug ? I conducted some research and would like to confirm whether this update is exclusively for Windows 11 users, as I am currently using Windows 10.

13
Multi Commander does not explicitly mention displaying the count of items to be deleted in its Delete Dialog Box. Would be nice to view the Deleted Files/Folder Count beforehand ! Useful if say I accidentally selected another file/folder as well w/o realizing !  ;)

14
After updating to the latest Beta (the latest one which reads long paths in Images in built-in DataViewer), by a stroke of genius I found out that running in a duplicate portable copy folder, I'am able to cycle through images in built-in DataViewer by pressing the blue Back & Forward Buttons in the Image DataViewer's Menu. I was wondering where the hotkeys for these reside, so I can try changing the keys for this & stop using JPEGView for images. When I press Spacebar it displays the next image in the foler, but the ArrowKeys & PageUp/Down don't work, perhaps re-customizing the hotkeys might fix this ?! (if I knew where they were in the Keyboard Customization)…
P.S: Please allow the Tab Forward/Backward cycling keys to be customized. I don't like Ctrl+Tab/Ctrl+Shift+Tab for cycling tabs, I would prefer Ctrl+PageUp/PageDown instead, if that means clearing the hotkey for the Image cycling (or whatever) Ctrl+PageUp/PageDown I will do that if I have to !

Please allow customizing/ setting hotkeys for back & forward cycling of images & Tabs !!

15
In my MC, the File Type Setup Icons only skins the "Details" view mode icons, not the icons in the "Thumbnail List" view mode. Wish it would skin the icons in the Thumbnails View as well, though I can understand that images etc. /w an associated Preview Handler capability would mean the Previews in the Thumbnails would stop working, & only the static custom Icons would display —that would be an issue ! Anyway, is this a known bug ?

16
I need the MultiTag to open the currently selected file (via Custom Menu) to the app, without the path, only the filename without the extension even, and certainly not the full filepath. When I enter this in MSDOS it works: "C:\Users\dell\Documents\fba64_029743\fba64.exe garou" (without quotes) but in MultiCommander I tried both variants of ${focusfilepath}: ${focusfilename} (returns only the name of the file that is currently in focus, without its path) and ${focusfile} (identifier to return the filename with its extension) but they both don't work (I'am entering these as a User Defined Command (External Command) into Custom Menu so I can right-click a file & open the game ROM selected in the FB Alpha program, as a command-line parameter (it accepts filenames only, w/o path and extension.) Please help me find the right MultiTag/identifier for this.

17
Sorry for the trouble but I have a bunch of Entries in File Type Setup but they aren't persistent & randomly some Entries disappear, & I have to re-enter them constantly. If you could fix that in a future update that would be brilliant ! 😊

18
I'am using the Word Wrap (MC TextViewer) together /w setting it Dynamically, but still the text overflows out of the Window. Perhaps this can be fixed in a future version please? Sometimes changing the Encoding on top helps fix this but usually it overflows out into the horizontal scrollbar !  :(

19
Support and Feedback / Custom Icons For File Extensions Not Working !
« on: November 23, 2024, 11:56:11 »
I tried adding Custom Icons (via Configuration menu > File Type Setup > Icons) for .txt .ahk .ini .pdf (they're .ico files), but it's not showing these new updated icon entries ! Even tried closing & relaunching MC. Is it working for anyone else ? Also wondered if you could make custom icons for Folders as well ?! I'am guessing not...

20
Previewing Textfiles on Hover is currently unsupported am I right ? I would like to be able to preview a portion of a Textfile on Mouse Hover (in the Hover Box), if this can be done (right now my Text Preview Support is set to Video for some reason), I think I've messed it up. But do correct me if I'am wrong… Would be a c00 feature !  :D
P.S: It should also support ".INI" & ".LOG" file extensions.

21
You should make it so that in PictureViewer, when you press the [Left/Right] Arrow Keys, it loads the Previous /Next image in the folder —that would be super useful! Kind of like a Slideshow but manually controlled. It would be a great idea to add the Left/Right Arrow Keys perusal functionality to the Hover Preview as well, would complement the PictureViewer perusal & make it much more powerful !

22
Ohhh so I was copying some Images (changing PNGs to WebPs extensions using mass-MultiRename of some 23 files in User/Downloads/ subfolder) & COMODO AV flagged MultiCommander as "probably Cryptolocker @ 14.2" (without notifying) that's how the MultiCommander EXE got deleted (I thought it had crashed & ransomware blocked me from accessing User/Downloads in Explorer), I noticed it just now it's still in COMODO AV Quarantine ! Anyway I had downloaded the Portable Zip & replaced the MC EXE. It's working fine just had to update to latest Beta & also I didn't lose any config/ settings ! 🧞‍♂️ After checking Exclusions, MC is whitelisted; I don't know how it happened, gotta do MultiRenames outside these protected User/ folders (if you've got COMODO Internet Security Premium) ! 😌 P.S: I lost those Images during the conversion process dialog but I managed to re-download them.

23
Before you could click on an item in the Aliases dialog, and press a key and it would jump to that character in the list; I think (correct me if I'am wrong.) Could you bring back that functionality for Aliases, it would help navigate the huge number of Aliases I have ! Let's say an Alias item has focus and I press the "P" key it should jump to the first item that starts with "P". Just a minor feature but would help a lot. Similar to the  alphabeticized-jump-on-keydown User Defined Commands —it's already present for UDC, why not for Aliases ?  :)

24
I have this old app that's meant to be run as 32-bit (QREAD 95) —when run within MC it runs as 64-bit & gets redirected into not opening the proper files. I need to be able to emulate a 32-bit running environment when I open it from MC. Like in 32-bit via my Taskbar it opens all known files for me, but in 64-bit it opens a separate workspace (due to WOW64 redirect.) I tried some methods to run a file as 32-bit using command-line paramters but they didn't work. Any solution ?

25
If I enter an extensive filename in the Quick Filter on a folder with multiple files, the search does not return one single unique match, instead it lists a large number of inaccurate results. For instance in a folder with PDF's, I entered this into the Quick Filter and it didn't narrow it down to one match. The search query was "Sockets, Shellcode, Porting, & Coding. Reverse Engineering Exploits & Tool Coding For Sec Pro" —however when I deleted most of the Quick Filter title it showed the one match properly, just breaks on long searches. It works for short queries well, but needs to be fixed so long unique filenames are handled\ displayed properly.  :)

Pages: [1] 2