Page 1 of 1

Creating a script

Posted: March 1st, 2009, 6:38 am
by Coeluh
Hi there,

I want to create a script what does the following: Move a folder and rename the folder based on imdb information. Is there any tutorial on creating scripts?

Re: Creating a script

Posted: March 1st, 2009, 3:00 pm
by BrandonG777
No but there are several existing scripts that include the features you want. You could take one of them and modify it to your needs.

Re: Creating a script

Posted: March 1st, 2009, 5:00 pm
by Coeluh
What language are these scripts written in?

Re: Creating a script

Posted: March 2nd, 2009, 4:05 pm
by qwerty967
Coeluh wrote: What language are these scripts written in?
Anything your computer supports. On Windows, batch files, Windows Script Host, or PowerShell commandlets are available. On Mac, AppleScript, Bash scripts, Python scripts, Ruby scripts, PHP scripts, Perl scripts are available.

Re: Creating a script

Posted: March 2nd, 2009, 4:07 pm
by qwerty967
Coeluh wrote: Is there any tutorial on creating scripts?
http://sabnzbd.wikidot.com/user-scripts

Re: Creating a script

Posted: March 2nd, 2009, 4:09 pm
by qwerty967
Maybe this thread should be stickied...

Re: Creating a script

Posted: March 3rd, 2009, 10:30 am
by Coeluh
E.g. This script:

http://forums.sabnzbd.org/index.php?topic=897.0

What language is that?

Re: Creating a script

Posted: March 3rd, 2009, 11:21 am
by markus101
That's a Windows Batch file - Similar to a shell script in Linux.

-Markus