Page 1 of 1

SC Load syntax

Posted: 16 Feb 2013 13:33
by Marco
I have a script item in my Catalog, a quick collection like this

Code: Select all

"Apri pannello di controllo"
 #640;
"Mostra/nascondi barra dei menu"
 #1061;
"Mostra comandi"
 #705;
"Ordine casuale"
 #331;
"Ordine precedente"
 #338;
"Prova script"
 #752;

-

"Aggiorna||1"
 load "SimpleUpdater 10.50.xys";

"Archivia etichette"
 load "Tag Backup";
The second to last item is what bothers me. The SimpleUpdater script is placed in <xyscripts> folder.

Code: Select all

 load "SimpleUpdater 10.50.xys";
with extension works correctly.

Code: Select all

 load "SimpleUpdater 10.50";
without extension doesn't. What I'm doing wrong? Looks like the dot in the name is causing troubles, but why?

Re: SC Load syntax

Posted: 16 Feb 2013 13:46
by admin
Because it's ambiguous. Could be a *.50 file. :)

Re: SC Load syntax

Posted: 16 Feb 2013 15:08
by Marco
Yep, that makes sense!