How to create script which can switch between catalogs?

Discuss and share scripts and script files...
Post Reply
MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

How to create script which can switch between catalogs?

Post 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

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

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

Post by highend »

It's own and syntax is mainly borrowed from php

Just take a look at the script command

Code: Select all

catlaogload
One of my scripts helped you out? Please donate via Paypal

MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

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

Post 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

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

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

Post by highend »

Put the path in single / double quotes?
One of my scripts helped you out? Please donate via Paypal

MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

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

Post by MIRKOSOFT »

Thank you very much!

Now it works, I used single quotes.
Miro

Post Reply