Search found 199 matches

by fishgod
13 Feb 2020 13:45
Forum: Tips & Tricks, Questions & Answers
Topic: Get state of items in clipboard
Replies: 3
Views: 604

Re: Get state of items in clipboard

Thank you very much.
Am I right, that this is a completely undocumented feature?
I haven't found anything in the help-file.
by fishgod
13 Feb 2020 13:18
Forum: Tips & Tricks, Questions & Answers
Topic: Get state of items in clipboard
Replies: 3
Views: 604

Get state of items in clipboard

Is there any way to determine the state (cut/copied) of items in <clipboard> via scripting?
by fishgod
07 Feb 2020 07:20
Forum: Wishes
Topic: Group shortcuts to folders with folders
Replies: 2
Views: 947

Re: Group shortcuts to folders with folders

Maybe not as compfortable as if XY would support it nativly, but you could also disable sort folders apart and build it with a custom column und sort by that column: return (exists(<cc_item>)==2 || exists(property("#LinkTarget", <cc_item>))==2) ? 'F' : ''; You could use is as primary sort und second...
by fishgod
06 Feb 2020 17:21
Forum: Wishes
Topic: Items count for archives zip rar 7z
Replies: 12
Views: 1078

Re: Items count for archives zip rar 7z

Right Click Column Header -> Add Column -> Right Click that Column -> Select Custom Column -> select an unused Column -> now again Rightclick the Columnheader -> Edit Custom Column ...# -> fill like this: "Archive Count" $list = runret("C:\PG\7-Zip\7z.exe l -slt ".quote(<cc_item>)); $len = strlen($l...
by fishgod
04 Feb 2020 18:02
Forum: Wishes
Topic: Better Auto Replace Invalid Characters
Replies: 0
Views: 3429

Better Auto Replace Invalid Characters

May I propose a better solution to replace all invalid characters with one replacement : Since the list of invalid characters is rather small, one could use a list of replacment-characters for every invalid character(combination) and use similar unicode-variants like this: (I use this allready for s...
by fishgod
16 Sep 2019 20:35
Forum: Tips & Tricks, Questions & Answers
Topic: Scripting Memory-Leak / Speed Degrading
Replies: 38
Views: 3103

Re: Scripting Memory-Leak / Speed Degrading

There is at least one issue with the new warning (refering to the discussion going on here: https://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=20928&p=172636) Setup a custom column with a script like this: include_once 'lib.inc.xys'; return f1(); The lib.inc.xys -file: function f1() { return 'f1'; } ...
by fishgod
16 Sep 2019 19:19
Forum: Bug Reports
Topic: SC load with fc bug on calling sub
Replies: 10
Views: 776

Re: SC load with fc bug on calling sub

The new warning is a result of the discussion from this thread: viewtopic.php?f=3&t=20889&start=15#p172617

I also get this warning with my script, everything looks correct so far. Let me try to build a minimal example that causes the behaviour.
by fishgod
16 Sep 2019 09:56
Forum: Wishes
Topic: Improve the "What’s New" page...
Replies: 8
Views: 654

Re: Improve the "What’s New" page...

OK, but that only makes a difference on looooong pages (like 10 screens or more) and thats what you suggest to change... No offence but I'm still not getting it.
by fishgod
16 Sep 2019 08:11
Forum: Bug Reports
Topic: SC load with fc bug on calling sub
Replies: 10
Views: 776

SC load with fc bug on calling sub

The resource-type fc introduced in v20.40.0005 causes problems when calling a sub in the loaded script when its loaded from cache: Execute this script load-1.xys "Test Cached Load" load 'load-2.xys', , 'fc'; load 'load-2.xys', , 'fc'; load-2.xys "Second script : main" sub '_sub'; "_sub" msg "First T...
by fishgod
16 Sep 2019 00:11
Forum: Wishes
Topic: Improve the "What’s New" page...
Replies: 8
Views: 654

Re: Improve the "What’s New" page...

ghost zero wrote:
12 Sep 2019 11:39
[...] makes it very hard to drag the scrollbar and scroll.
Weirdest wish I've ever read, really, who drags scrollbar?
XYusers use input devices effiently. Use the mouse wheel or keyboard if you are unable to exactly move your mouse :P
by fishgod
15 Sep 2019 20:51
Forum: Tips & Tricks, Questions & Answers
Topic: Scripting Memory-Leak / Speed Degrading
Replies: 38
Views: 3103

Re: Scripting Memory-Leak / Speed Degrading

It is assumed that a same-named function from a same-named resource is identical. Very reasonably. Your formulation indicate, that this might be different for different files. In a rational design nobody would do this on purpose, but it might happen by accident when multiple scripts are combined. W...
by fishgod
15 Sep 2019 14:21
Forum: Tips & Tricks, Questions & Answers
Topic: Scripting Memory-Leak / Speed Degrading
Replies: 38
Views: 3103

Re: Scripting Memory-Leak / Speed Degrading

Thank you for fixing it. That raises a new question that come in my mind in the last days: Does redefining a function with the same name is: ignored overwrites the existing one raises a warning/error (obviously not till now, maybe this would be a good thing) Of cause, that info should be added to th...
by fishgod
15 Sep 2019 09:13
Forum: Bug Reports
Topic: Unquoating and Trimming of Values in XYplorer.ini
Replies: 1
Views: 194

Unquoating and Trimming of Values in XYplorer.ini

I have set the UnitBytes -Tweak to include spaces (by that the numbers are aligned with KB, MB and so. see image) xy-sizecol-b.png But on saving the config, the value gets unquoated, and next time it gets trimmed. I'm not sure if it is the desired behaviour, that values mutate 2 times, over save/loa...
by fishgod
15 Sep 2019 08:50
Forum: Wishes
Topic: New Filesize Format: "Flexible (short)"
Replies: 1
Views: 284

New Filesize Format: "Flexible (short)"

I love the flexible format for size-column, but to keep things short, I would love even more to have it more condense: Jump to next unit when there are more than 3 digits before the decimal-point (when >1000, instead of >1024). Example, display this: 1,13 GB 998,41 MB 1.003,54 MB <-- as this (in the...
by fishgod
14 Sep 2019 17:24
Forum: Tips & Tricks, Questions & Answers
Topic: Scripting Memory-Leak / Speed Degrading
Replies: 38
Views: 3103

Re: Scripting Memory-Leak / Speed Degrading

I appreaciate the time you allready invested, but I don't think it has something to do with mediainfo.exe, because the workaround above does the same calls to mediainfo.exe without the speed-degradation. As far as I can say from observation, the thing is the repeated use of load causes something. Th...