Fixed & uploaded.jacky wrote:Well, despite the case issue, one thing is broken though : registered applications.
We used to be able to specify a registered application by quoting it, eg. by putting "winrar" or "notepad" (quotes included) no need to specify a path. Well, this doesn't work anymore, as ::open """notepad""" gets this:
Couldn't find application:
D:\Program Files\XYplorer\notepad
PS: Works fine for openwith but not with open, although it's required with open as well to send parameters to the app!
Scripting Bugs
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
FAQ | XY News RSS | XY X
Yay! All good! For a moment there, I was afraid I'd have to make a wish to get that back.admin wrote:Whoops, not on purpose! Fix is coming...TheQwerty wrote:Nothing.. as I said in the edit, you just made it case sensitive. (Boo!)admin wrote:For example?TheQwerty wrote:It's all broke.
With 6.80.0075 XY's not recognizing most commands.
Now to put this hiding script feature to the test and hopefully clean up my scripts a little.
Yeah, you're on a roll lately!admin wrote:Fixed & uploaded.
New little things : On CKS, the options to copy(-append) command IDs still use the old syntax (::#XXX::#XXX)
BTW, I kinda wish UDC would have the same features, so a label/btn "Command #XXX" instead of a textbox, with same ctxt menu...
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Good, I never like the textbox anyway. But what, where, how? You mean a button "Options..." that pops a menu with which commands?jacky wrote:BTW, I kinda wish UDC would have the same features, so a label/btn "Command #XXX" instead of a textbox, with same ctxt menu...
FAQ | XY News RSS | XY X
Well, my first idea was a button with caption "Command #XXX" so that we can see the command ID if that's all we want to do; but then clicking it would popup the menu with options copy & copy(-append) command ID.admin wrote:Good, I never like the textbox anyway. But what, where, how? You mean a button "Options..." that pops a menu with which commands?
Or you could use a simple label that one must right-click to popup that menu, and add the same menu also on CKS for consistency sake, but the button idea makes it "obvious" for people that there's more to it...
Proud XYplorer Fanatic
<pita>Looks good. Though I could say, it might be a good idea to have the exact same button on both CKS & UDC, only for consistency sake...</pita>
Question, but i think it's a bug : why can't i do this: ::sel """*.txt""" to select&focus the first item to be a text file ? Somehow it refuses to work, though ::sel """*.txt*""" will work (but not really the same...).
Question, but i think it's a bug : why can't i do this: ::sel """*.txt""" to select&focus the first item to be a text file ? Somehow it refuses to work, though ::sel """*.txt*""" will work (but not really the same...).
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Oh, yes a bug. Fixed. Merci bien!jacky wrote:<pita>Looks good. Though I could say, it might be a good idea to have the exact same button on both CKS & UDC, only for consistency sake...</pita>
Question, but i think it's a bug : why can't i do this: ::sel """*.txt""" to select&focus the first item to be a text file ? Somehow it refuses to work, though ::sel """*.txt*""" will work (but not really the same...).
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
BTW: ::sel """*.txt""" looks ugly with all those quotes. The argument is a bit overloaded for my taste. And quoting as a marker is not so good.admin wrote:Oh, yes a bug. Fixed. Merci bien!jacky wrote:<pita>Looks good. Though I could say, it might be a good idea to have the exact same button on both CKS & UDC, only for consistency sake...</pita>
Question, but i think it's a bug : why can't i do this: ::sel """*.txt""" to select&focus the first item to be a text file ? Somehow it refuses to work, though ::sel """*.txt*""" will work (but not really the same...).
What about this instead:
::sel [*.txt]
FAQ | XY News RSS | XY X
Well, once you're used to it those 3 quotes don't really bother me...admin wrote:BTW: ::sel """*.txt""" looks ugly with all those quotes. The argument is a bit overloaded for my taste. And quoting as a marker is not so good.
What about this instead:
::sel [*.txt]
Anyhow, wouldn't that look a bit weird to?
::sel "[[bdc]*]"
Yeah, no, it might be better, you're right.
Proud XYplorer Fanatic
Question:
If you cancel on the input (_foo) the rest of the calling script is still executed, is that the best ? Shouldn't the entire "running" script be aborted, i.e. all calling scripts as well ?
Especially since it may be that, or some error after a goto (location ot found)...
Not to mention it's weird to press "Ok" on a "The script is terminated now" or "The Script ends here" message, only to see it continuing...
Code: Select all
"_foo"
input foo, foo?;
"_bar"
msg foobar;
"Foobar"
sub _foo;
sub _bar;Especially since it may be that, or some error after a goto (location ot found)...
Not to mention it's weird to press "Ok" on a "The script is terminated now" or "The Script ends here" message, only to see it continuing...
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Hmm, good point. Currently it's totally self-contained. Scripts can call up other scripts, but no script knows of its callers nor callees. "The Script ends here" should read "The script stack now pops down one level".jacky wrote:Question:If you cancel on the input (_foo) the rest of the calling script is still executed, is that the best ? Shouldn't the entire "running" script be aborted, i.e. all calling scripts as well ?Code: Select all
"_foo" input foo, foo?; "_bar" msg foobar; "Foobar" sub _foo; sub _bar;
Especially since it may be that, or some error after a goto (location ot found)...
Not to mention it's weird to press "Ok" on a "The script is terminated now" or "The Script ends here" message, only to see it continuing...
I guess you are right: the whole stack should die.
FAQ | XY News RSS | XY X
Tabs are getting messed up
Well, I found a way to get things (Tabs) pretty messed up it seems !
It invoves cycling through tabs with delay, and Finding Tabs. Cycling though tabs, at first with delay so List doesn't get updated, and without delay for the last one so List gets updated; and then moving back to the start point. And it seems important that at least one tab in the mix is a Finding Tab.
Doing that somehow gets tabs in the middle to get their location confused, and that even when when they were (home) locked. Finding Tab may show locations, Browsing tab may show search results, or just other locations even though they're not their locked location (or in their home zone when home locked)...
So yeah, it's quite of a mess.
It invoves cycling through tabs with delay, and Finding Tabs. Cycling though tabs, at first with delay so List doesn't get updated, and without delay for the last one so List gets updated; and then moving back to the start point. And it seems important that at least one tab in the mix is a Finding Tab.
Doing that somehow gets tabs in the middle to get their location confused, and that even when when they were (home) locked. Finding Tab may show locations, Browsing tab may show search results, or just other locations even though they're not their locked location (or in their home zone when home locked)...
So yeah, it's quite of a mess.
Code: Select all
// Miscellaneous / Focus Functions / Cycle Tabs Forward, Delay Browsing
#1038;
// Miscellaneous / Focus Functions / Cycle Tabs Forward
#1018;
// Miscellaneous / Focus Functions / Cycle Tabs Backward, Delay Browsing
#1039;
// Miscellaneous / Focus Functions / Cycle Tabs Backward
#1019;Proud XYplorer Fanatic
-
msalvatori
- Posts: 33
- Joined: 25 Aug 2007 18:39
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
No. You have to quote any argument that contains commas or semicolons (since they are separators in scripting). So you should do Rename re, "^a{1 2} ... $"msalvatori wrote:SubSubject: Inconsistent Regular Expression Intervals syntax
Using v6.80.0078, interval expressions are parsed with spaces instead of commas. For example: Rename re, ^a{1 2} ... $. Whereas, in Find Files/Name & Location, you must use this form of expression: a{1,2}.*.
FAQ | XY News RSS | XY X
XYplorer Beta Club