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
How to create script which can switch between catalogs?
-
MIRKOSOFT
- Posts: 70
- Joined: 21 Mar 2017 22:44
-
highend
- Posts: 14948
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How to create script which can switch between catalogs?
It's own and syntax is mainly borrowed from php
Just take a look at the script command
Just take a look at the script command
Code: Select all
catlaogloadOne 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?
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
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: 14948
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How to create script which can switch between catalogs?
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?
Thank you very much!
Now it works, I used single quotes.
Miro
Now it works, I used single quotes.
Miro
XYplorer Beta Club