快速登录:  

Forum: VirtualDJ Technical Support

话题: Edit Field1 (User 1) using script

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

BLG_VDJControlleristMember since 2018
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
NicotuxHome userMember since 2014
browsed_song 'field1' edited

will write "edited" in field1 of selected track
 

发表时间 Sun 03 Mar 19 @ 1:12 am
Will give it a shot. Thank you.
 

发表时间 Sat 09 Mar 19 @ 4:26 am
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.
 

发表时间 Sat 09 Mar 19 @ 4:33 am
locoDogPRO InfinityModeratorMember since 2013
doubleclick ? browsed_file_color "#FFFF6FCF" & browsed_song 'field1' "edited" : singleClick
 

发表时间 Sat 09 Mar 19 @ 4:43 am
Excellent. Can you direct me to a post on Script School that explains the need for the single click action?
 

发表时间 Sat 09 Mar 19 @ 7:25 am
locoDogPRO InfinityModeratorMember since 2013
Not really,... your script starts with the query
doubleclick ?

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

发表时间 Sat 09 Mar 19 @ 7:43 am
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.
 

发表时间 Sat 09 Mar 19 @ 8:15 am
AdionPRO InfinityCTOMember since 2006
Indeed no need for the singleClick part if you don't want anything to happen when only single-clicking.
 

发表时间 Sat 09 Mar 19 @ 8:18 am
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.
 

发表时间 Sat 09 Mar 19 @ 8:27 am


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