Yes, it's a variant of a simple "Run Script - ::try" command, but it is not a "Run Script - ::try" command.j_c_hallgren wrote:Hey, I'm not trying to argue just to be disagreable, but because the initial issue was where to put a built-in variant of a simple "Run Script - ::try" command, and if you have to do this command when done manually from "User" menu, then you would have to do the built-in one from the same place for that same reason that "you cannot just take stuff out of there and put it somewhere else", ok?
Enter Script...
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
But it's still close enough, so based on initial description also, I still say it shouldn't be isolated into Tools, but could reside in a Scripting menu.admin wrote:Yes, it's a variant of a simple "Run Script - ::try" command, but it is not a "Run Script - ::try" command.
And just so y'all know, some of what y'all have written to convince me that I'm wrong actually supports my position instead, so that's why I've been unmoved thus far...but I'm almost ready to concede...not because I think my ideas are incorrect, but just cause it'd take too long (typing) to point out the inconsistencies in the arguements against it.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Same here!j_c_hallgren wrote:But it's still close enough, so based on initial description also, I still say it shouldn't be isolated into Tools, but could reside in a Scripting menu.admin wrote:Yes, it's a variant of a simple "Run Script - ::try" command, but it is not a "Run Script - ::try" command.
And just so y'all know, some of what y'all have written to convince me that I'm wrong actually supports my position instead, so that's why I've been unmoved thus far...but I'm almost ready to concede...not because I think my ideas are incorrect, but just cause it'd take too long (typing) to point out the inconsistencies in the arguements against it.
Anyway, I already added the Scripting menu. And it's nice. All what I need now is a better term for "Enable Extended Scripting" (see my post somewhere above).
FAQ | XY News RSS | XY X
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Sure is, we've done it before and probably will again in the future. Just know that when this happens, I'm always rightj_c_hallgren wrote:jacky, you and I may disagree on some parts of this but that's ok...![]()
Uh? Is someone forgetting about CKS: Miscellaneous / Scripting / Step Through Scripts (#1050;) ??admin wrote:Another advantage: one could have a keyboard shortcut for toggling Step mode (for which now you have to invest a UDC).
Okay, I think this is where you're wrong, jc. You seem to think that the "Run Script" & "Load Script File" are script "commands" that have been conveniently put in the User menu, because if was fitting nicely, but that didn't actually belong there, and should there be a menu Scripting they should be moved in such menu.j_c_hallgren wrote:and if added, as you may have seen, I'd certainly expect "Run Script" and "Load Script" to be within that menu and not User...
That is simply not the case. The menu User is the place for UDC, and a UDC is a way for the user to create commands with user-defined "settings" or parameters. For Backup To it will be a destination, maybe a source too, for Rename a pattern, Go To a location, and for Run Script a script & Load Script File a file (path/)name (and maybe a label).
Those two (Run Sript/Load Script File) are nothing but pure standard UDC, and belong there regardless how what happens to Scripting.
Just like the Rename isn't put in the File|Rename Special menu, but under User. Because while it way be linked to the rename feature, it's not part of it, but of UDC: it's a way for users to create their own UDC, based on the Rename command.
Same goes for Run Script/LSF, they're not Scripting commands, but UDC interface to the scripting commands. Hence why they belong in User no matter what, and why Scripting-specific commands do not.
"Allow Scripting in Location Terms (using :: prefix)" ?admin wrote:Now, "Enable Extended Scripting" is a stupid label. Hmmm, any better ideas anybody?
Proud XYplorer Fanatic
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes, not bad. "Enter script" sounded to mainway-like to me anyway...jacky wrote:Damn, I was too slow (or you were too fast) and I see you already did it, but I'd suggest a rename of "Enter Script..." to "Try Script...", seems more appropriate & has consistency with ::try
Yep, I forgot for a second. In the next version #1050 will be removed.jacky wrote:Uh? Is someone forgetting about CKS: Miscellaneous / Scripting / Step Through Scripts (#1050;) ??
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Don't like it.jacky wrote:"Allow Scripting in Location Terms (using :: prefix)" ?
FAQ | XY News RSS | XY X
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Well, I doadmin wrote:Don't like it.jacky wrote:"Allow Scripting in Location Terms (using :: prefix)" ?
BTW I thought Catalog items only showed the Script icon when using "Go To" action, since that's the only time there can actually be a script. Either I was wrong, or it's not the case anymore. Either way I think it should only show the Script icon when there actually is a script...
PS: Script icon (on Catalog still) also still show the VF overlay when pipe is used (for a VF or not) and "Enable Extended Scripting" wasn't enabled at first (it's not "cleared").
hmm.. yeah ok it's even more messy actually. You can have a Catalog itemw with script (& action Go To) not show the Script icon if it's set on another action with "Extended Script" disable. Enable it, the Script icon is (rightly) not show. Then change its Action to Go To, the icon isn't updated with the Script icon (need to disable/enable the "Extended Script" to get that done)
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I like that. I'll take it. Thanks.TheQwerty wrote:Scripting via address bar (and similar) should be referred to as "Quick Scripting" to continue the convention already used by name searches and visual filters.
Thus the menu item should be called "Enable Quick Scripting".
EDIT1: well... until something better comes up. The "quick" does not make so much sense once the script is saved in the catalog or in a favorite... (neither does "quick" make a lot of sense in quick names searches). Hmmm
EDIT2: Forget EDIT1. I like it.
Last edited by admin on 28 Feb 2008 14:19, edited 1 time in total.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Ah yes, Ah yes, Ah yes. Should be fixed in next version.jacky wrote:Well, I doadmin wrote:Don't like it.jacky wrote:"Allow Scripting in Location Terms (using :: prefix)" ?And I sure think it's better than "Enable Extended Scripting" which don't really mean anything unless you already knew what it meant...
BTW I thought Catalog items only showed the Script icon when using "Go To" action, since that's the only time there can actually be a script. Either I was wrong, or it's not the case anymore. Either way I think it should only show the Script icon when there actually is a script...
PS: Script icon (on Catalog still) also still show the VF overlay when pipe is used (for a VF or not) and "Enable Extended Scripting" wasn't enabled at first (it's not "cleared").
hmm.. yeah ok it's even more messy actually. You can have a Catalog itemw with script (& action Go To) not show the Script icon if it's set on another action with "Extended Script" disable. Enable it, the Script icon is (rightly) not show. Then change its Action to Go To, the icon isn't updated with the Script icon (need to disable/enable the "Extended Script" to get that done)
"Allow Scripting in Location Terms (using :: prefix)" ... is quite long, and I think "in Location Terms" is somehow wrong (?).
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
For what it's worth, I do agree with EDIT1.admin wrote:I like that. I'll take it. Thanks.TheQwerty wrote:Scripting via address bar (and similar) should be referred to as "Quick Scripting" to continue the convention already used by name searches and visual filters.
Thus the menu item should be called "Enable Quick Scripting".
EDIT1: well... until something better comes up. The "quick" does not make so much sense once the script is saved in the catalog or in a favorite... (neither does "quick" make a lot of sense in quick names searches). Hmmm
EDIT2: Forget EDIT1. I like it.
By itself the command doesn't make sense, but I think it's important to keep it consistent with those "Quick" features, and once the user is familiar with what we mean by "Quick ..." they'll have no problem. That goes back to what jacky said about the name being descriptive, once they know what "Enable Awesomely Cool Scripting Abilities" means it's no longer an issue, but until then or if they forget, what then?
Perhaps it's worth considering renaming all three features to something more descriptive at this point? I keep thinking their names should include "location" (since they are being executed when parsing a location value) but I'm afraid that might get users thinking it's location specific when it doesn't have to be.
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I'm for "Quick" because being descriptive is not the point. With menu captions you always have to learn and remember what they actually mean. The caption should just help you remember the meaning. "Quick" does the job.TheQwerty wrote:For what it's worth, I do agree with EDIT1.admin wrote:I like that. I'll take it. Thanks.TheQwerty wrote:Scripting via address bar (and similar) should be referred to as "Quick Scripting" to continue the convention already used by name searches and visual filters.
Thus the menu item should be called "Enable Quick Scripting".
EDIT1: well... until something better comes up. The "quick" does not make so much sense once the script is saved in the catalog or in a favorite... (neither does "quick" make a lot of sense in quick names searches). Hmmm
EDIT2: Forget EDIT1. I like it.
By itself the command doesn't make sense, but I think it's important to keep it consistent with those "Quick" features, and once the user is familiar with what we mean by "Quick ..." they'll have no problem. That goes back to what jacky said about the name being descriptive, once they know what "Enable Awesomely Cool Scripting Abilities" means it's no longer an issue, but until then or if they forget, what then?
Perhaps it's worth considering renaming all three features to something more descriptive at this point? I keep thinking their names should include "location" (since they are being executed when parsing a location value) but I'm afraid that might get users thinking it's location specific when it doesn't have to be.
FAQ | XY News RSS | XY X
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
hmm... yeah, and looking at it I may have meant something more like "Allow Scripting in Go To locations", because that's the key element here : the Go To part, since it's supported everywhere a goto pattern is accepted (Catalog, Go To, AB, etc) (and you can ditch the prefix mention, that was only to make it all obvious without anything else needed...)admin wrote:"Allow Scripting in Location Terms (using :: prefix)" ... is quite long, and I think "in Location Terms" is somehow wrong (?).
Quick note on the so-called "Quick" features : funny thing, I had never heard of that term before !
So I'm not sure putting a similarity for those two things is so good, because they're really not the same...
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66296
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Quick refers to the entering procedure, not to the execution.jacky wrote:hmm... yeah, and looking at it I may have meant something more like "Allow Scripting in Go To locations", because that's the key element here : the Go To part, since it's supported everywhere a goto pattern is accepted (Catalog, Go To, AB, etc)admin wrote:"Allow Scripting in Location Terms (using :: prefix)" ... is quite long, and I think "in Location Terms" is somehow wrong (?).
Quick note on the so-called "Quick" features : funny thing, I had never heard of that term before !And I agree with EDIT1, no need for a "Quick" in front of the term Name Search. And for VF, describing using GoTo with pipe as a way to quickly set a VF, sure, but why call it "Quick VF", it's the real deal, a full VF with all of its features -- unlike a Name Search, which is limited to Name filter & doesn't affect the FF settings.
So I'm not sure putting a similarity for those two things is so good, because they're really not the same...
Not the same but similar: In CSS there are techniques of squeezing several commands into on line; they call it "shorthand". "Quick" makes the same point but better, because you use a shorthand method to be quicker. You enter a script directly into the address bar to be quicker. That XY can store location terms in various ways (favs, catalog) is only a secondary effect.
FAQ | XY News RSS | XY X
XYplorer Beta Club