Creating a Script

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
Alf Neuman
Posts: 6
Joined: 2009-02-02 01:07:12

Creating a Script

Post by Alf Neuman »

This may be a repeat question but a search I ran on create script returned zero replies.
Is there a tutorial somewhere that would show a tyro how to create or modify a script? I've dl'd the mod to track cd's using All Music. but i'd like to add other sites (Freedb, cddb/gracenote).

Cette mai être une nouvelle question, mais j'ai couru une recherche sur la création de script retourné zéro réponses.
Existe-t-il quelque part un tutoriel qui montrent une TYRO comment créer ou modifier un script? J'ai le mod dl'd pour suivre l'utilisation de tous les cd de musique. mais je voudrais ajouter d'autres sites (Freedb, CDDB / Gracenote). [traduction par google]


Dies kann eine Wiederholung, sondern eine Suche Ich lief auf Null zurück-Skript erstellen Antworten.
Gibt es irgendwo eine Anleitung, die ein Anfänger, wie Sie erstellen oder ändern, ein Skript? Ich habe die mod dl'd, um CD's mit allen Musik. aber ich möchte hinzufügen, andere Websites (Freedb, CDDB / Gracenote).
[übersetzt von Google]
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

As far as I know there is no tutorial, the usual reply is suggesting to see how current scripts work :D
Knitter
Posts: 9
Joined: 2007-05-19 16:53:00
Location: Leiria, Portugal
Contact:

Post by Knitter »

Though a valid suggestion it is one that doesn't help much :)

I found no information about either the scripting capabilities of the current used engine version, nor any documentation on the engine itself.

Until some months ago, the engine was as almost a ghost, with little to no reference on the official page. Currently I have more information, and I see that there is a new version of the script engine, but that's about it.

Even the help page is a bit hard to read, e.g. it would be nice to have the list of procedures and functions ordered alphabetically.

I came here today after looking for info on what the hell is "StringUtils1", what does it provide?

I don't have much problem with hacking the scripts in order to learn more about them, but it sure is a slower process than one would desire and I think it drives away many potential script creators.

I'm currently trying to update/recreate the script for AnimeNFO, and hope to have it done in a few hours, I'll document the script creation and most likely transform it into a tutorial, but I would like to know if there is a more complete reference I could use.
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

The language is something close to Pascal/Delphi.
There isn't much documentation because it is very annoying to do documentation, and it takes time.
I already do not have much time for the program.

StringUtils1.pas is a script file containing few functions that the other scripts can call.
Knitter
Posts: 9
Joined: 2007-05-19 16:53:00
Location: Leiria, Portugal
Contact:

Post by Knitter »

I suffer from the same "lack of time problem" so I understand that you can't provide documentation, I thing you already do enough support, at least from what I can see in the forum.

But, both a developer and a user, I can understand the frustration a future script creator faces when trying to learn , maybe we can find users that can create tutorials, or that can help in creation documentation for the program.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

As I wrote on another topic, I plan some kind of scripting tutorial and a wiki for later this year. It will explain how to write a basic script from the scratch using an example website and should be useful for Ant Movie Catalog and Sisimizi Game Catalog scripts. Unfortunately I cannot say when I will find time for it, probably it will last until late summer..
azuvk
Posts: 6
Joined: 2009-07-20 10:36:19

Post by azuvk »

bad4u wrote:As I wrote on another topic, I plan some kind of scripting tutorial and a wiki for later this year. It will explain how to write a basic script from the scratch using an example website and should be useful for Ant Movie Catalog and Sisimizi Game Catalog scripts. Unfortunately I cannot say when I will find time for it, probably it will last until late summer..
It will be fantastic!! I want to do some scripts for books and games, and it will be very helpful.... :)
Post Reply