Search found 589 matches

by tiago
20 Mar 2011 13:32
Forum: Tips & Tricks, Questions & Answers
Topic: Is there a way to make the POM a submenu?
Replies: 10
Views: 1521

Re: Is there a way to make the POM a submenu?

I don't know about site politics but if I am allowed I'd like to suggest Cute Context Menu as external tool to help you, Mesh. Certainly not as flexible as POM (hey, this is cool, man! Discovering XYplorer has been a great surprise each and every day) but may fill your need in some aspects.
by tiago
20 Mar 2011 13:28
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

The problem with precision is: your (VBA) datediff method says that 14:00:01 - 13:58:32 = 1 hour. Correct: 89 secs or 01min 29sec. 13601 secs. Cool. Human friendliness: 226min 41 sec or 03h 46 min. I think that math on XY could benefit If only there would be a way to round up or down decimals like i...
by tiago
19 Mar 2011 19:50
Forum: Wishes
Topic: Randomness
Replies: 15
Views: 3276

Re: Randomness

Yes, I played a lot with rand(). Problem comes when I need to ensure that randomized stuff gets uniqued, and the only way to ensure that is removing duplicates, which by its turn requires that formatlist() "dedupes" and dedupe requires sorting, which assumes that A == a, and in my case &qu...
by tiago
19 Mar 2011 19:33
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

User-friendliness, too.
by tiago
19 Mar 2011 19:29
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

No, on the opposite: sometimes an operation takes HOURS to run.
And yes, I agree that seconds should suffice. I'm just bothered by delivering them "13601 seconds" as an output.
Precision is everything.
by tiago
19 Mar 2011 19:25
Forum: Script Exchange
Topic: Having problems with the foreach function
Replies: 24
Views: 3891

Re: Having problems with the foreach function

"I'm not. Why do you think I am?"
Well, if you were not assigning a token for the script to work with, the script was just working over the whole bunch and you were having issues because of that, simple.
But it seems you got it now, right?
by tiago
19 Mar 2011 19:19
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

I need to report among other stuff how much time XY toke to perform a job. Accurately, since currently I'm working for a non-profit NGO. If I had a way to have gettoken being able to get tokens without separators, I guess I can easily solve the rounding up-or-down issue. echo gettoken("Donald D...
by tiago
19 Mar 2011 18:09
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

This has turning into an interesting problem. Yes, it seems to be a "widely used" method out there or two, the most dangerous being: almost all online converters I found to debug my calculations just do the whole hours or minutes part, so they're not doing a reliable calculation too. The p...
by tiago
19 Mar 2011 14:49
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

Yeah, that was the first idea.
Then I obviously stumble upon the inaccuracy itself again and using format/formatbytes didn't helped much as far as I can remember. I'll probably revise my attempts again and post any solution I may find, in hopes that someone bothers for such a thing.
by tiago
19 Mar 2011 14:44
Forum: Wishes
Topic: Randomness
Replies: 15
Views: 3276

Re: Randomness

Admin, can you help me on this? A flag, perhaps... Summarizing: I'm trying to find if XY could random letters like AHK does, like in: This Should be RaNdoM > d,e,R,s,h,i,T,M,u,S,N,o,l,o,d,b,a,h XY to insert separators in a list, PRESERVING spaces. 690SR8GQ3 YVI57 (690SR8GQ3<space>YVI57) > 6,9,0,S,R,...
by tiago
19 Mar 2011 14:42
Forum: Script Exchange
Topic: Having problems with the foreach function
Replies: 24
Views: 3891

Re: Having problems with the foreach function

Not having an answer is a bad thing. But having it and ignoring it for the wrong reason is worse. Mesh, I'll try the other way: v9.90.0304 - 2011-02-13 11:26 + Scripting: Added foreach loops. What's the reason for a "foreach" command? To use a sequence of commands in each listed items one ...
by tiago
19 Mar 2011 01:41
Forum: Bug Reports
Topic: datediff not accurate.
Replies: 22
Views: 5994

Re: datediff not accurate.

Well, the purpose is to have an accurate datediff method to rely on. :P
Tried some scripting on this but got stuck at a point, had come ideas, made notes and report back if I find a reasonable solution.
by tiago
19 Mar 2011 01:29
Forum: Tips & Tricks, Questions & Answers
Topic: Can you do this???
Replies: 3
Views: 992

Re: Can you do this???

If I understand you well, prepare your pocket, here comes the solution... 1 - Select the folder on list, right click and drag it over a destination folder and try "create folder(s)/branch(es) here". 2 - What about F3 (show all items in branch), right clicking on them and dragging over a de...
by tiago
19 Mar 2011 01:18
Forum: Script Exchange
Topic: Having problems with the foreach function
Replies: 24
Views: 3891

Re: Having problems with the foreach function

And this will solve your problem, with a little hints too. The most important being: when your working with foreach, ensure XYplorer will work with one item at a time (selfilter is your friend, pal). // Test Script - takes a file like "the before.txt" and *should* rename it to "The Af...
by tiago
16 Mar 2011 19:00
Forum: Bug Reports
Topic: "Other application is busy" error when adding mp3 to Winamp
Replies: 9
Views: 1867

Re: "Other application is busy" error when adding mp3 to Winamp

Assuming the part [""";[/quote]] should read [""";] yes you are right peterH. I copied the command from an attempt to make the command work and the result was my post, but actually it should read [""";] too. As you can see it happens. :D Tried many times ...