Page 17 of 41

Re: Scripting Bugs

Posted: 19 May 2012 18:41
by zer0
admin wrote:No? it is fixed in my version.
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.

Re: Scripting Bugs

Posted: 20 May 2012 08:29
by admin
Cannot reproduce any bug. :?

Re: Scripting Bugs

Posted: 21 May 2012 15:44
by zer0
admin wrote:Cannot reproduce any bug. :?
Too bad, I get it. Anyone else happens to incur this problem?

Re: Scripting Bugs

Posted: 26 May 2012 19:33
by zer0
zer0 wrote:
admin wrote:Cannot reproduce any bug. :?
Too bad, I get it. Anyone else happens to incur this problem?
Nobody? :( I can reproduce it with a fresh no-install 11.20 download...

Re: Scripting Bugs

Posted: 31 May 2012 12:38
by zer0
zer0 wrote:
zer0 wrote:
admin wrote:Cannot reproduce any bug. :?
Too bad, I get it. Anyone else happens to incur this problem?
Nobody? :( I can reproduce it with a fresh no-install 11.20 download...
Am I banging my head against a wall here? :?

Re: Scripting Bugs

Posted: 31 May 2012 13:06
by eil
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
fs_2012-05-31_14'29'09.png
fs_2012-05-31_14'29'09.png (449 Bytes) Viewed 4693 times
- 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

Re: Scripting Bugs

Posted: 31 May 2012 13:46
by admin
Got it, fix comes.

Re: Scripting Bugs

Posted: 01 Jun 2012 22:11
by zer0
admin wrote:Got it, fix comes.
Bug squashed, thanks!

Re: Scripting Bugs

Posted: 02 Jun 2012 08:57
by admin
zer0 wrote:
admin wrote:Got it, fix comes.
Bug squashed, thanks!
The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...

Re: Scripting Bugs

Posted: 07 Jun 2012 20:53
by zer0
admin wrote:
zer0 wrote:
admin wrote:Got it, fix comes.
Bug squashed, thanks!
The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...
Ok, all well that ends well :)

Re: Scripting Bugs

Posted: 17 Apr 2013 13:51
by TheQwerty
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');

Re: Scripting Bugs

Posted: 18 Apr 2013 10:35
by admin
Interesting, apparently this never worked with popup menus. Fix comes.

Re: Scripting Bugs

Posted: 25 Apr 2013 17:08
by TheQwerty
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

Posted: 25 Apr 2013 19:52
by admin
Confirmed and fixed, thanks!

Re: Scripting Bugs

Posted: 16 Jul 2013 22:02
by TheQwerty
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.

Code: Select all

"Bad"
 $a = <<<#HD
'
#HD;
 /* Test */

"Good"
 $a = <<<#HD
'
#HD;
 $b = <<<#HD
'
#HD;
 /* Test */
(This is just a demonstration - I realize the radical heredoc is not needed here.)