Search found 2569 matches

by PeterH
03 Mar 2020 23:07
Forum: Script Exchange
Topic: ListManagementHouseCleaning
Replies: 108
Views: 13655

Re: ListManagementHouseCleaning

I'm not an expert in scripting, and this is air code, but I think it should work like this as well: Line 110 $LM_data = FormatList($LM_list_1, 'f', "<crlf>", "*|$sel_name*"); Line 153 $LM_data = FormatList($LM_list_2, 'f', "<crlf>", "*|$sel_name*"); Hey, optimizations? One more: <crlf> is a variabl...
by PeterH
03 Mar 2020 11:05
Forum: Script Exchange
Topic: ListManagementHouseCleaning
Replies: 108
Views: 13655

Re: ListManagementHouseCleaning

I think there's an error in the change...

If I'm right the '|*' near the end of both statements should just be '*'

You could just try to change and test that.

Peter
by PeterH
02 Mar 2020 17:11
Forum: Script Exchange
Topic: ListManagementHouseCleaning
Replies: 108
Views: 13655

Re: ListManagementHouseCleaning

Try un-checking "Syntax Checking" under the Scripting menu to see if you still get the error. The error won't come anymore then. But the cooler response would have been to correct the syntax. ;) :mrgreen: Thanks for this as a general statement. I was about to say the same. Though, of course, it wou...
by PeterH
19 Nov 2019 10:51
Forum: Tips & Tricks, Questions & Answers
Topic: XY HTML engine = IE 7
Replies: 7
Views: 307

Re: XY HTML engine = IE 7

Isn't this just dependent from the system you're working on?
by PeterH
10 Oct 2019 23:46
Forum: Tips & Tricks, Questions & Answers
Topic: htm html preview or in this case floating window
Replies: 3
Views: 171

Re: htm html preview or in this case floating window

Ah - is the box popping up that one saying
"I don't want you to see me!"?
by PeterH
24 Sep 2019 11:03
Forum: Tips & Tricks, Questions & Answers
Topic: thumbnail database follow external drvie
Replies: 24
Views: 573

Re: thumbnail database follow external drvie

Wouldn't that only work if each image files has a unique name? In that case we could completely skip the path information and just make one big database for all images no matter where they are. Sorry, but would you trust on system-wide unique names? I don't use it, but for me / for my system the an...
by PeterH
22 Sep 2019 11:45
Forum: Wishes
Topic: Thumbnails not updated after file is renamed
Replies: 22
Views: 591

Re: Thumbnails not updated after file is renamed

Dom't know what the script *exactly* does. So a bit of guessing...

If it works just like you said, after the first rename there are
John.psd (not touched yet), and
John.jpg (just renamed).
Both should hve a thumb, but with the same name (like John.thumb)? This would be a problem.
by PeterH
04 Sep 2019 17:40
Forum: Tips & Tricks, Questions & Answers
Topic: Scripting Memory-Leak / Speed Degrading
Replies: 38
Views: 1812

Re: Scripting Memory-Leak / Speed Degrading

One thing we had a long time ago: if, for example in al loop, you concatenate and concatenate data to a variable, this variable will become fragmented, and access to it might get slower and slower.
Don't know if this can be (part of) your problem.
by PeterH
09 Jul 2019 10:30
Forum: Tips & Tricks, Questions & Answers
Topic: Unable to copy file using a script
Replies: 5
Views: 319

Re: Unable to copy file using a script

You did read the documentation of help copy? At least the very first line?

What does it say that it copies to?
by PeterH
25 May 2019 13:42
Forum: Wishes
Topic: Different mousewheel scroll lines delta for each View (Details, List, Thumbs)
Replies: 10
Views: 928

Re: Different mousewheel scroll lines delta for each View (Details, List, Thumbs)

At least I'd think it's relative easy to scroll a page (or more) if a notch is one line, but try to scroll 1 line (or a few) if a notch is one page.

So both have it's usage, but one is more universal, I think.
by PeterH
25 May 2019 11:46
Forum: Wishes
Topic: Different mousewheel scroll lines delta for each View (Details, List, Thumbs)
Replies: 10
Views: 928

Re: Different mousewheel scroll lines delta for each View (Details, List, Thumbs)

admin wrote:
25 May 2019 10:57
So, can't we just do it the hard way? So, from now on the wheel does 1 line per notch in thumbnails and tiles views? Trust me, it feels totally natural right away.
From my point of view this is the best solution. :appl:
by PeterH
21 Apr 2019 11:22
Forum: Wishes
Topic: Why I didn't bought XYP
Replies: 3
Views: 468

Re: Why I didn't bought XYP

Sorry, but Ashkelon had an exact criteria he needs (or is used to), so he decided out of what he thinks is neccessary. And he describes just this - doesn't bring XY down to the ground, as many others would. So I think his post is really ok. I remember the discussion at that time, about dual tree. An...
by PeterH
04 Mar 2019 12:21
Forum: Script Exchange
Topic: self()
Replies: 6
Views: 603

Re: self()

Just a hint: <xxx> are variables, so even <br> is a (constant :-) ) variable.
Variables usually aren't quoted, so you can omit the quotes around it.

Vars in quotes are just *allowed* to combine them with other text inside (double!) quotes like "line1<br>line2"

So you can save some keys to enter...
by PeterH
20 Feb 2019 11:25
Forum: Bug Reports
Topic: Portable Device: Not recognize Ext [Solved]
Replies: 14
Views: 1207

Re: Portable Device: Not recognize Ext [Solved]

As this result is not expected: maybe you should, be it on XY start, or on first access of a portable device, check this setting, and if neccessary warn the user?
by PeterH
18 Feb 2019 13:19
Forum: Bug Reports
Topic: SetLayout() giving static values
Replies: 19
Views: 897

Re: SetLayout() giving static values

Oh: missed Don's last post! So very first: The script "swaps" pane 1 and 2, i.e. - activates the currently non-active pane - exchanges the sizes of the panes I'm used to this for almost 40 years :maf: (This was the smily for grandpa :lol: ) To say: I'm a bit puzzled that pane-sizes shouldn't be part...