will scripting work on different configs?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:PS: a nice thing about the p-argument variant is that you can put a variable in the place of the "p":

::setting blah, 1, $perm

Somebody will find a real use for this... :wink:
Might accomplish the same thing as a ::SettingsMode command but it's still ugly. :wink:

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:
admin wrote:PS: a nice thing about the p-argument variant is that you can put a variable in the place of the "p":

::setting blah, 1, $perm

Somebody will find a real use for this... :wink:
Might accomplish the same thing as a ::SettingsMode command but it's still ugly. :wink:
...and useless. :wink:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:
TheQwerty wrote:
admin wrote:PS: a nice thing about the p-argument variant is that you can put a variable in the place of the "p":

::setting blah, 1, $perm

Somebody will find a real use for this... :wink:
Might accomplish the same thing as a ::SettingsMode command but it's still ugly. :wink:
...and useless. :wink:
... just like everything you've done since giving us the ability to change settings. :wink:

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

admin wrote:
PeterH wrote: Another thing: is there yet a peace of documentation for scripting? Especially a problem ist names of operands for commands, their defaults, etc? I see that's there much change in that area, but just a little table would help a lot.
Of course, the Pan Galactic Gargle Blasting XYwiki is your best friend:
http://88.191.26.34/XYwiki/index.php/Category:Scripting

Thanks to jacky, the fearless wiki master! :D
Sorry to say: I had a look at the wiki and didn't find that info! Is the only chance to click 'All Pages', Then 'Script...', or am I really blind?

But talking about the wiki: big big thanks to jacky for that peace of work!

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

PeterH wrote:Sorry to say: I had a look at the wiki and didn't find that info! Is the only chance to click 'All Pages', Then 'Script...', or am I really blind?
Yes, it's pretty much the only way for now. I'm aware of that, just like that there still are a bunch of commands missing as well... But don't worry, I'm working on it ;)

PS: Really glad you guys like it! :)
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

PeterH wrote:Another thing: is there yet a peace of documentation for scripting? Thanks to jacky, the fearless wiki master! :D
PeterH wrote: Sorry to say: I had a look at the wiki and didn't find that info! Is the only chance to click 'All Pages', Then 'Script...', or am I really blind?
But talking about the wiki: big big thanks to jacky for that peace of work!
Peter, just so you know we can make peace that it's a nice piece of work! Jacky's done a great job thus far! :D

I've also been doing some tweaking of those pages to fix a couple of typos, add some examples (taken from beta notes), etc. to try and help out the cause...anyone is free to do same...that's advantage of a wiki!
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.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

j_c_hallgren wrote:Peter, just so you know we can make peace that it's a nice piece of work! Jacky's done a great job thus far! :D
That's unbelievable! Thought I was getting blind, but just am getting old? (And a bit of gaga, or how should I call it...)
OK, next time, for my peace of mind, I'll talk about piece of work :oops: :lol:

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

So I kinda missed those two it seems, but there are other options that may need to be added on the list :

- Show Navigation Panel
- Show Catalog

Especially since a script can focus them (Tree or Catalog), but if they're not visible then focus stays where it is without error or nothing...
Proud XYplorer Fanatic

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

jacky wrote:So I kinda missed those two it seems, but there are other options that may need to be added on the list :

- Show Navigation Panel
- Show Catalog

Especially since a script can focus them (Tree or Catalog), but if they're not visible then focus stays where it is without error or nothing...
Since then you added "ShowNav", but:

- There's still no way to show Catalog
- There's no way to show Address bar either

I'm not really sure how this could be used/required, but those are two controls that can be focused, but if not visible it won't work.
I don't know how it could be used, because unlike Tree there's no way to make a "selection" there, but at least this can be done :
::focus Catalog; backupto "D:\Backup";

So maybe there should be a way to select an item or a category on Catalog, to actually make this usable (or a way to specify a Catalog category as source on the commands' paramaters) ?

(As for the Address Bar, I'm not sure it matters...)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:
jacky wrote:So I kinda missed those two it seems, but there are other options that may need to be added on the list :

- Show Navigation Panel
- Show Catalog

Especially since a script can focus them (Tree or Catalog), but if they're not visible then focus stays where it is without error or nothing...
Since then you added "ShowNav", but:

- There's still no way to show Catalog
- There's no way to show Address bar either
...
I decided to add these only when there is a use for them in scripting.

Post Reply