Search found 3 matches

by k20
14 Jan 2026 03:34
Forum: Tips & Tricks, Questions & Answers
Topic: why this script don't work?
Replies: 6
Views: 188

Re: why this script don't work?

working code: // Get count to check for 'single' mode logic $numSel = get("CountSelected"); if ($numSel == 0) { echo "No file selected."; } // Use native array as requested $entries = array( "Notepad++|<xydrive>\Portables\~Viewers\notepad++\notepad++.exe|any", "ImH...
by k20
13 Jan 2026 15:52
Forum: Tips & Tricks, Questions & Answers
Topic: why this script don't work?
Replies: 6
Views: 188

Re: why this script don't work?

Yes! Is from AI... I update my script. I padding each line in the script from the beggining with " ". Works! The script runs... but stop at "Invalid Parameter: $entry as $entries" ... $sel = get("SelectedItemsPathNames"); if ($sel == "") { msg "No file se...
by k20
13 Jan 2026 06:20
Forum: Tips & Tricks, Questions & Answers
Topic: why this script don't work?
Replies: 6
Views: 188

why this script don't work?

Right-click on line number > Run Script $sel = get("SelectedItemsPathNames"); if ($sel == "") { msg "No file selected."; exit; } $numSel = count(split($sel, "\n")); // Build menu manually as here-doc-like string (safe) $menu = ""; // Define apps: [na...