Page 1 of 1

Rename scripts

Posted: Sat Nov 10, 2012 7:39 pm
by hopalongrock
As I see, there are no rename scripts, functions, at least my rename script doesn't work.
How can I substitute ?

Re: Rename scripts

Posted: Sun Nov 11, 2012 12:06 am
by jtclipper
If you have custom rename scripts you need to change the extension to .sct.
Also the rename functions rn_... are now the equivalent tg_... ones, the 'if renamed' column can be accessed though tg_get/setField( 'Rename') .

If you still have trouble post the script here and I'll modify it.

Re: Rename scripts

Posted: Sun Nov 11, 2012 7:27 am
by hopalongrock
jtclipper wrote:If you have custom rename scripts you need to change the extension to .sct.
Also the rename functions rn_... are now the equivalent tg_... ones, the 'if renamed' column can be accessed though tg_get/setField( 'Rename') .

If you still have trouble post the script here and I'll modify it.
Thanks, the modified script work well.

Re: Rename scripts

Posted: Sun May 05, 2013 8:15 am
by tomcat
Hello and greetings from Holland,

I just downloaded 0.85, installed it, and saw there is no rename screen/button anymore. How can I update/rename the filename?
I usually rename: "04. Why does my heart feel so bad? - Moby", to: "04 Why Does My Heart Feel So Bad? 0425". With version 0.81
this was done in a second, but here I don't know how. And I cannot find it in the help file (or, maybe, I looked at the wrong place).

I hope someone can help me with this.

Thanks.

:D Tomcat

Re: Rename scripts

Posted: Sun May 05, 2013 9:38 am
by tomcat
Hello again,

I found out how it works. It's simple.
But I do have another problem.
If I close and reopen the programme all my new settings are lost.
I save them after making them and they work fine, but if I reopen the programme they're gone.
I use a Mac with VM Ware to run Windows.
My old TGF 0.81 (on the same Mac) does not have this problem.

Does anyone have a remedy?

Thanks

:D Tomcat

Re: Rename scripts

Posted: Tue May 07, 2013 4:32 pm
by jtclipper
This should not happen at least in Win7 and above, what version of windows do you run in the VM.

Try running the program 'as administrator' and see what happens.

Re: Rename scripts

Posted: Tue May 14, 2013 9:43 pm
by tomcat
Hi, thanks for the reply.
I'm a bit late (I was away for a few days).
I run Windows 8, and I'll give running TGF as an administrator a try.
I also do this with 0.81 beta 3, but that is for another reason.

I'll let you know in a few days (have to go away again)

Thanks.

:D Tomcat

Re: Rename scripts

Posted: Tue May 14, 2013 10:03 pm
by tomcat
Hello again,

just tried it; if I open the programme as an administrator, all the settings are saved.
So, I'm gonna use it as an administrator.

Thanks for the tip

:D Tomcat

Re: Rename scripts

Posted: Mon Dec 02, 2013 7:37 pm
by hopalongrock
Hi Dimitris !

I think this script worked already sometime before, now only partly works: sets "skip" flag and result to 'Rip OK', where the comment has 'CD,RIP', but cannot change the file name.
Do the ExtractFileExt(s) and ChangeFileExt(s,'' ) functions work now ?

Likely you said sometime how to use them, I can't find them in help, they are probably some kind of Pascal functions.

Thanks

Re: Rename scripts

Posted: Tue Dec 03, 2013 1:49 am
by jtclipper
Yes those functions should work ok, you can have a look at the #ren_tutorial.sct script to get a basic idea.

Re: Rename scripts

Posted: Tue Dec 03, 2013 8:14 am
by hopalongrock
jtclipper wrote:you can have a look at the #ren_tutorial.sct script to get a basic idea.
Oh, I see, I made my script from that tutorial ... only forget to click Update.

Thanks

Re: Rename scripts

Posted: Tue Dec 03, 2013 5:33 pm
by jtclipper
If you are very sure of the result and want to automate the process you could include

Code: Select all

tg_Update
at the end of the script, it will basically click he Update button for you.

Re: Rename scripts

Posted: Tue Dec 03, 2013 6:21 pm
by hopalongrock
jtclipper wrote:If you are very sure of the result and want to automate the process you could include

Code: Select all

tg_Update
at the end of the script, it will basically click he Update button for you.
No, it's good without update, just forgot about it.