Search found 13205 matches
- 17 Apr 2024 08:40
- Forum: Tips & Tricks, Questions & Answers
- Topic: How to replace last two characters?
- Replies: 4
- Views: 99
Re: How to replace last two characters?
$items = <get SelectedItemsPathNames>; foreach($item, $items, <crlf>, "e") { $file = gpc($item, "file"); $new = regexreplace($file, "(.*?)(\d{2})(\.[^.]+?)$", "$1" . "99" . "$3"); if ($file != $new) { renameitem($new, $item) }; }
- 17 Apr 2024 08:08
- Forum: Tips & Tricks, Questions & Answers
- Topic: How to replace last two characters?
- Replies: 4
- Views: 99
Re: How to replace last two characters?
$old = "Z8264519300.psd"; $new = regexreplace($old, "(.*?)(\d{2})(\.[^.]+?)$", "$1" . "99" . "$3"); // $new = "Z8264519399.psd" // --- $old = "Z8264519300.psd"; $new = regexreplace($old, "^(.{2})(.*?)$", "P7" ...
- 16 Apr 2024 14:23
- Forum: Tips & Tricks, Questions & Answers
- Topic: Improvements to a YT-dlp script as well as XYplorer stepping
- Replies: 1
- Views: 56
Re: Improvements to a YT-dlp script as well as XYplorer stepping
How could I do this? ? Do you want to tell us that if you do it directly! via command line it downloads subtitles but not when using a xy script? I doubt that... ERROR: Unable to download video subtitles for 'jv': HTTP Error 429: Too Many Requests Seeing this doing it via command line so that's not...
- 15 Apr 2024 23:43
- Forum: Tips & Tricks, Questions & Answers
- Topic: From excel, open 2 dirs in side by side panes?
- Replies: 2
- Views: 52
Re: From excel, open 2 dirs in side by side panes?
Why don't you write an XY script that takes the export file of WinCatalog directly?
- 15 Apr 2024 13:33
- Forum: Tips & Tricks, Questions & Answers
- Topic: Overall poor unicode support, please help
- Replies: 8
- Views: 164
Re: Overall poor unicode support, please help
utf8 for the codepage? oO
This is the correct command:
And then you get:
🤫 (apenas pra quem REALMENTE quer mudar de vida) 4 NEGÓCIOS DIGITAIS PRA FAZER DINHEIRO EM CASA
This is the correct command:
$tmp = readfile ("<xydata>\Temp\temp.htm", "ru", , 65001);
And then you get:
🤫 (apenas pra quem REALMENTE quer mudar de vida) 4 NEGÓCIOS DIGITAIS PRA FAZER DINHEIRO EM CASA
- 15 Apr 2024 09:21
- Forum: Wishes
- Topic: Love the new capabilities on the toolbar + bookmarks!
- Replies: 7
- Views: 111
Re: Love the new capabilities on the toolbar + bookmarks!
Mh, I like it^^Dynamic spacer
Not everything is on the left, custom columns can be setup to align on the right side *eg*
- 14 Apr 2024 21:38
- Forum: Tips & Tricks, Questions & Answers
- Topic: how to invoke windows apps in xyplorer?
- Replies: 4
- Views: 82
- 14 Apr 2024 15:24
- Forum: Tips & Tricks, Questions & Answers
- Topic: how to invoke windows apps in xyplorer?
- Replies: 4
- Views: 82
Re: how to invoke windows apps in xyplorer?
At least the photos app doesn't support command line parameters. No way to invoke it with selected files...
- 13 Apr 2024 22:39
- Forum: Wishes
- Topic: Create Folder and Move Feature
- Replies: 10
- Views: 228
Re: Create Folder and Move Feature
That's what scripting was made for...
- 12 Apr 2024 07:47
- Forum: Bug Reports
- Topic: Consolas letters are not displayed correctly
- Replies: 4
- Views: 111
Re: Consolas letters are not displayed correctly
It's already released^^
viewtopic.php?p=219789#p219789
viewtopic.php?p=219789#p219789
- 10 Apr 2024 23:16
- Forum: Tips & Tricks, Questions & Answers
- Topic: report() stopped working !?
- Replies: 7
- Views: 151
Re: report() stopped working !?
add a
step;
above the loop, does it still fail when stepping through the script?- 10 Apr 2024 02:47
- Forum: Tips & Tricks, Questions & Answers
- Topic: Overall poor unicode support, please help
- Replies: 8
- Views: 164
Re: Overall poor unicode support, please help
Then post the script?which I'm failing to obtain using XY commands
- 08 Apr 2024 21:32
- Forum: Tips & Tricks, Questions & Answers
- Topic: Duplicate files
- Replies: 4
- Views: 133
Re: Duplicate files
Can your dupes be identified by just the name of the file?
- 08 Apr 2024 14:54
- Forum: Tips & Tricks, Questions & Answers
- Topic: [Solved] Script Rename Regex and Extension
- Replies: 3
- Views: 70
Re: Script Rename Regex and Extension
That's what the regex in my first post does...
- 08 Apr 2024 14:36
- Forum: Tips & Tricks, Questions & Answers
- Topic: [Solved] Script Rename Regex and Extension
- Replies: 3
- Views: 70
Re: Script Rename Regex and Extension
Provide real world renaming examples...
or otherwise, wild guessing:
or otherwise, wild guessing:
rename r, "(.*?)(-[^-]*?)(\.[^.]+)$ > $1$3";