快速登录:  

Forum: VirtualDJ Technical Support

Topic: Edit Field1 (User 1) using script

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Is there a script to edit Field1 in Tag Editor? I have tried various permutations using the browsed_file script with no luck. I have also tried using User 1, which is the Filter Folder name for the same field.

TIA.
 

发表时间 Sat 02 Mar 19 @ 11:45 pm
browsed_song 'field1' edited

will write "edited" in field1 of selected track
 

Will give it a shot. Thank you.
 

Got it to work, so thanks for that.

Ideally trying to accomplish two tag edits at once. The first part of this scripts work, but the Field1 portion does not.

doubleclick ? browsed_file_color "#FFFF6FCF" and browsed_song 'field1' "edited"

Any advice? TIA.
 

doubleclick ? browsed_file_color "#FFFF6FCF" & browsed_song 'field1' "edited" : singleClick
 

Excellent. Can you direct me to a post on Script School that explains the need for the single click action?
 

Not really,... your script starts with the query
doubleclick ?

therefore this could be false and would need a reply for a single click.
 

OK. Got it. Just wondering what the rule was for that.

It worked as a single command without, so was curious if there was some hard logic behind it.
 

Indeed no need for the singleClick part if you don't want anything to happen when only single-clicking.
 

I see the difference between AND and &. Forgot about that.

Now can you use a script to change file type from video to karaoke??? I haven't tried any scripts for it yet, as I am unsure that type is a variable that can be changed since it is not a tag per se.
 



(陈旧帖子或论坛版块会自动关闭)