Page 1 of 1

How to create script which can switch between catalogs?

Posted: 25 May 2017 00:26
by MIRKOSOFT
Hi!

I'm newbie in XYplorer scripting.
As first Q is:
What a script language or syntax XYplorer uses?

2nd Q will be specific:
I'm using 4 separate catalogs and I want to create 4 user buttons - each for different catalog - to switch between them...
Like newbie it is for me not possible to solve, but if anyone of you can help and show me how to do it or create script with description for use and learn too, I''ll be thankful.

Thank you all for help.
Miro

Re: How to create script which can switch between catalogs?

Posted: 25 May 2017 00:35
by highend
It's own and syntax is mainly borrowed from php

Just take a look at the script command

Code: Select all

catlaogload

Re: How to create script which can switch between catalogs?

Posted: 25 May 2017 02:02
by MIRKOSOFT
Thank you.

I tried. But I'm confused...

I added one line script - simple command bby description:

catalogload C:\Users\...\XYplorer\Catalogs\QuickLaunch.dat;

and checked start at mouse click.
It reports problem:

In window XYplorer - Scripts, is highlighted command by cyan color and in log area is Overflow 0\0 with red exclamation mark and highlighted by yellow color. Don't understand - I know assembler programming and I mean this is not oveflow known from assembler...

Can you explain me where I do mistake?
Miro

Re: How to create script which can switch between catalogs?

Posted: 25 May 2017 07:38
by highend
Put the path in single / double quotes?

Re: How to create script which can switch between catalogs?

Posted: 25 May 2017 10:07
by MIRKOSOFT
Thank you very much!

Now it works, I used single quotes.
Miro