Not in mine. There is also seems to be a discrepancy where, if I was to run that script using Scripting > Run Script, no ampersand is showing. However, using a UDC still shows an underscore.admin wrote:No? it is fixed in my version.
Scripting Bugs
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Re: Scripting Bugs
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Nobody?zer0 wrote:Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Am I banging my head against a wall here?zer0 wrote:Nobody?zer0 wrote:Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.I can reproduce it with a fresh no-install 11.20 download...
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
i don't know if i checked it right, but here's what i did:
- created a button with this 2 lines of code in it;
- this gave me a drop-down menu - when i click on 1 line(for ex) it asks if i wish to create new folder;
- eventually moves selected items to curpath\Test1 & Test2.
XY 11.10.0004
- created a button with this 2 lines of code in it;
- this gave me a drop-down menu - when i click on 1 line(for ex) it asks if i wish to create new folder;
- eventually moves selected items to curpath\Test1 & Test2.
XY 11.10.0004
Win 7 SP1 x64 100% 1366x768|1900x1080
Re: Scripting Bugs
Bug squashed, thanks!admin wrote:Got it, fix comes.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting Bugs
The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...zer0 wrote:Bug squashed, thanks!admin wrote:Got it, fix comes.
FAQ | XY News RSS | XY X
Re: Scripting Bugs
Ok, all well that ends welladmin wrote:The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...zer0 wrote:Bug squashed, thanks!admin wrote:Got it, fix comes.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Retrieving the script's icon with Self seems to be broken:
Code: Select all
"XYplorer|<xypath>\<xyexe>" Echo Self('icon');
"Auto Refresh|:autorefresh" Echo Self('icon');-
admin
- Site Admin
- Posts: 65456
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting Bugs
Interesting, apparently this never worked with popup menus. Fix comes.
FAQ | XY News RSS | XY X
Re: Scripting Bugs
Continue within elseif follows the wrong path.
Code: Select all
"BAD - ElseIf Echos 3, 4"
$i = 1;
while ($i++ < 5) {
if ($i < 3) { continue; }
elseif ($i > 3) { continue; }
Echo $i;
}
"GOOD - If - Echos 3"
$i = 1;
while ($i++ < 5) {
if ($i < 3) { continue; }
if ($i > 3) { continue; }
Echo $i;
}Re: Scripting Bugs
After handling a radical heredoc which contains an odd number of either quote character if no subsequent heredoc (of either type) evens up the quote count XY attempts to execute the next multi-line comment.(This is just a demonstration - I realize the radical heredoc is not needed here.)
Code: Select all
"Bad"
$a = <<<#HD
'
#HD;
/* Test */
"Good"
$a = <<<#HD
'
#HD;
$b = <<<#HD
'
#HD;
/* Test */
XYplorer Beta Club