Understanding of certain scripting syntax

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
hermhart
Posts: 248
Joined: 13 Jan 2015 18:41

Understanding of certain scripting syntax

Post by hermhart »

Hello, I'm wondering if someone could help me to understand what some certain scripting syntax is. I've been trying to find it in the help and I must not be looking in the right place.

I see in some scripts some syntax like 3:="n" or 5:="c" or 7:="*.jpg|*.png".

Can someone explain or lead me in the right direction of what these mean? Some examples of them in the scripting reference are:
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="c"; //show config
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 7:="*.jpg|*.png";
text inputselect("Test", "a|b|c|d", 3:=512+16);
Windows 11 Pro; 100% scaling

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Understanding of certain scripting syntax

Post by jupe »

It is explained in the help file under "Scripting | General Command Syntax | Numbered Arguments", here is a link to the same text on the forum, it should answer your question

viewtopic.php?f=3&t=17565#p150144

you can paste the following into the XY address bar for more information if you are interested:

Code: Select all

::help "idh_scripting.htm#idh_scripting_syntax";

hermhart
Posts: 248
Joined: 13 Jan 2015 18:41

Re: Understanding of certain scripting syntax

Post by hermhart »

jupe, thank you so much. I knew I was looking in the wrong place.

:appl:
Windows 11 Pro; 100% scaling

Post Reply