Search found 13227 matches
- 30 Jun 2011 21:33
- Forum: Script Exchange
- Topic: Processing files using Scripting
- Replies: 3
- Views: 1274
Re: Processing files using Scripting
<curitem> ist only for the selected / focused item. If you want to process all selected items (in one commandline!) you could use <selitems>. If every selected items has to be passed as the only fileparameter to your dos command you have to use a while loop or better foreach but be warned, they woul...
- 29 Jun 2011 08:48
- Forum: Tips & Tricks, Questions & Answers
- Topic: Remove extension from a filename?
- Replies: 7
- Views: 1528
Re: Remove extension from a filename?
$A = "eins|zwei|drei|"; $A = substr($A, 0, -1); foreach($t,$A){echo $t;} That's really an easy way. Changed my code respectively. Vars are case-sensitive. Yeah but it was late and couldn't see that any more :oops: Thanks Stefan, script is working fine now (it consists of a few entries for...
- 28 Jun 2011 23:57
- Forum: Tips & Tricks, Questions & Answers
- Topic: Remove extension from a filename?
- Replies: 7
- Views: 1528
Re: Remove extension from a filename?
$filelist = report("{basename}?{ext}|",1); foreach($token, $filelist, "|") { $base = gettoken($token,1,"?"); $ext = gettoken($token,2,"?"); $filename = "$base.$ext"; if ($filename != ".") { echo $filename; } } The if statement will now out...
- 28 Jun 2011 23:25
- Forum: Tips & Tricks, Questions & Answers
- Topic: Remove extension from a filename?
- Replies: 7
- Views: 1528
Re: Remove extension from a filename?
$filelist = report("{basename}?{ext}|",1); foreach($line, $filelist, "|") { $base = gettoken($line,1,"?"); $ext = gettoken($line,2,"?"); $filename = "$base.$ext"; echo $filename; } Just to test if everything is working before I exchange the code in ...
- 28 Jun 2011 22:57
- Forum: Tips & Tricks, Questions & Answers
- Topic: Remove extension from a filename?
- Replies: 7
- Views: 1528
Re: Remove extension from a filename?
You should change your nickname to "AskMeIfYouHaveAScriptQuestion"^^ You have to initialize the var before first use. Just: $MyVarName=""; before the while() Did that but the output was the same. - for the loop you can use foreach() I'll read the help and see if it's easy enough ...
- 28 Jun 2011 22:13
- Forum: Tips & Tricks, Questions & Answers
- Topic: Remove extension from a filename?
- Replies: 7
- Views: 1528
Remove extension from a filename?
Hi, I'm using $SelectedItems = get("SelectedItemsNames", "<crlf>"); to get all selected filenames (need them later in the script) without their path component. In the while loop I want to strip off the extension (.avi, .wmv, .whatever) for that filename. $FileName contains the cu...
- 28 Jun 2011 16:23
- Forum: Wishes
- Topic: Breadcrumb small improvement
- Replies: 11
- Views: 3412
Re: Breadcrumb small improvement
Yeah, that would be a great feature addition to XYplorer!alps wrote:Also required is clickable crumbs's
- 28 Jun 2011 15:56
- Forum: Tips & Tricks, Questions & Answers
- Topic: Is this how custom copy is supposed to work
- Replies: 18
- Views: 3358
Re: Is this how custom copy is supposed to work
Tested with v9.90.1113 and checkmark set: Works as expected. Are there really cases where a future dropdown field in the progress status would be needed for folders now?admin wrote:a)
- 28 Jun 2011 15:21
- Forum: Tips & Tricks, Questions & Answers
- Topic: Is this how custom copy is supposed to work
- Replies: 18
- Views: 3358
Re: Is this how custom copy is supposed to work
I just wonder if a simpler solution would be enough. I'm thinking of a checkbox "Rename folders on collision" (instead of the big dropdown). If checked then all copies of folders in your selection are auto-renamed (incremental suffix) on collision. Else overwritten. Less hassle for me and...
- 28 Jun 2011 13:41
- Forum: Tips & Tricks, Questions & Answers
- Topic: Is this how custom copy is supposed to work
- Replies: 18
- Views: 3358
Re: Is this how custom copy is supposed to work
That's probably the best optionI could add a another dropdown "On folder name collision" analog to "On (file) name collision".
- 28 Jun 2011 13:20
- Forum: Tips & Tricks, Questions & Answers
- Topic: Is this how custom copy is supposed to work
- Replies: 18
- Views: 3358
Re: Is this how custom copy is supposed to work
<- complains about it.Up to now nobody ever complained.
Creating a fast copy of a selected folder to the same basedir (but with the added suffix extension) isn't possible any more (and yes, I'm used to it) with custom copy
- 28 Jun 2011 12:07
- Forum: Tips & Tricks, Questions & Answers
- Topic: Scripting - run dos commands without blocking xyplorer?
- Replies: 2
- Views: 859
Re: Scripting - run dos commands without blocking xyplorer?
Thanks nas8e9,
seems to be the only possible solution atm.
Script changed (writes a .bat file and executes it afterwards), working fine now.
seems to be the only possible solution atm.
Script changed (writes a .bat file and executes it afterwards), working fine now.
- 27 Jun 2011 15:29
- Forum: Tips & Tricks, Questions & Answers
- Topic: Custom Copy roadmap
- Replies: 125
- Views: 17651
Re: Custom Copy roadmap
Custom copy: suffix increment to copy? The normal behavior of the windows explorer is to append: 1. copy: " - Kopie" 2. copy: " - Kopie (2)" x. copy: " - Kopie (x)" when you copy a file to the same destination as the original file. If custom copy is enabled, this change...
- 27 Jun 2011 15:03
- Forum: Tips & Tricks, Questions & Answers
- Topic: Custom Copy roadmap
- Replies: 125
- Views: 17651
Re: Custom Copy roadmap
Trying to copy a file to e.g. "C:\Program Files (x86)" without custom copy enabled forces windows to ask what you want to do: "Zugriff auf den Zielordner wurde verweigert" Sie müssen Administrationsberechtigungen angeben, um in diesen Ordner zu kopieren. "Fortsetzen" &q...
- 26 Jun 2011 20:13
- Forum: Tips & Tricks, Questions & Answers
- Topic: Scripting - run dos commands without blocking xyplorer?
- Replies: 2
- Views: 859
Scripting - run dos commands without blocking xyplorer?
Hi, I created a little script that should convert my audio files (multiple selected) to mp3 (192kbit CBR) via Sox. What I'd like to achieve is: Take the first selected audio file, convert it; take the second one, convert it, etc. Step by step. What I don't want: Block XYplorer while the files are co...