tag-scripts - tool tip ...
Posted: Tue Mar 20, 2012 6:26 pm
Would it possible to display the actual script name in the tool tip too, not only "Apply a script to grid" ? For example displaying the script name under the standard text:
"Apply a script to grid
#tutorial.sct"
(It is faster than to watch the bullet before the script name in the script down arrow menu.)
---
I wrote a little Tag script named Update Changes.sct, for the the fields I use:
program UpdateChanges;
var
s: string;
upd: boolean;
begin
if not tg_Init then exit;
repeat
tg_LoadFile;
upd:=false;
s:=tg_GetField('Track');
if s<>gtag.Track then begin
gtag.Track:=s;
upd:=true;
end;
s:=tg_GetField('Artist');
if s<>gtag.Artist then begin
gtag.Artist:=s;
upd:=true;
end;
// processing further fields ...
if upd then begin
gTag.SaveToFile( 0, false, '', false);
tg_setresult('Upd');
end;
until not tg_Skip;
end.
It works well for me, when I make changes in the grid, and I don't want to update each modified file one by one, or update all files.
Is this correct, or is something missing or is a more general or built-in solution ?
"Apply a script to grid
#tutorial.sct"
(It is faster than to watch the bullet before the script name in the script down arrow menu.)
---
I wrote a little Tag script named Update Changes.sct, for the the fields I use:
program UpdateChanges;
var
s: string;
upd: boolean;
begin
if not tg_Init then exit;
repeat
tg_LoadFile;
upd:=false;
s:=tg_GetField('Track');
if s<>gtag.Track then begin
gtag.Track:=s;
upd:=true;
end;
s:=tg_GetField('Artist');
if s<>gtag.Artist then begin
gtag.Artist:=s;
upd:=true;
end;
// processing further fields ...
if upd then begin
gTag.SaveToFile( 0, false, '', false);
tg_setresult('Upd');
end;
until not tg_Skip;
end.
It works well for me, when I make changes in the grid, and I don't want to update each modified file one by one, or update all files.
Is this correct, or is something missing or is a more general or built-in solution ?