Search found 855 matches

by FluxTorpedoe
22 Apr 2023 18:54
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

Re: SC: Faster speed of subs (by loading from memory)

❖ v24.30.0115    ✔ Subs loading blazingly fast—it’s amazing… :biggrin:    ✔ Functions working again :tup:    ✖ I still have intermittent Error 9 (testing with Session Manager right now) Error: 9 (0x00000009) Desc: Subscript out of range Dll: 2 Proc: script_PopupMenu I don’t know yet how to reproduce...
by FluxTorpedoe
22 Apr 2023 17:54
Forum: Bug Reports
Topic: With beta v24.30.0113 missing icons and calls to undefined functions
Replies: 9
Views: 582

Re: With beta v24.30.0113 missing icons and calls to undefined functions

 — v24.30.0114 unpacked in “D:\Temp\XYplorer” (nothing else changed)  — Script "Test.xys" in <xyscript>  — In Address bar:    ::load "Test.xys" (same if added to UDC)  > First run > OK: Message “1” displayed  > Next run > “'fun' is not a valid script command.”  > Close and reopen...
by FluxTorpedoe
22 Apr 2023 16:58
Forum: Bug Reports
Topic: With beta v24.30.0113 missing icons and calls to undefined functions
Replies: 9
Views: 582

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Hi, thanks for the quick update. Tried with v24.30.0114, and same behavior:    — On first run, function works    — On subsequent runs: “not a valid script command”    — If another script is loaded, it “resets” and works again once • Simple script to replicate: "Function Test" fun(); functi...
by FluxTorpedoe
22 Apr 2023 14:47
Forum: Bug Reports
Topic: With beta v24.30.0113 missing icons and calls to undefined functions
Replies: 9
Views: 582

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Sorry I missed this post…
The function error can be reproduced even with a very small script like the one I posted here (just as-is, no need to add content):
https://www.xyplorer.com/xyfc/viewtopic.php?p=210012#p210012
by FluxTorpedoe
22 Apr 2023 14:09
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

Re: SC: Faster speed of subs (by loading from memory)

v24.30.0113 - 2023-04-22 11:08 % Scripting: Loading large script files over and over is now much faster. % Scripting: Processing subs over and over in huge script resources has become much faster. You said “much faster”… I think you meant “TREMENDOUSLY faster”!!! :biggrin: :appl: Thanks a lot for t...
by FluxTorpedoe
22 Apr 2023 10:47
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

Re: SC: Faster speed of subs (by loading from memory)

Oh, OK for the “read from file”, and the processing time as a whole. Still, functions are nearly instantaneous, even when placed at the end of a huge script… 🤔 (example above yields the same results) Which means the whole is (presumably) processed only once… Could subs be accessed the same way as fu...
by FluxTorpedoe
21 Apr 2023 19:09
Forum: Script Exchange
Topic: Session Manager [v7.00]  —  Bookmark your environments: locations and/or display (tabsets and layout)
Replies: 512
Views: 244218

Re: Session Manager [v7.00]  —  Bookmark your environments: locations and/or display (tabsets and layout)

Hi everyone! ☼ @WirlyWirly & @elbitjusticiero I couldn’t check (wasn’t online), but glad the problems were only temporary! @WirlyWirly Thanks to your incentive, I narrowed down the speed issue to the way “subs” are processed by XYplorer. I had already noticed it when making optimizations for v7....
by FluxTorpedoe
15 Apr 2023 11:26
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

Re: SC: Faster speed of subs (by loading from memory)

Thanks for trying guys! @Horst The extra 30ms for a 5KB file could make sense: a 200KB (like SessionManager) is 40 times that, which could lead to ~1200ms. What’s weird is that the function is ~slow too… 🤔 @PeterH Yes, the order of entries doesn’t seem to make a difference. But good to know about th...
by FluxTorpedoe
15 Apr 2023 11:18
Forum: Tips & Tricks, Questions & Answers
Topic: Does not display PDF preview
Replies: 42
Views: 2714

Re: Does not display PDF preview

[Reserved place-holder]
In case I need to post the information to unregister DLLs and reverse/restore the registry.
by FluxTorpedoe
15 Apr 2023 11:09
Forum: Tips & Tricks, Questions & Answers
Topic: Does not display PDF preview
Replies: 42
Views: 2714

Re: Does not display PDF preview

Whenever there is a new tip posted on this, I give it a go, only to be disappointed again and again. I haven't been able to get a bigger MDBU or Hover preview or PDF's any bigger than about 30x40mm for quite some time now, which unfortunately doesn't help much. Hi Ralph, I struggled (an awful lot!)...
by FluxTorpedoe
13 Apr 2023 16:02
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

Re: SC: Faster speed of subs (by loading from memory)

Thanks for helping! Indeed, it seems to depend on what the rest of the script has to process: If the rest of the file is just a comment, the speed is not so different! I found a more conclusive way to replicate (which confirms the performance of functions). • Results with a 300 kB file:  – inline ⭢ ...
by FluxTorpedoe
13 Apr 2023 14:32
Forum: Script Exchange
Topic: XYS Syntax Highlighting/Autocomplete for Akelpad [XY v24.60]
Replies: 85
Views: 42661

Re: XYS Syntax Highlighting/Autocomp. for Akelpad [XY v23.70]

@all Thanks for the feedback! :) @Ampere I just came back… So in the meantime I guess have you explored other leads. But just in case: I don’t use vscode, but if there’s already a highlight file, I guess some regex could do the work. The autocomplete for the words themselves is near the start after...
by FluxTorpedoe
13 Apr 2023 14:17
Forum: Wishes
Topic: SC: Faster speed of subs (by loading from memory) [Granted]
Replies: 26
Views: 1339

SC: Faster speed of subs (by loading from memory) [Granted]

Hi’ Hard to keep up with the changes! 😉 That being said, I have a request / problem: Each “sub” in a script seems to be read from file, which leads to delays when the file is big.  ⮚ eg with SessionManager on my computer, just going to a “sub” (even empty) takes ~100ms.    To avoid duplicating code ...
by FluxTorpedoe
17 Nov 2022 19:55
Forum: Script Exchange
Topic: Session Manager [v7.00]  —  Bookmark your environments: locations and/or display (tabsets and layout)
Replies: 512
Views: 244218

Re: Session Manager [v7.00]  —  Bookmark your environments: locations and/or display (tabsets and layout)

Glad to know you’ve found a way!
And nice tip from klownboy. ;)
Indeed, it’s always impressive to see what can be done with XYplorer !…

Note: I’ll be offline for a few months, but will read all the posts when I’m back.

In the meantime, enjoy & have a nice day, 8)

   Flux
by FluxTorpedoe
17 Nov 2022 19:44
Forum: Script Exchange
Topic: Power Opener [v3.40]   (formerly Power Launcher)
Replies: 21
Views: 19945

Re: Power Opener [v3.40] (formerly Power Launcher)

  ##################### ###  Power Opener v3.40  ### ##################### (Formerly known as Power Launcher) Hi everyone, Here’s a new version with some major changes. See full list in Changelog . Important info for users who update: — Both files must have the same name: PowerOpener.xys and PowerOp...